@ranger-testing/ranger-cli 2.5.4 → 3.0.1-alpha.46ed70b-30
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/deleteProfile.js +1 -0
- 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/novaActCli.js +1 -0
- 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/rangerwrightCli.js +1 -0
- 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/commands/verifyFeatureNovaCli.js +1 -0
- package/build/commands/verifyFeatureRangerwrightCli.js +1 -0
- 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 +9 -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
|
-
function _0xd593(){const _0x4f2119=['clcHG','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','QMMPg','fDagX','vwNHk','gKleQ','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','ranger\x20config\x20list','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','FaXoV','Skip\x20browser\x20authentication','Run\x20full\x20interactive\x20setup','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.','\x0aIssues:','feature\x20create','TEsOD','feature\x20list','update','Feature\x20review\x20ID','UFYxr','add-scenario','Switch\x20to\x20using\x20a\x20specific\x20profile','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','ZrIqu','scope','vkavv','--item','FrWBB','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','failed','bkUUO','IhHoh','start','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ranger\x20feature\x20get-feedback','setup:profiles','\x20PARTIAL','Name\x20of\x20the\x20environment\x20to\x20update','name','fQhwY','bBwDe','JwRPH','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','ranger\x20env\x20update','MhCtG','Scenario\x20index\x20(1-based)','ranger\x20start','MSdur','argv','CPbvX','You\x20must\x20specify\x20an\x20auth\x20subcommand','opencode','env','with-deps','NcFKf','--checklist','usage','lDaZt','Scenario\x20description','PTBre','option','WAUMz','setup:login','pheCf','ZbHdt','Gcjnm','evaluation','clean','kREmE','iegYC','mZxAn','ranger\x20config\x20unset','number','HCAJo','Install\x20skills\x20for\x20OpenCode','root','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','LmEeo','Ranger\x20API\x20token\x20(rngr_...)','json','Manage\x20profile\x20configuration','anTDI','ozRZp','4UOeuYa','help','kbiDZ','log','Set\x20a\x20config\x20value','scriptName','aPgLE','ranger\x20verify-feature','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','fxnvo','status','Skip\x20authentication','offset','zHypo','Print\x20the\x20current\x20CLI\x20access\x20token','setup-header','eDkhq','ranger\x20create','error','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','get-review','command','gRmMg','ijEyl','use','ranger','AYzWN','hook:disable','vfval','Name\x20of\x20the\x20profile','Install\x20scope\x20for\x20skills','ranger\x20go','description','feature\x20delete','blocked','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','Install\x20OS-level\x20dependencies\x20for\x20Chromium','iPvCw','feature\x20show','nZQrx','user','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','gQvvg','ogNvo','WTxOg','RUBOZ','env-name','trackCommandError','New\x20scenario\x20description','enable','EbfPE','ranger\x20delete','exitCode','Reason:\x20','MPhsW','ERxLQ','KQtUU','--profile','profile\x20use','HtsEr','9017142wyWUpr','Alias\x20for\x20--mcp-bootstrap','message','fZtyG','mkDwg','profile\x20config\x20get','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','SojAq','ranger\x20show','NdoWc','svzkk','create\x20<name>','verified','JoeQl','XdVxI','CFzJG','value','JnABA','akgWs','Unknown\x20command','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','delete\x20[id]','besMk','sYuas','\x20BLOCKED','restore\x20<id>','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','RzRpf','aFCcL','3896961XbLidu','rmFjc','owTYm','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','skip-chromium','issues','jDUwP','GChrm','organizationName','EEZFd','wWRcv','xRsme','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','fZVCF','feature\x20get-feedback','vYdnO','4137798KtmeFk','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','--task','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','.env','FRCiA','ranger\x20profile\x20use','You\x20must\x20specify\x20a\x20command','Name\x20of\x20the\x20environment','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','RVQIG','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','vvsEp','✓\x20Authenticated\x20to\x20','fZIFi','profile-name','array','Gcjly','Feature\x20review\x20description','Documentation:\x0a','--env','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','yrrES','exit','setup-ci','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','nlpLJ','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','sNTFI','uCrjm','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','kkAVb','ranger\x20setup','You\x20must\x20specify\x20a\x20config\x20subcommand','login','Feature\x20review\x20ID\x20to\x20restore','disable','iMgOM','ranger\x20add\x20env','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','force','notes','demandCommand','VCwVY','IoImt','IooEx','add\x20env','YBClR','ZzpQw','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','hPiAh','KuyDa','kgXPP','setup:all','show','vNPih','start-path','Profile\x20name','Rhxaj','lqsBm','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','skillup','xWeLV','list','FctjU','limit','2511682KTkEbz','dYxdF','2980648wZqDkZ','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','print-access-token','kqiUG','allow-insecure-localhost','lXrdI','\x20\x20https://docs.ranger.net\x0a','KhFdg','\x20VERIFIED','KQNJb','vhGNg','Authenticate\x20via\x20MCP\x20proxy','ranger\x20profile\x20ls','tOsWq','mcp-bootstrap','mDIBG','key','model','config','--notes','sBISv','Environment\x20name','KwHuv','skip-auth','env\x20update','TRYqE','sdirf','token','joDvG','all','iGpyE','show\x20[id]','current-branch','25790SLTXyU','wyjYy','debug-address-comments','dKoLB','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','MdUHm','include-deleted','ranger\x20profile\x20config\x20set','checklist','Unknown\x20error','url','--scenario','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','add\x20env\x20<env-name>','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','KQAdT','profiles','LvdLJ','PxYDl','Summary:\x20','UARrO','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','resume\x20[id]','fOoTQ','Install\x20Chromium\x20browser\x20binary','vAiUa','boolean','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','string','scenario','feature\x20add-checklist-item','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','YaRiq','Ranger\x20API\x20token','2500625VzKshd','report','KGICX','get-feedback\x20[id]','cTqTm','List\x20all\x20feature\x20reviews','mcp','get-review\x20[id]','beHWw','gCerQ','HEqOx','ranger\x20restore','woGwl','1TwCARG','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Config\x20key','zXsnZ','bWEPU','setup\x20[tokenOrSubcommand]','slice','RoNDu','jkagH','positional','profile\x20config\x20set','QiBWO','JnwDj','cwd','start\x20[token]','Include\x20soft-deleted\x20feature\x20reviews','feature','ghaxy','epilogue','akdMi','headed','LRMgb','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','RrQdk','Feature\x20review\x20name','gcOZc','ranger\x20feature\x20create','ranger\x20resume','ranger\x20feature\x20restore','session-id','Number\x20of\x20feature\x20reviews\x20to\x20skip','YwtLZ','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','parse','ranger\x20profile\x20config\x20unset','Config\x20value','rEEuD','uUIMQ','ranger\x20feature\x20list','2961tfBGAE','setup:deps','ranger\x20profile\x20add','oSenh','project','You\x20must\x20specify\x20an\x20env\x20subcommand','profile','zBjFe','config\x20set','TemEb','incomplete','qVLuM','kpely','euJSH','PChyD','FvYYY','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'];_0xd593=function(){return _0x4f2119;};return _0xd593();}const _0x5772e9=_0x2210;(function(_0x36cecc,_0x3ab4ed){const _0x51504d=_0x2210,_0x173020=_0x36cecc();while(!![]){try{const _0x4065bd=-parseInt(_0x51504d(0x124))/0x1*(parseInt(_0x51504d(0x25c))/0x2)+-parseInt(_0x51504d(0x20a))/0x3*(-parseInt(_0x51504d(0x1b0))/0x4)+parseInt(_0x51504d(0x2a1))/0x5+-parseInt(_0x51504d(0x1ec))/0x6+parseInt(_0x51504d(0x21a))/0x7+parseInt(_0x51504d(0x25e))/0x8+-parseInt(_0x51504d(0x14b))/0x9*(-parseInt(_0x51504d(0x27f))/0xa);if(_0x4065bd===_0x3ab4ed)break;else _0x173020['push'](_0x173020['shift']());}catch(_0x46eb68){_0x173020['push'](_0x173020['shift']());}}}(_0xd593,0xd0278));import _0xde9a79 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x495707=_0x2210,_0x3f93e5={'qoUaG':function(_0x546f85,_0x5cb417){return _0x546f85(_0x5cb417);},'DfRNS':function(_0x52509f,_0x4941ba){return _0x52509f!==_0x4941ba;},'owTYm':function(_0x4a8680,_0xe2363d,_0x21c679){return _0x4a8680(_0xe2363d,_0x21c679);},'MAuGv':'.ranger','IaYin':function(_0x33ba9b,_0x355a99,_0x51192c){return _0x33ba9b(_0x355a99,_0x51192c);}};let _0x9d2436=process['cwd']();const _0x182ad1=_0x3f93e5['qoUaG'](parse,_0x9d2436)[_0x495707(0x1a8)];while(_0x3f93e5['DfRNS'](_0x9d2436,_0x182ad1)){if(existsSync(_0x3f93e5[_0x495707(0x20c)](join,_0x9d2436,_0x3f93e5['MAuGv']))||_0x3f93e5['qoUaG'](existsSync,_0x3f93e5['IaYin'](join,_0x9d2436,_0x495707(0x21e))))return _0x9d2436;_0x9d2436=dirname(_0x9d2436);}return process[_0x495707(0x131)]();}_0xde9a79['config']({'path':join(findProjectRoot(),_0x5772e9(0x21e))});import _0x4dbaef from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';function _0x2210(_0x53375c,_0x43acaf){_0x53375c=_0x53375c-0x11b;const _0xd5938a=_0xd593();let _0x221045=_0xd5938a[_0x53375c];return _0x221045;}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']('unhandledRejection',async _0x5d4b93=>{const _0x3f0db7=_0x5772e9,_0xcb4ede={'INmyK':function(_0x3bdc6a){return _0x3bdc6a();}},_0x2b5989=_0xcb4ede['INmyK'](getCurrentCollector);_0x2b5989&&await _0x2b5989[_0x3f0db7(0x1df)](_0x5d4b93),process[_0x3f0db7(0x1e4)]=0x1;});const rawArgs=process['argv'][_0x5772e9(0x12a)](0x2),TOP_LEVEL_HELP=_0x5772e9(0x168),PROFILE_HELP=_0x5772e9(0x223),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20header.X-Test-Mode)\x0a\x20\x20setupHeader.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeader.x-bypass-turnstile)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20setupHeader.x-bypass-turnstile\x20\x27a1b2c3d4...\x27';function warnRenamed(_0x4766ae,_0x531c60){const _0x55b897=_0x5772e9;console[_0x55b897(0x1c2)]('\x0a'+_0x4766ae+'\x20is\x20now\x20'+_0x531c60+'\x0a');}function argUsed(_0x59a328){return rawArgs['some'](_0x4292b2=>_0x4292b2===_0x59a328||_0x4292b2['startsWith'](_0x59a328+'='));}function warnFlagRenamed(_0x364cd8,_0x24cc0a,_0x1a08ad){argUsed(_0x24cc0a)&&warnRenamed(_0x364cd8+'\x20'+_0x24cc0a,_0x364cd8+'\x20'+_0x1a08ad);}async function runGoCommand(_0x17bf86,_0x2b5c4b=![]){const _0x5c3f31=_0x5772e9,_0x181ac7={'lqsBm':function(_0x288a46,_0xe37391,_0x59ed27){return _0x288a46(_0xe37391,_0x59ed27);},'fQhwY':'ranger\x20go','KQtUU':_0x5c3f31(0x22e),'kREmE':_0x5c3f31(0x271),'lMGCo':_0x5c3f31(0x176),'Cxqoc':_0x5c3f31(0x252),'PrswZ':_0x5c3f31(0x281),'CKiTV':function(_0x3a758d,_0xfbd703){return _0x3a758d+_0xfbd703;},'nWJUx':function(_0x20c6cc,_0x428a62){return _0x20c6cc===_0x428a62;},'gbRxh':_0x5c3f31(0x155),'QlFym':function(_0x4e596f,_0x4164b1){return _0x4e596f===_0x4164b1;},'KeTOw':function(_0x15ce4b,_0x5c743b){return _0x15ce4b===_0x5c743b;},'wWRcv':_0x5c3f31(0x1f9)};_0x2b5c4b&&_0x181ac7[_0x5c3f31(0x255)](warnRenamed,_0x5c3f31(0x1b7),'ranger\x20go');warnFlagRenamed(_0x181ac7[_0x5c3f31(0x184)],_0x181ac7[_0x5c3f31(0x1e8)],_0x5c3f31(0x1e9)),warnFlagRenamed(_0x181ac7['fQhwY'],_0x5c3f31(0x21c),_0x181ac7[_0x5c3f31(0x1a1)]),warnFlagRenamed(_0x5c3f31(0x1cf),_0x181ac7['lMGCo'],'--scenario');const _0x385d48=await loadRangerConfig(),_0x6274e3=isByokEnabled(),_0x2f6a93=_0x17bf86['model'],_0x1bf2c6=_0x385d48['model'],_0x9fb045=await verifyFeature({'featureId':_0x17bf86['feature'],'profile':_0x17bf86['profile']??_0x17bf86[_0x5c3f31(0x191)],'notes':_0x17bf86[_0x5c3f31(0x243)]??_0x17bf86['task'],'scenario':_0x17bf86['scenario']??_0x17bf86['item'],'startPath':_0x17bf86[_0x181ac7['Cxqoc']],'debugOutcome':_0x17bf86['debug-outcome'],'debugAddressComments':_0x17bf86[_0x181ac7['PrswZ']],'headed':_0x17bf86[_0x5c3f31(0x138)],'byokEnabled':_0x6274e3,'flagVerifyModel':_0x2f6a93,'configVerifyModel':_0x1bf2c6});console['log'](_0x181ac7['CKiTV']('\x0a','='['repeat'](0x3c))),console['log'](_0x9fb045['evaluation']===_0x5c3f31(0x1f9)?_0x5c3f31(0x266):_0x181ac7['nWJUx'](_0x9fb045[_0x5c3f31(0x19f)],_0x181ac7['gbRxh'])?'\x20INCOMPLETE':_0x181ac7['QlFym'](_0x9fb045['evaluation'],'partial')?_0x5c3f31(0x181):_0x181ac7['KeTOw'](_0x9fb045['evaluation'],'blocked')?_0x5c3f31(0x205):'\x20FAILED'),console[_0x5c3f31(0x1b3)]('='['repeat'](0x3c)),console[_0x5c3f31(0x1b3)](_0x5c3f31(0x292)+_0x9fb045['summary']),console[_0x5c3f31(0x1b3)]('Evaluation:\x20'+_0x9fb045['evaluation']),console[_0x5c3f31(0x1b3)](_0x5c3f31(0x1e5)+_0x9fb045['evaluationReason']),_0x9fb045[_0x5c3f31(0x20f)]?.['length']&&(console[_0x5c3f31(0x1b3)](_0x5c3f31(0x169)),_0x9fb045[_0x5c3f31(0x20f)]['forEach']((_0x44748c,_0x160c50)=>{const _0x416f4e=_0x5c3f31;console[_0x416f4e(0x1b3)]('\x0a'+(_0x160c50+0x1)+'.\x20['+_0x44748c['severity']+']\x20'+_0x44748c[_0x416f4e(0x1d0)]);})),process[_0x5c3f31(0x231)](_0x9fb045[_0x5c3f31(0x19f)]===_0x181ac7[_0x5c3f31(0x214)]?0x0:0x1);}_0x4dbaef(process[_0x5772e9(0x18d)][_0x5772e9(0x12a)](0x2))[_0x5772e9(0x1b5)]('ranger')['usage'](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x5772e9(0x1f8),'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0xfc967e=>{const _0x514b54=_0x5772e9,_0x17e24c={'ycUbS':_0x514b54(0x13c),'PkqFp':'description','nDxGC':_0x514b54(0x29b),'vwNHk':_0x514b54(0x22c),'sNTFI':_0x514b54(0x29c),'FctjU':_0x514b54(0x125),'IooEx':_0x514b54(0x287)};return _0xfc967e['positional']('name',{'type':_0x514b54(0x29b),'description':_0x17e24c['ycUbS'],'demandOption':!![]})['option'](_0x17e24c['PkqFp'],{'type':_0x17e24c['nDxGC'],'alias':'d','description':_0x17e24c[_0x514b54(0x160)]})['option'](_0x17e24c[_0x514b54(0x236)],{'type':'array','alias':'c','description':_0x17e24c[_0x514b54(0x25a)]})[_0x514b54(0x199)](_0x17e24c[_0x514b54(0x247)],{'type':_0x514b54(0x22a),'hidden':!![]});},async _0x4ad4be=>{const _0x44e758=_0x5772e9,_0x111803={'jkagH':function(_0x248b25,_0x3a9c2b,_0x6c27da,_0x1ea99a){return _0x248b25(_0x3a9c2b,_0x6c27da,_0x1ea99a);},'izCPL':_0x44e758(0x194),'ZaoQL':function(_0xf0000f,_0x2df795,_0x247dd9){return _0xf0000f(_0x2df795,_0x247dd9);}};_0x111803[_0x44e758(0x12c)](warnFlagRenamed,'ranger\x20create',_0x111803['izCPL'],_0x44e758(0x28a));const _0x5aaa69=_0x4ad4be['scenario']||_0x4ad4be['checklist'];await _0x111803['ZaoQL'](withTelemetry,'create',()=>featureCreate(_0x4ad4be['name'],{'description':_0x4ad4be[_0x44e758(0x1d0)],'scenarios':_0x5aaa69}));})['command']('list',_0x5772e9(0x11c),_0x3acdc6=>{const _0x4c52a8=_0x5772e9,_0x147a9d={'bHxbu':'current-branch','KGICX':_0x4c52a8(0x233),'WTxOg':'number','CPbvX':_0x4c52a8(0x1d9),'xWeLV':_0x4c52a8(0x142),'vAiUa':'include-deleted','mRZKl':'boolean'};return _0x3acdc6['option'](_0x147a9d['bHxbu'],{'type':'boolean','description':_0x147a9d[_0x4c52a8(0x2a3)]})['option']('limit',{'type':_0x147a9d[_0x4c52a8(0x1dc)],'alias':'l','description':_0x147a9d[_0x4c52a8(0x18e)],'default':0xa})['option']('offset',{'type':_0x147a9d[_0x4c52a8(0x1dc)],'alias':'o','description':_0x147a9d[_0x4c52a8(0x258)],'default':0x0})['option'](_0x147a9d[_0x4c52a8(0x298)],{'type':_0x147a9d['mRZKl'],'alias':'d','description':_0x4c52a8(0x133),'default':![]});},async _0x28524e=>{const _0x176d32=_0x5772e9;await withTelemetry('list',()=>featureList({'currentBranch':_0x28524e[_0x176d32(0x27e)],'limit':_0x28524e[_0x176d32(0x25b)],'offset':_0x28524e['offset'],'includeDeleted':_0x28524e[_0x176d32(0x285)]}));})['command']('show\x20[id]','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x1e7255=>{const _0x39880d=_0x5772e9;return _0x1e7255[_0x39880d(0x12d)]('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x29d0e3=>{const _0x2fd2c8=_0x5772e9,_0x116255={'hoPBp':_0x2fd2c8(0x250)};await withTelemetry(_0x116255['hoPBp'],()=>featureShow(_0x29d0e3['id']));})['command'](_0x5772e9(0x295),'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x27c910=>{const _0xac745a=_0x5772e9;return _0x27c910[_0xac745a(0x12d)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x599cc4=>{const _0x20033e=_0x5772e9,_0x43d5a3={'MdUHm':function(_0x487112,_0x330d1f,_0x346d03){return _0x487112(_0x330d1f,_0x346d03);},'iMtVk':'resume'};await _0x43d5a3[_0x20033e(0x284)](withTelemetry,_0x43d5a3['iMtVk'],()=>featureResume(_0x599cc4['id']));})[_0x5772e9(0x1c5)]('add-scenario\x20<description>','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x342816=>{const _0x42fedb=_0x5772e9,_0x5e50fe={'akdMi':_0x42fedb(0x1d0),'gCerQ':'Scenario\x20description','SNumS':'string'};return _0x342816['positional'](_0x5e50fe[_0x42fedb(0x137)],{'type':_0x42fedb(0x29b),'description':_0x5e50fe[_0x42fedb(0x120)],'demandOption':!![]})[_0x42fedb(0x199)]('id',{'type':_0x5e50fe['SNumS'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4b0d8c=>{const _0x97c2cf=_0x5772e9,_0x4c005b={'rMEnw':function(_0x1fdbbc,_0x35c6f2,_0x40606d){return _0x1fdbbc(_0x35c6f2,_0x40606d);},'bkUUO':_0x97c2cf(0x170)};await _0x4c005b['rMEnw'](withTelemetry,_0x4c005b[_0x97c2cf(0x17b)],()=>featureAddScenario(_0x4b0d8c[_0x97c2cf(0x1d0)],_0x4b0d8c['id']));})['command']('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x75eb0f=>{const _0x4e790b=_0x5772e9,_0x3b2ba5={'voGxo':'string','dKoLB':_0x4e790b(0x1e0),'yrrES':'scenario','cTqTm':'Scenario\x20number\x20to\x20edit\x20(1-based)','SRNCs':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x75eb0f['positional'](_0x4e790b(0x1d0),{'type':_0x3b2ba5['voGxo'],'description':_0x3b2ba5[_0x4e790b(0x282)],'demandOption':!![]})[_0x4e790b(0x199)](_0x3b2ba5[_0x4e790b(0x230)],{'type':'number','description':_0x3b2ba5[_0x4e790b(0x11b)],'demandOption':!![]})['option']('id',{'type':'string','description':_0x3b2ba5['SRNCs']});},async _0xcc6683=>{const _0x341c9b=_0x5772e9;await withTelemetry('edit-scenario',()=>featureEditScenario(_0xcc6683[_0x341c9b(0x1d0)],{'id':_0xcc6683['id'],'scenario':_0xcc6683['scenario']}));})['command']('report\x20[id]','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x5257e5=>{const _0x5512d8=_0x5772e9,_0x340a6b={'BPgAn':_0x5512d8(0x29b),'xlnsS':'exclude-scenario','dCkgU':_0x5512d8(0x22a),'Gcjly':_0x5512d8(0x299)};return _0x5257e5[_0x5512d8(0x12d)]('id',{'type':_0x340a6b['BPgAn'],'description':'Feature\x20review\x20ID'})['option'](_0x340a6b['xlnsS'],{'type':_0x340a6b['dCkgU'],'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})['option'](_0x5512d8(0x1ac),{'type':_0x340a6b[_0x5512d8(0x22b)],'description':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','default':![]});},async _0x543820=>{const _0x3abb92=_0x5772e9,_0x78711={'aPgLE':function(_0x46c82d,_0x4e2df2,_0x26e76d){return _0x46c82d(_0x4e2df2,_0x26e76d);}},_0x526a1a=_0x543820['exclude-scenario'],_0xf5e814=_0x526a1a?_0x526a1a['map'](_0x4201ed=>Number(_0x4201ed)):undefined;await _0x78711[_0x3abb92(0x1b6)](withTelemetry,_0x3abb92(0x2a2),()=>featureReportPrDescription(_0x543820['id'],{'excludeScenarios':_0xf5e814,'json':_0x543820['json']}));})['command'](_0x5772e9(0x11e),'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x40643c=>{const _0x29dcac=_0x5772e9,_0x35bfe8={'fZIFi':_0x29dcac(0x29b),'lyLyo':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x40643c[_0x29dcac(0x12d)]('id',{'type':_0x35bfe8[_0x29dcac(0x228)],'description':_0x35bfe8['lyLyo']});},async _0x446041=>{const _0x5963ae=_0x5772e9,_0x5a1bf1={'CQzoz':function(_0x5d407a,_0x2c1932,_0x46042a){return _0x5d407a(_0x2c1932,_0x46042a);}};await _0x5a1bf1['CQzoz'](withTelemetry,_0x5963ae(0x1c4),()=>featureGetReview(_0x446041['id']));})['command']('delete\x20[id]',_0x5772e9(0x164),_0x4235b8=>{return _0x4235b8['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x546c69=>{const _0x3bd692=_0x5772e9,_0x2e2c77={'EbfPE':'delete'};await withTelemetry(_0x2e2c77[_0x3bd692(0x1e2)],()=>featureDelete(_0x546c69['id']));})[_0x5772e9(0x1c5)]('restore\x20<id>','Restore\x20a\x20soft-deleted\x20feature\x20review',_0x1ca994=>{const _0x3fb319=_0x5772e9,_0x54430a={'JQiTC':_0x3fb319(0x23d)};return _0x1ca994[_0x3fb319(0x12d)]('id',{'type':_0x3fb319(0x29b),'description':_0x54430a['JQiTC'],'demandOption':!![]});},async _0x117334=>{const _0x5dc1d3={'TjjiI':'restore'};await withTelemetry(_0x5dc1d3['TjjiI'],()=>featureRestore(_0x117334['id']));})['command'](_0x5772e9(0x129),'Initialize\x20Ranger\x20in\x20your\x20project',_0x152533=>{const _0x4a5283=_0x5772e9,_0x3b8e2a={'UFeOS':_0x4a5283(0x2a0),'YBClR':'skip-chromium','JnABA':_0x4a5283(0x299),'RUBOZ':'with-deps','beHWw':_0x4a5283(0x174),'TsPVK':'string','RoNDu':_0x4a5283(0x242),'MhCtG':_0x4a5283(0x190),'BjbhH':'allow-insecure-localhost','TemEb':_0x4a5283(0x28b),'ZFIuD':'mcp','clcHG':_0x4a5283(0x26c),'iQvLF':_0x4a5283(0x1f3),'zXsnZ':function(_0x1edc52,_0x50be7e,_0x25fa55){return _0x1edc52(_0x50be7e,_0x25fa55);},'OvVyB':_0x4a5283(0x14c),'viPph':_0x4a5283(0x1ab),'HCAJo':_0x4a5283(0x269),'pLedI':function(_0x3802b7,_0x3a84bf){return _0x3802b7(_0x3a84bf);},'uUIMQ':function(_0x3c1dba,_0x4cafe3){return _0x3c1dba(_0x4cafe3);},'tOsWq':'user','SHyrY':_0x4a5283(0x14f),'PHGdn':'Install\x20scope\x20for\x20plugin\x20and\x20skills','vNPih':function(_0x16d8cd){return _0x16d8cd();},'gQvvg':'setup:skills','WAUMz':'Where\x20to\x20store\x20the\x20profile','QlvRP':_0x4a5283(0x166),'RrQdk':function(_0x103326,_0x5b7089,_0x4e4ca2){return _0x103326(_0x5b7089,_0x4e4ca2);},'vkEGL':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','IUcdD':_0x4a5283(0x167),'jCuXH':'deps','xRsme':_0x4a5283(0x23c),'FaXoV':'Authenticate\x20with\x20Ranger','vQpjq':_0x4a5283(0x28f),'BUQIx':'Set\x20up\x20a\x20local\x20browser\x20profile','rDrnn':_0x4a5283(0x289),'TOwiO':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','oJqgf':_0x4a5283(0x17e),'KQNJb':'skip-auth','vkavv':_0x4a5283(0x294)};return _0x152533[_0x4a5283(0x195)](_0x4a5283(0x201))[_0x4a5283(0x12d)]('tokenOrSubcommand',{'type':'string','description':_0x3b8e2a['vkEGL']})['command'](_0x4a5283(0x27b),_0x3b8e2a['IUcdD'],_0x31ad11=>{const _0x4d4f07=_0x4a5283;return _0x31ad11[_0x4d4f07(0x199)]('token',{'type':'string','description':_0x3b8e2a['UFeOS']})['option'](_0x3b8e2a['YBClR'],{'type':'boolean','description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x4d4f07(0x275),{'type':_0x3b8e2a[_0x4d4f07(0x1fe)],'description':_0x4d4f07(0x1bb),'default':![]})['option'](_0x3b8e2a[_0x4d4f07(0x1dd)],{'type':_0x4d4f07(0x299),'description':_0x4d4f07(0x1d4),'default':![]})['option'](_0x3b8e2a['beHWw'],{'type':_0x3b8e2a['TsPVK'],'choices':[_0x4d4f07(0x1d8),_0x4d4f07(0x14f)],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})['option']('url',{'type':_0x4d4f07(0x29b),'description':_0x4d4f07(0x178)})[_0x4d4f07(0x199)](_0x3b8e2a[_0x4d4f07(0x12b)],{'type':_0x4d4f07(0x299),'description':_0x4d4f07(0x17e),'default':![]})['option'](_0x3b8e2a[_0x4d4f07(0x189)],{'type':'boolean','description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x4d4f07(0x199)](_0x3b8e2a['BjbhH'],{'type':'boolean','description':_0x4d4f07(0x225),'default':![]})[_0x4d4f07(0x199)](_0x4d4f07(0x26c),{'type':_0x3b8e2a['JnABA'],'description':_0x3b8e2a[_0x4d4f07(0x154)],'default':![]})[_0x4d4f07(0x199)](_0x3b8e2a['ZFIuD'],{'type':'boolean','description':_0x4d4f07(0x1ed),'default':![]});},async _0x183b49=>{const _0x3e1f13=_0x4a5283;(_0x183b49['mcp-bootstrap']||_0x183b49['mcp'])&&await withTelemetry(_0x3b8e2a['clcHG'],()=>mcpBootstrap()),await withTelemetry(_0x3e1f13(0x24f),_0x5a68ab=>start(_0x183b49[_0x3e1f13(0x279)],{'skipChromium':_0x183b49['skip-chromium'],'skipAuth':_0x183b49['skip-auth'],'withDeps':_0x183b49['with-deps'],'scope':_0x183b49[_0x3e1f13(0x174)],'url':_0x183b49['url'],'force':_0x183b49[_0x3e1f13(0x242)],'opencode':_0x183b49['opencode'],'allowInsecureLocalhost':_0x183b49[_0x3e1f13(0x262)]},_0x5a68ab));})['command'](_0x3b8e2a['jCuXH'],_0x4a5283(0x297),_0x8d0e99=>{const _0x4c115a=_0x4a5283;return _0x8d0e99['option']('with-deps',{'type':_0x4c115a(0x299),'description':_0x3b8e2a['iQvLF'],'default':![]});},async _0x53373d=>{const _0x4cdc43=_0x4a5283;await _0x3b8e2a[_0x4cdc43(0x127)](withTelemetry,_0x3b8e2a['OvVyB'],()=>ensureChromium(_0x53373d[_0x4cdc43(0x192)]));})['command'](_0x3b8e2a[_0x4a5283(0x215)],_0x3b8e2a[_0x4a5283(0x165)],_0x560061=>{const _0x53fafa=_0x4a5283;return _0x560061[_0x53fafa(0x199)]('token',{'type':_0x3b8e2a['TsPVK'],'description':_0x3b8e2a['viPph']})['option'](_0x53fafa(0x11d),{'type':_0x53fafa(0x299),'description':_0x3b8e2a[_0x53fafa(0x1a6)],'default':![]});},async _0x1fe19e=>{const _0x3bb584=_0x4a5283;await withTelemetry(_0x3bb584(0x19b),async()=>{const _0x5d880c=_0x3bb584;if(_0x1fe19e['mcp']){await mcpBootstrap();const _0x4e0278=await refreshCliToken();if(!_0x4e0278)throw new Error(_0x5d880c(0x20d));const _0x261764=await _0x3b8e2a['pLedI'](getCurrentUser,_0x4e0278);if(!_0x261764['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x261764[_0x5d880c(0x1c2)]);console[_0x5d880c(0x1b3)](_0x5d880c(0x227)+_0x261764['user'][_0x5d880c(0x212)]);return;}await _0x3b8e2a[_0x5d880c(0x149)](authenticate,_0x1fe19e['token']);});})['command']('skills','Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x2d6520=>{const _0x42ca26=_0x4a5283;return _0x2d6520[_0x42ca26(0x199)]('scope',{'type':_0x42ca26(0x29b),'choices':[_0x3b8e2a[_0x42ca26(0x26b)],_0x3b8e2a['SHyrY']],'description':_0x3b8e2a['PHGdn']})['option'](_0x3b8e2a[_0x42ca26(0x189)],{'type':_0x3b8e2a[_0x42ca26(0x1fe)],'description':_0x42ca26(0x28d),'default':![]});},async _0x10c79e=>{const _0x1af78e=_0x4a5283,_0x9b6f55={'neHNO':_0x1af78e(0x1c9),'HHKGf':function(_0x413905){const _0x5dd987=_0x1af78e;return _0x3b8e2a[_0x5dd987(0x251)](_0x413905);}};await withTelemetry(_0x3b8e2a[_0x1af78e(0x1da)],async()=>{const _0x39b97c=_0x1af78e,_0xcb31d0=_0x10c79e['scope'];if(_0x10c79e[_0x39b97c(0x190)]){const _0x117bd3=await ensureOpencodePluginConfig(_0xcb31d0);_0x117bd3&&await installSkill(_0x9b6f55['neHNO'],{'level':_0x117bd3[_0x39b97c(0x174)],'cliVersion':_0x9b6f55['HHKGf'](getCurrentVersion),'platform':'opencode'});}else await ensureClaudePlugin(_0xcb31d0),await ensureClaudeSkills(_0xcb31d0);});})['command'](_0x3b8e2a['vQpjq'],_0x3b8e2a['BUQIx'],_0x3d7a71=>{const _0x353802=_0x4a5283;return _0x3d7a71['option']('scope',{'type':'string','choices':[_0x353802(0x1d8),_0x3b8e2a['SHyrY']],'description':_0x3b8e2a[_0x353802(0x19a)]})['option']('url',{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app'})[_0x353802(0x199)]('skip-auth',{'type':_0x3b8e2a[_0x353802(0x1fe)],'description':_0x3b8e2a['QlvRP'],'default':![]})['option'](_0x353802(0x242),{'type':_0x3b8e2a[_0x353802(0x1fe)],'description':_0x353802(0x17e),'default':![]})['option'](_0x3b8e2a['BjbhH'],{'type':_0x353802(0x299),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x565d77=>{const _0x5bf863=_0x4a5283;await _0x3b8e2a[_0x5bf863(0x13b)](withTelemetry,_0x5bf863(0x180),_0x1e172c=>ensureLocalEnv({'url':_0x565d77[_0x5bf863(0x289)],'force':_0x565d77['force'],'allowInsecureLocalhost':_0x565d77['allow-insecure-localhost'],'scope':_0x565d77[_0x5bf863(0x174)]===_0x5bf863(0x1d8)?_0x5bf863(0x1d8):undefined},_0x1e172c));})['option'](_0x3b8e2a[_0x4a5283(0x249)],{'type':_0x3b8e2a['JnABA'],'description':_0x4a5283(0x238),'default':![]})[_0x4a5283(0x199)](_0x3b8e2a[_0x4a5283(0x11f)],{'type':'string','choices':[_0x4a5283(0x1d8),'project'],'description':_0x4a5283(0x1f2)})[_0x4a5283(0x199)](_0x3b8e2a['rDrnn'],{'type':_0x4a5283(0x29b),'description':_0x3b8e2a['TOwiO']})[_0x4a5283(0x199)](_0x3b8e2a[_0x4a5283(0x12b)],{'type':'boolean','description':_0x3b8e2a['oJqgf'],'default':![]})['option'](_0x4a5283(0x190),{'type':_0x3b8e2a[_0x4a5283(0x1fe)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x4a5283(0x199)](_0x3b8e2a['BjbhH'],{'type':_0x4a5283(0x299),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x4a5283(0x199)](_0x3b8e2a[_0x4a5283(0x15c)],{'type':_0x3b8e2a[_0x4a5283(0x1fe)],'description':_0x4a5283(0x1d3),'default':![]})[_0x4a5283(0x199)](_0x3b8e2a[_0x4a5283(0x267)],{'type':_0x3b8e2a[_0x4a5283(0x1fe)],'description':_0x3b8e2a[_0x4a5283(0x175)],'default':![]})[_0x4a5283(0x199)](_0x4a5283(0x192),{'type':_0x3b8e2a[_0x4a5283(0x1fe)],'description':_0x3b8e2a['iQvLF'],'default':![]})[_0x4a5283(0x199)]('token',{'type':_0x3b8e2a['TsPVK'],'hidden':!![],'description':'API\x20token'});},async _0x39a084=>{const _0x554e24=_0x5772e9,_0x2999a3={'PZslB':_0x554e24(0x26c),'mMXpi':function(_0x5b36cd,_0x577273,_0x4617de){return _0x5b36cd(_0x577273,_0x4617de);}},_0x3da769=_0x39a084['tokenOrSubcommand'],_0x3e5f17=_0x39a084['token']??_0x3da769;_0x39a084[_0x2999a3['PZslB']]&&await withTelemetry(_0x2999a3['PZslB'],()=>mcpBootstrap()),await _0x2999a3['mMXpi'](withTelemetry,_0x554e24(0x17d),_0x468980=>start(_0x3e5f17,{'skipChromium':_0x39a084['skip-chromium'],'skipAuth':_0x39a084['skip-auth'],'withDeps':_0x39a084[_0x554e24(0x192)],'scope':_0x39a084['scope'],'url':_0x39a084[_0x554e24(0x289)],'force':_0x39a084[_0x554e24(0x242)],'opencode':_0x39a084['opencode'],'allowInsecureLocalhost':_0x39a084['allow-insecure-localhost']},_0x468980));})[_0x5772e9(0x1c5)]('setup-ci\x20<token>',_0x5772e9(0x207),_0x7ca88a=>{const _0xcb670c=_0x5772e9,_0x7a6439={'qoeSE':_0xcb670c(0x279),'ozRZp':_0xcb670c(0x29b),'joDvG':_0xcb670c(0x2a0),'hPiAh':_0xcb670c(0x151),'Qwfco':_0xcb670c(0x172),'KQAdT':_0xcb670c(0x15b),'iMgOM':_0xcb670c(0x20e)};return _0x7ca88a[_0xcb670c(0x12d)](_0x7a6439['qoeSE'],{'type':_0x7a6439[_0xcb670c(0x1af)],'description':_0x7a6439[_0xcb670c(0x27a)],'demandOption':!![]})['option'](_0x7a6439[_0xcb670c(0x24c)],{'type':_0x7a6439[_0xcb670c(0x1af)],'description':_0x7a6439['Qwfco']})[_0xcb670c(0x199)]('base-url',{'type':_0x7a6439[_0xcb670c(0x1af)],'description':_0x7a6439[_0xcb670c(0x28e)]})['option'](_0x7a6439[_0xcb670c(0x23f)],{'type':_0xcb670c(0x299),'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x199cd2=>{const _0x4038ee=_0x5772e9,_0x1d3589={'lDaZt':function(_0x3ae2a3,_0x19bf93,_0x5d0386){return _0x3ae2a3(_0x19bf93,_0x5d0386);}};await _0x1d3589[_0x4038ee(0x196)](withTelemetry,_0x4038ee(0x232),_0x4f890c=>setupCi(_0x199cd2[_0x4038ee(0x279)],{'profile':_0x199cd2['profile'],'baseUrl':_0x199cd2['base-url'],'skipChromium':_0x199cd2[_0x4038ee(0x20e)]},_0x4f890c));})[_0x5772e9(0x1c5)](_0x5772e9(0x23c),_0x5772e9(0x162),()=>{},async()=>{const _0x26d686={'rvtzo':function(_0x459e83,_0x57c965,_0x1ea7d0){return _0x459e83(_0x57c965,_0x1ea7d0);},'Jmqmm':'login'};await _0x26d686['rvtzo'](withTelemetry,_0x26d686['Jmqmm'],()=>login());})[_0x5772e9(0x1c5)]('skillup','Install\x20Ranger\x20skills',_0x6079eb=>{const _0x561f88=_0x5772e9,_0x30f2de={'essox':'opencode','ZbHdt':_0x561f88(0x1a7),'wKXeq':'string','YFmmC':_0x561f88(0x1ce)};return _0x6079eb['option'](_0x30f2de['essox'],{'type':'boolean','description':_0x30f2de[_0x561f88(0x19d)],'default':![]})['option'](_0x561f88(0x174),{'type':_0x30f2de['wKXeq'],'choices':['user',_0x561f88(0x14f)],'description':_0x30f2de['YFmmC']});},async _0x148438=>{const _0x226b97=_0x5772e9,_0x112ed5={'fxnvo':_0x226b97(0x257)},_0xe17915=Boolean(_0x148438[_0x226b97(0x190)]);await withTelemetry(_0x112ed5[_0x226b97(0x1b9)],()=>skillup({'autoInstall':_0x148438['scope'],'platform':_0xe17915?'opencode':'claude'}));})['command']('clean',_0x5772e9(0x187),()=>{},async()=>{const _0x1dd19=_0x5772e9,_0x3687ef={'kgXPP':_0x1dd19(0x1a0)};await withTelemetry(_0x3687ef[_0x1dd19(0x24e)],()=>clean());})[_0x5772e9(0x1c5)]('profile','Manage\x20profiles',_0x399d11=>{const _0x3ceac4=_0x5772e9,_0x59330a={'QMTqc':_0x3ceac4(0x144),'tehaN':_0x3ceac4(0x289),'jDUwP':_0x3ceac4(0x29b),'jfhux':_0x3ceac4(0x21b),'EYKnO':'cdp-endpoint','PChyD':_0x3ceac4(0x299),'mZxAn':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','IhHoh':_0x3ceac4(0x174),'dYxdF':_0x3ceac4(0x1d8),'QMMPg':_0x3ceac4(0x1c3),'CFzJG':function(_0xae9572,_0x1f960d,_0x2f9d19,_0x259d8c){return _0xae9572(_0x1f960d,_0x2f9d19,_0x259d8c);},'saDpM':'profile\x20add','djhzH':function(_0x33b2c7,_0x3b2a07){return _0x33b2c7(_0x3b2a07);},'KwHuv':function(_0x57fdb6,_0x49473e,_0x4ffb87){return _0x57fdb6(_0x49473e,_0x4ffb87);},'bWEPU':'profile','FRCiA':_0x3ceac4(0x253),'ogNvo':function(_0x3204d0,_0x1a4a1c,_0x42a580){return _0x3204d0(_0x1a4a1c,_0x42a580);},'sdirf':function(_0x398ed,_0x5da336,_0x549b42){return _0x398ed(_0x5da336,_0x549b42);},'AYzWN':_0x3ceac4(0x229),'Mzgiv':function(_0x3aeb1d,_0x543a82,_0x4a4dc5){return _0x3aeb1d(_0x543a82,_0x4a4dc5);},'psYlK':'profile\x20update','ghaxy':'key','HiUtx':_0x3ceac4(0x13a),'yFMVB':'value','rmFjc':'profile\x20config\x20unset','RLrlK':_0x3ceac4(0x12e),'egswu':'set\x20<profile>\x20<key>\x20<value>','Mnzwl':'get\x20<profile>\x20<key>','frGxK':'Get\x20a\x20config\x20value','EEZFd':'list\x20<profile>','iegYC':'unset\x20<profile>\x20<key>','KuQfR':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','TXSgx':'add\x20<profile-name>','akgWs':'Add\x20profile\x20configuration','KuDuz':'use\x20<profile-name>','fZtyG':'encrypt-auth\x20<profile>','aCkul':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','LRMgb':'You\x20must\x20specify\x20a\x20profile\x20subcommand'};return _0x399d11['usage'](PROFILE_HELP)[_0x3ceac4(0x1c5)](_0x59330a['TXSgx'],_0x59330a[_0x3ceac4(0x1ff)],_0x105c4d=>{const _0x283aee=_0x3ceac4;return _0x105c4d[_0x283aee(0x12d)](_0x283aee(0x229),{'type':_0x283aee(0x29b),'description':_0x283aee(0x25f),'demandOption':!![]})[_0x283aee(0x199)]('ci',{'type':_0x283aee(0x299),'description':_0x59330a['QMTqc'],'default':![]})['option']('skip-auth',{'type':_0x283aee(0x299),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x283aee(0x199)](_0x59330a['tehaN'],{'type':_0x59330a['jDUwP'],'description':_0x59330a['jfhux']})[_0x283aee(0x199)]('force',{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x283aee(0x199)](_0x59330a['EYKnO'],{'type':_0x283aee(0x29b),'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0x283aee(0x262),{'type':_0x283aee(0x299),'description':_0x283aee(0x15d),'default':![]})['option']('safe-mode',{'type':_0x59330a[_0x283aee(0x159)],'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x283aee(0x199)](_0x283aee(0x1bf),{'type':_0x59330a['jDUwP'],'array':!![],'description':_0x59330a[_0x283aee(0x1a3)]})[_0x283aee(0x199)](_0x59330a[_0x283aee(0x17c)],{'type':_0x59330a['jDUwP'],'choices':[_0x59330a[_0x283aee(0x25d)],_0x283aee(0x14f)],'description':_0x59330a[_0x283aee(0x15e)]});},async _0x51f1da=>{const _0x34779e=_0x3ceac4;await _0x59330a[_0x34779e(0x1fc)](withTelemetry,_0x59330a['saDpM'],_0xadfb87=>addEnv(_0x51f1da[_0x34779e(0x229)],{'ci':_0x51f1da['ci'],'skipAuth':_0x51f1da['skip-auth'],'url':_0x51f1da['url'],'force':_0x51f1da['force'],'cdpEndpoint':_0x51f1da['cdp-endpoint'],'allowInsecureLocalhost':_0x51f1da[_0x34779e(0x262)],'safeMode':_0x51f1da['safe-mode'],'setupHeader':_0x51f1da[_0x34779e(0x1bf)],'scope':_0x51f1da[_0x34779e(0x174)]},_0xadfb87),{'isElectron':_0x59330a['djhzH'](Boolean,_0x51f1da[_0x59330a['EYKnO']])});})[_0x3ceac4(0x1c5)](_0x59330a['KuDuz'],_0x3ceac4(0x171),_0x4542ec=>{const _0xd1187a=_0x3ceac4;return _0x4542ec[_0xd1187a(0x12d)](_0xd1187a(0x229),{'type':'string','description':_0xd1187a(0x1cd),'demandOption':!![]});},async _0x41c94d=>{const _0x50a007=_0x3ceac4;await _0x59330a[_0x50a007(0x274)](withTelemetry,_0x50a007(0x1ea),()=>useEnv(_0x41c94d['profile-name']));})[_0x3ceac4(0x1c5)](_0x59330a[_0x3ceac4(0x1ef)],_0x59330a['aCkul'],_0x11f029=>{const _0x490217=_0x3ceac4;return _0x11f029[_0x490217(0x12d)](_0x59330a[_0x490217(0x128)],{'type':_0x59330a[_0x490217(0x210)],'description':_0x59330a['FRCiA'],'demandOption':!![]});},async _0x5d05de=>{const _0x16cdb2=_0x3ceac4;await _0x59330a[_0x16cdb2(0x1db)](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0x5d05de['profile']));})[_0x3ceac4(0x1c5)]('ls','List\x20all\x20profiles',()=>{},async()=>{const _0x20fa4e=_0x3ceac4;await _0x59330a[_0x20fa4e(0x278)](withTelemetry,'profile\x20ls',()=>envList());})['command']('update\x20<profile-name>','Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x563089=>{const _0x65a90c=_0x3ceac4;return _0x563089['positional'](_0x59330a[_0x65a90c(0x1ca)],{'type':_0x65a90c(0x29b),'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})[_0x65a90c(0x199)](_0x65a90c(0x262),{'type':_0x65a90c(0x299),'description':_0x65a90c(0x15d)});},async _0x57b4de=>{const _0x214553=_0x3ceac4;await _0x59330a['Mzgiv'](withTelemetry,_0x59330a['psYlK'],_0x4e150e=>updateEnv(_0x57b4de[_0x214553(0x229)],_0x4e150e,{'allowInsecureLocalhost':_0x57b4de['allow-insecure-localhost']}));})[_0x3ceac4(0x1c5)](_0x3ceac4(0x270),_0x3ceac4(0x1ad),_0x4b73bb=>{const _0x27ddc8=_0x3ceac4,_0x5dd405={'MNSCy':function(_0x498fbc,_0x553f61,_0x5c2f37){return _0x498fbc(_0x553f61,_0x5c2f37);},'qVLuM':_0x59330a['RLrlK'],'PTBre':_0x59330a[_0x27ddc8(0x210)]};return _0x4b73bb[_0x27ddc8(0x195)](PROFILE_CONFIG_HELP)[_0x27ddc8(0x1c5)](_0x59330a['egswu'],_0x27ddc8(0x1b4),_0x2414ad=>{const _0x2c8de7=_0x27ddc8;return _0x2414ad['positional'](_0x59330a[_0x2c8de7(0x128)],{'type':_0x59330a[_0x2c8de7(0x210)],'description':'Profile\x20name','demandOption':!![]})['positional'](_0x59330a['ghaxy'],{'type':'string','description':_0x59330a['HiUtx'],'demandOption':!![]})[_0x2c8de7(0x12d)](_0x59330a['yFMVB'],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x9fad86=>{const _0x56baa6=_0x27ddc8;await _0x5dd405['MNSCy'](withTelemetry,_0x5dd405[_0x56baa6(0x156)],()=>configSet(_0x9fad86[_0x56baa6(0x151)],_0x9fad86['key'],_0x9fad86[_0x56baa6(0x1fd)]));})['command'](_0x59330a['Mnzwl'],_0x59330a['frGxK'],_0x369366=>{const _0x2fa8bd=_0x27ddc8;return _0x369366[_0x2fa8bd(0x12d)](_0x59330a['bWEPU'],{'type':_0x59330a['jDUwP'],'description':_0x59330a[_0x2fa8bd(0x21f)],'demandOption':!![]})[_0x2fa8bd(0x12d)](_0x59330a[_0x2fa8bd(0x135)],{'type':'string','description':_0x2fa8bd(0x126),'demandOption':!![]});},async _0x3d9f15=>{const _0xb18b3c=_0x27ddc8;await _0x5dd405['MNSCy'](withTelemetry,_0xb18b3c(0x1f1),()=>configGet(_0x3d9f15[_0xb18b3c(0x151)],_0x3d9f15[_0xb18b3c(0x26e)]));})['command'](_0x59330a[_0x27ddc8(0x213)],'List\x20all\x20config\x20for\x20a\x20profile',_0x54fdae=>{const _0x1006f6=_0x27ddc8;return _0x54fdae['positional']('profile',{'type':_0x5dd405[_0x1006f6(0x198)],'description':_0x1006f6(0x253),'demandOption':!![]});},async _0x3694d6=>{const _0x4f4fb0=_0x27ddc8;await withTelemetry('profile\x20config\x20list',()=>configList(_0x3694d6[_0x4f4fb0(0x151)]));})[_0x27ddc8(0x1c5)](_0x59330a[_0x27ddc8(0x1a2)],'Remove\x20a\x20config\x20value',_0x4fb650=>{const _0x234af7=_0x27ddc8;return _0x4fb650['positional'](_0x234af7(0x151),{'type':_0x59330a['jDUwP'],'description':_0x234af7(0x253),'demandOption':!![]})['positional'](_0x59330a[_0x234af7(0x135)],{'type':'string','description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0xb5589=>{const _0x20e246=_0x27ddc8;await _0x59330a['KwHuv'](withTelemetry,_0x59330a[_0x20e246(0x20b)],()=>configUnset(_0xb5589['profile'],_0xb5589[_0x20e246(0x26e)]));})['demandCommand'](0x1,_0x59330a['KuQfR']);})['demandCommand'](0x1,_0x59330a[_0x3ceac4(0x139)]);})['command']('status',_0x5772e9(0x216),()=>{},async()=>{const _0x236de7=_0x5772e9,_0x409150={'KhFdg':function(_0x201fa9,_0x18625d,_0x291357){return _0x201fa9(_0x18625d,_0x291357);},'anTDI':_0x236de7(0x1ba)};await _0x409150[_0x236de7(0x265)](withTelemetry,_0x409150[_0x236de7(0x1ae)],()=>status());})['command'](_0x5772e9(0x16d),_0x5772e9(0x1a9),()=>{},async()=>{const _0xf56428={'oldXP':'update'};await withTelemetry(_0xf56428['oldXP'],()=>update());})['command'](_0x5772e9(0x260),_0x5772e9(0x1be),()=>{},async()=>{const _0x2f02ca=_0x5772e9,_0x12a30a={'oSZTp':_0x2f02ca(0x256),'bBwDe':'print-access-token'};await withTelemetry(_0x12a30a[_0x2f02ca(0x185)],async()=>{const _0x56bbbc=await getToken();if(!_0x56bbbc)throw new Error(_0x12a30a['oSZTp']);console['log'](_0x56bbbc);});})['command']('go',_0x5772e9(0x179),_0xa72ef8=>{const _0x4ad5ce=_0x5772e9,_0x39ce1d={'kbiDZ':_0x4ad5ce(0x134),'eLSXm':'Optional\x20feature\x20ID','iPvCw':'string','cnwKz':_0x4ad5ce(0x283),'SRxVl':'notes','mvMSH':'scenario','lqGgN':_0x4ad5ce(0x26f),'jnbFg':'headed','VCwVY':'boolean','zBjFe':'debug-outcome','lXrdI':'verified','kpely':_0x4ad5ce(0x1d2),'vhGNg':_0x4ad5ce(0x17a)};return _0xa72ef8['option'](_0x39ce1d[_0x4ad5ce(0x1b2)],{'type':'string','description':_0x39ce1d['eLSXm']})[_0x4ad5ce(0x199)](_0x4ad5ce(0x151),{'type':_0x39ce1d['iPvCw'],'description':_0x39ce1d['cnwKz']})['option'](_0x39ce1d['SRxVl'],{'type':_0x39ce1d[_0x4ad5ce(0x1d5)],'description':_0x4ad5ce(0x22f)})[_0x4ad5ce(0x199)](_0x39ce1d['mvMSH'],{'type':'number','description':'Scenario\x20index\x20(1-based)'})['option']('start-path',{'type':_0x39ce1d['iPvCw'],'description':_0x4ad5ce(0x21d)})[_0x4ad5ce(0x199)](_0x39ce1d['lqGgN'],{'type':_0x4ad5ce(0x29b),'description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.'})['option'](_0x39ce1d['jnbFg'],{'type':_0x39ce1d[_0x4ad5ce(0x245)],'description':_0x4ad5ce(0x1b8),'default':![]})[_0x4ad5ce(0x199)](_0x39ce1d[_0x4ad5ce(0x152)],{'type':_0x4ad5ce(0x29b),'hidden':!![],'choices':[_0x39ce1d[_0x4ad5ce(0x263)],'partial',_0x39ce1d[_0x4ad5ce(0x157)],_0x39ce1d[_0x4ad5ce(0x268)],'incomplete']})[_0x4ad5ce(0x199)](_0x4ad5ce(0x281),{'type':'boolean','hidden':!![]})['option'](_0x4ad5ce(0x191),{'type':_0x39ce1d['iPvCw'],'hidden':!![]})[_0x4ad5ce(0x199)]('task',{'type':'string','hidden':!![]})['option']('item',{'type':'number','hidden':!![]});},async _0x226a44=>{await runGoCommand(_0x226a44);})['command']('auth',![],_0x1fd15a=>{const _0x370169=_0x5772e9,_0x111b4a={'qFjdo':'ranger\x20profile\x20encrypt-auth','woHIR':'encrypt\x20<profile>','UJrpK':_0x370169(0x18f)};return _0x1fd15a['command'](_0x111b4a['woHIR'],![],_0x5a9c1a=>{const _0x487187=_0x370169;return _0x5a9c1a[_0x487187(0x12d)](_0x487187(0x151),{'type':_0x487187(0x29b),'description':'Profile\x20name','demandOption':!![]});},async _0x7c54bb=>{const _0xfcb0ee=_0x370169;warnRenamed('ranger\x20auth\x20encrypt',_0x111b4a['qFjdo']),await authEncrypt(_0x7c54bb[_0xfcb0ee(0x151)]);})[_0x370169(0x244)](0x1,_0x111b4a['UJrpK']);},()=>{})['command'](_0x5772e9(0x132),![],_0x37af1c=>{const _0x41fa02=_0x5772e9,_0x3f95cb={'sBISv':'token','FWQrY':'string','HMisS':_0x41fa02(0x20e),'IZczP':_0x41fa02(0x238),'aVpOc':_0x41fa02(0x241),'pSYQE':'force','SojAq':'boolean','MEiht':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','vfval':'skip-auth','xLhaU':_0x41fa02(0x1bb),'woGwl':_0x41fa02(0x192)};return _0x37af1c[_0x41fa02(0x12d)](_0x3f95cb[_0x41fa02(0x272)],{'type':_0x3f95cb['FWQrY'],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})[_0x41fa02(0x199)](_0x3f95cb['HMisS'],{'type':'boolean','description':_0x3f95cb['IZczP'],'default':![]})[_0x41fa02(0x199)]('scope',{'type':_0x41fa02(0x29b),'choices':[_0x41fa02(0x1d8),'project'],'description':_0x41fa02(0x1f2)})[_0x41fa02(0x199)]('url',{'type':_0x41fa02(0x29b),'description':_0x3f95cb['aVpOc']})[_0x41fa02(0x199)](_0x3f95cb['pSYQE'],{'type':_0x3f95cb[_0x41fa02(0x1f4)],'description':_0x3f95cb['MEiht'],'default':![]})[_0x41fa02(0x199)](_0x3f95cb[_0x41fa02(0x1cc)],{'type':'boolean','description':_0x3f95cb['xLhaU'],'default':![]})['option'](_0x3f95cb[_0x41fa02(0x123)],{'type':'boolean','description':_0x41fa02(0x1d4),'default':![]});},async _0x5e1495=>{const _0x3be0b9=_0x5772e9,_0x3fc2a3={'pheCf':_0x3be0b9(0x23a),'vHeRI':'start'};warnRenamed(_0x3be0b9(0x18b),_0x3fc2a3[_0x3be0b9(0x19c)]),await withTelemetry(_0x3fc2a3['vHeRI'],_0x50a25f=>start(_0x5e1495['token'],{'skipChromium':_0x5e1495[_0x3be0b9(0x20e)],'skipAuth':_0x5e1495[_0x3be0b9(0x275)],'withDeps':_0x5e1495['with-deps'],'scope':_0x5e1495[_0x3be0b9(0x174)],'url':_0x5e1495[_0x3be0b9(0x289)],'force':_0x5e1495[_0x3be0b9(0x242)]},_0x50a25f));})['command']('verify-feature',![],_0x30257c=>{const _0x4bedba=_0x5772e9,_0x4ac069={'QiBWO':_0x4bedba(0x29b),'ERxLQ':'task','mwUWa':'item','IDUOh':'number','besMk':_0x4bedba(0x243),'ZrIqu':'scenario','zIEGb':_0x4bedba(0x26f),'ZzpQw':'partial','fOoTQ':'blocked','rEEuD':'failed'};return _0x30257c[_0x4bedba(0x199)]('env',{'type':_0x4ac069['QiBWO'],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x4bedba(0x199)](_0x4ac069[_0x4bedba(0x1e7)],{'type':'string','description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x4ac069['mwUWa'],{'type':_0x4ac069['IDUOh'],'description':_0x4bedba(0x18a)})[_0x4bedba(0x199)]('profile',{'type':'string','hidden':!![]})[_0x4bedba(0x199)](_0x4ac069[_0x4bedba(0x203)],{'type':_0x4ac069['QiBWO'],'hidden':!![]})['option'](_0x4ac069[_0x4bedba(0x173)],{'type':'number','hidden':!![]})['option'](_0x4bedba(0x252),{'type':_0x4ac069['QiBWO'],'description':_0x4bedba(0x21d)})['option'](_0x4ac069['zIEGb'],{'type':_0x4ac069[_0x4bedba(0x12f)],'hidden':!![]})[_0x4bedba(0x199)]('headed',{'type':_0x4bedba(0x299),'hidden':!![],'default':![]})[_0x4bedba(0x199)]('debug-outcome',{'type':_0x4ac069['QiBWO'],'hidden':!![],'choices':['verified',_0x4ac069[_0x4bedba(0x24a)],_0x4ac069[_0x4bedba(0x296)],_0x4ac069[_0x4bedba(0x148)],_0x4bedba(0x155)]});},async _0x3b447b=>{const _0x58b976={'DUWIr':function(_0x5ab8c9,_0x2cefb3,_0x5d5201){return _0x5ab8c9(_0x2cefb3,_0x5d5201);}};await _0x58b976['DUWIr'](runGoCommand,_0x3b447b,!![]);})['command'](_0x5772e9(0x28c),![],_0x2084a2=>{const _0x41a9b5=_0x5772e9,_0x315065={'fDagX':'env-name','eElIX':_0x41a9b5(0x29b),'XdVxI':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','NcFKf':_0x41a9b5(0x299),'mmkcE':'skip-auth','gcOZc':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)'};return _0x2084a2['positional'](_0x315065[_0x41a9b5(0x15f)],{'type':_0x315065['eElIX'],'description':_0x315065[_0x41a9b5(0x1fb)],'demandOption':!![]})['option']('ci',{'type':_0x315065[_0x41a9b5(0x193)],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x315065['mmkcE'],{'type':'boolean','description':_0x315065[_0x41a9b5(0x13d)],'default':![]});},async _0x2f3a1f=>{const _0x2f3078=_0x5772e9,_0x234d9c={'GChrm':function(_0x22ad89,_0x3b0c77,_0x447082){return _0x22ad89(_0x3b0c77,_0x447082);},'kqiUG':_0x2f3078(0x248)};_0x234d9c[_0x2f3078(0x211)](warnRenamed,_0x2f3078(0x240),_0x2f3078(0x14d)),await _0x234d9c['GChrm'](withTelemetry,_0x234d9c[_0x2f3078(0x261)],_0x342162=>addEnv(_0x2f3a1f[_0x2f3078(0x1de)],{'ci':_0x2f3a1f['ci'],'skipAuth':_0x2f3a1f['skip-auth']},_0x342162));})['command']('use\x20<env-name>',![],_0x187c7a=>{const _0x51997=_0x5772e9,_0x5675df={'VkOdk':'env-name','YaRiq':_0x51997(0x29b),'IoImt':_0x51997(0x222)};return _0x187c7a['positional'](_0x5675df['VkOdk'],{'type':_0x5675df[_0x51997(0x29f)],'description':_0x5675df[_0x51997(0x246)],'demandOption':!![]});},async _0x17795f=>{const _0x3081d7=_0x5772e9,_0x208a5a={'GCFDx':_0x3081d7(0x220),'iwsLm':_0x3081d7(0x1c8)};warnRenamed('ranger\x20use',_0x208a5a['GCFDx']),await withTelemetry(_0x208a5a['iwsLm'],()=>useEnv(_0x17795f['env-name']));})['command'](_0x5772e9(0x270),![],_0x3d1a47=>{const _0x370056=_0x5772e9,_0x17b1b2={'Rhxaj':'env','MPhsW':'string','DAJxX':'Environment\x20name','LmEeo':'key','PxYDl':_0x370056(0x13a),'JnwDj':_0x370056(0x147),'fUnzT':'ranger\x20config\x20set','RzRpf':function(_0x4b4974,_0x2e088e,_0x1a4203){return _0x4b4974(_0x2e088e,_0x1a4203);},'svzkk':_0x370056(0x126),'VbATD':function(_0x3853d3,_0x46c4a0,_0x3164bd){return _0x3853d3(_0x46c4a0,_0x3164bd);},'TRYqE':'ranger\x20profile\x20config\x20get','Kwqkt':function(_0x127ecc,_0x298a4a,_0xb16dbc){return _0x127ecc(_0x298a4a,_0xb16dbc);},'LvdLJ':'config\x20get','HtsEr':_0x370056(0x163),'sWOWA':'ranger\x20profile\x20config\x20list','sYuas':'Config\x20key\x20to\x20remove','ShQPW':function(_0x47fd8f,_0x22cd49,_0x18774c){return _0x47fd8f(_0x22cd49,_0x18774c);},'WljpD':_0x370056(0x146),'SjvyC':'config\x20unset','FMEHF':'list\x20<env>'};return _0x3d1a47['command']('set\x20<env>\x20<key>\x20<value>',![],_0x5692a3=>{const _0x25ff5f=_0x370056;return _0x5692a3[_0x25ff5f(0x12d)](_0x17b1b2['Rhxaj'],{'type':_0x17b1b2[_0x25ff5f(0x1e6)],'description':_0x17b1b2['DAJxX'],'demandOption':!![]})[_0x25ff5f(0x12d)](_0x17b1b2[_0x25ff5f(0x1aa)],{'type':_0x17b1b2[_0x25ff5f(0x1e6)],'description':_0x17b1b2[_0x25ff5f(0x291)],'demandOption':!![]})['positional']('value',{'type':_0x25ff5f(0x29b),'description':_0x17b1b2[_0x25ff5f(0x130)],'demandOption':!![]});},async _0x55e000=>{const _0x8bbbaa=_0x370056;warnRenamed(_0x17b1b2['fUnzT'],_0x8bbbaa(0x286)),await _0x17b1b2[_0x8bbbaa(0x208)](withTelemetry,_0x8bbbaa(0x153),()=>configSet(_0x55e000['env'],_0x55e000[_0x8bbbaa(0x26e)],_0x55e000['value']));})[_0x370056(0x1c5)]('get\x20<env>\x20<key>',![],_0x3ef0a5=>{const _0x256286=_0x370056;return _0x3ef0a5['positional'](_0x256286(0x191),{'type':_0x17b1b2['MPhsW'],'description':_0x17b1b2['DAJxX'],'demandOption':!![]})[_0x256286(0x12d)](_0x17b1b2[_0x256286(0x1aa)],{'type':_0x17b1b2[_0x256286(0x1e6)],'description':_0x17b1b2[_0x256286(0x1f7)],'demandOption':!![]});},async _0x3dd21e=>{const _0x155823=_0x370056;_0x17b1b2['VbATD'](warnRenamed,'ranger\x20config\x20get',_0x17b1b2[_0x155823(0x277)]),await _0x17b1b2['Kwqkt'](withTelemetry,_0x17b1b2[_0x155823(0x290)],()=>configGet(_0x3dd21e['env'],_0x3dd21e[_0x155823(0x26e)]));})[_0x370056(0x1c5)](_0x17b1b2['FMEHF'],![],_0x5e1726=>{const _0x46084c=_0x370056;return _0x5e1726[_0x46084c(0x12d)](_0x17b1b2[_0x46084c(0x254)],{'type':_0x17b1b2['MPhsW'],'description':_0x46084c(0x273),'demandOption':!![]});},async _0x40d009=>{const _0x3e0246=_0x370056;warnRenamed(_0x17b1b2[_0x3e0246(0x1eb)],_0x17b1b2['sWOWA']),await withTelemetry('config\x20list',()=>configList(_0x40d009[_0x3e0246(0x191)]));})['command']('unset\x20<env>\x20<key>',![],_0x2c1615=>{const _0x1161e9=_0x370056;return _0x2c1615[_0x1161e9(0x12d)](_0x17b1b2['Rhxaj'],{'type':_0x1161e9(0x29b),'description':'Environment\x20name','demandOption':!![]})['positional']('key',{'type':_0x17b1b2[_0x1161e9(0x1e6)],'description':_0x17b1b2[_0x1161e9(0x204)],'demandOption':!![]});},async _0x3536ac=>{const _0x54c015=_0x370056;_0x17b1b2['ShQPW'](warnRenamed,_0x54c015(0x1a4),_0x17b1b2['WljpD']),await _0x17b1b2[_0x54c015(0x208)](withTelemetry,_0x17b1b2['SjvyC'],()=>configUnset(_0x3536ac['env'],_0x3536ac[_0x54c015(0x26e)]));})[_0x370056(0x244)](0x1,_0x370056(0x23b));})['command'](_0x5772e9(0x191),![],_0x3a6c41=>{const _0x6b90e0=_0x5772e9,_0x566a6e={'nlpLJ':function(_0x1b8a49,_0x590439,_0x52af4e){return _0x1b8a49(_0x590439,_0x52af4e);},'aFCcL':'env\x20list','uCrjm':_0x6b90e0(0x1de),'BtxYI':'string','JoeQl':_0x6b90e0(0x182),'JEGyZ':_0x6b90e0(0x188),'FrWBB':function(_0x2c80d1,_0x5bbafe,_0x3dfb76){return _0x2c80d1(_0x5bbafe,_0x3dfb76);},'UFYxr':_0x6b90e0(0x150)};return _0x3a6c41['command']('ls',![],()=>{},async()=>{const _0x19d672=_0x6b90e0;warnRenamed('ranger\x20env\x20ls',_0x19d672(0x26a)),await _0x566a6e[_0x19d672(0x234)](withTelemetry,_0x566a6e[_0x19d672(0x209)],()=>envList());})['command']('update\x20<env-name>',![],_0x4600f4=>{const _0x4dbdb0=_0x6b90e0;return _0x4600f4['positional'](_0x566a6e[_0x4dbdb0(0x237)],{'type':_0x566a6e['BtxYI'],'description':_0x566a6e[_0x4dbdb0(0x1fa)],'demandOption':!![]});},async _0x4de4ca=>{const _0x5cf330=_0x6b90e0;_0x566a6e[_0x5cf330(0x234)](warnRenamed,_0x566a6e['JEGyZ'],'ranger\x20profile\x20update'),await _0x566a6e[_0x5cf330(0x177)](withTelemetry,_0x5cf330(0x276),_0x5e628b=>updateEnv(_0x4de4ca[_0x5cf330(0x1de)],_0x5e628b));})[_0x6b90e0(0x244)](0x1,_0x566a6e[_0x6b90e0(0x16f)]);})['command']('feature',![],_0x37ba1c=>{const _0x15b0fa=_0x5772e9,_0x1c0c0d={'mkDwg':_0x15b0fa(0x29b),'jjVdN':'Feature\x20review\x20name','euJSH':'array','cCXyi':_0x15b0fa(0x13e),'aaDkG':function(_0x1f5942,_0x121c65,_0x2b03d8,_0x1fda95){return _0x1f5942(_0x121c65,_0x2b03d8,_0x1fda95);},'lqRsD':_0x15b0fa(0x1c1),'vvsEp':_0x15b0fa(0x16a),'FEESr':'current-branch','wyjYy':'boolean','oSenh':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','ouAVC':_0x15b0fa(0x1bc),'RInJV':_0x15b0fa(0x1a5),'rpcTC':_0x15b0fa(0x14a),'xfiuo':'ranger\x20list','YwtLZ':_0x15b0fa(0x16c),'MufMk':'ranger\x20feature\x20show','mDIBG':_0x15b0fa(0x1d6),'TEsOD':_0x15b0fa(0x235),'JwRPH':function(_0x2dc91b,_0x8f7615,_0x1f113b){return _0x2dc91b(_0x8f7615,_0x1f113b);},'jXRGd':'ranger\x20feature\x20resume','kkAVb':'feature\x20resume','jPyse':_0x15b0fa(0x1d0),'MSdur':function(_0x4dafb7,_0x2f5dfe,_0x40f982){return _0x4dafb7(_0x2f5dfe,_0x40f982);},'LVJGp':_0x15b0fa(0x29d),'eDkhq':_0x15b0fa(0x24b),'FvYYY':'ranger\x20get-review','gRmMg':_0x15b0fa(0x218),'gKleQ':_0x15b0fa(0x16e),'nZQrx':'ranger\x20feature\x20delete','VoXHQ':_0x15b0fa(0x1e3),'lAKIo':_0x15b0fa(0x1d1),'ZZJbJ':_0x15b0fa(0x23d),'BqOBZ':function(_0x493635,_0x2e5379,_0x2034e0){return _0x493635(_0x2e5379,_0x2034e0);},'jkhtK':_0x15b0fa(0x140),'RZlvF':function(_0x554c5c,_0x25de07,_0x4b2a49){return _0x554c5c(_0x25de07,_0x4b2a49);},'RkbFI':'create\x20<name>','vYdnO':_0x15b0fa(0x259),'NdoWc':_0x15b0fa(0x2a4),'Gcjnm':_0x15b0fa(0x202)};return _0x37ba1c[_0x15b0fa(0x1c5)](_0x1c0c0d['RkbFI'],![],_0x54416f=>{const _0x5e0720=_0x15b0fa;return _0x54416f[_0x5e0720(0x12d)]('name',{'type':_0x1c0c0d[_0x5e0720(0x1f0)],'description':_0x1c0c0d['jjVdN'],'demandOption':!![]})[_0x5e0720(0x199)]('description',{'type':_0x1c0c0d[_0x5e0720(0x1f0)],'alias':'d','description':'Feature\x20review\x20description'})['option'](_0x5e0720(0x287),{'type':_0x1c0c0d[_0x5e0720(0x158)],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option']('scenario',{'type':'array','hidden':!![]});},async _0x682e8d=>{const _0x2b001c=_0x15b0fa;warnRenamed(_0x1c0c0d['cCXyi'],'ranger\x20create'),_0x1c0c0d['aaDkG'](warnFlagRenamed,_0x1c0c0d['lqRsD'],'--checklist',_0x2b001c(0x28a));const _0x4f2f9a=_0x682e8d[_0x2b001c(0x29c)]||_0x682e8d['checklist'];await withTelemetry(_0x1c0c0d[_0x2b001c(0x226)],()=>featureCreate(_0x682e8d['name'],{'description':_0x682e8d['description'],'scenarios':_0x4f2f9a}));})['command'](_0x1c0c0d[_0x15b0fa(0x219)],![],_0x5a93ec=>{const _0x2cd930=_0x15b0fa;return _0x5a93ec[_0x2cd930(0x199)](_0x1c0c0d['FEESr'],{'type':_0x1c0c0d[_0x2cd930(0x280)],'description':_0x1c0c0d[_0x2cd930(0x14e)]})['option']('limit',{'type':'number','alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x1c0c0d['ouAVC'],{'type':_0x1c0c0d['RInJV'],'alias':'o','description':_0x2cd930(0x142),'default':0x0})[_0x2cd930(0x199)](_0x2cd930(0x285),{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x38639b=>{const _0x17e463=_0x15b0fa;warnRenamed(_0x1c0c0d['rpcTC'],_0x1c0c0d['xfiuo']),await withTelemetry(_0x1c0c0d[_0x17e463(0x143)],()=>featureList({'currentBranch':_0x38639b['current-branch'],'limit':_0x38639b['limit'],'offset':_0x38639b['offset'],'includeDeleted':_0x38639b['include-deleted']}));})['command'](_0x15b0fa(0x27d),![],_0x1df09a=>{const _0x504c73=_0x15b0fa;return _0x1df09a[_0x504c73(0x12d)]('id',{'type':_0x504c73(0x29b),'description':_0x504c73(0x16e)});},async _0x31a057=>{const _0x3c2090=_0x15b0fa;warnRenamed(_0x1c0c0d['MufMk'],_0x3c2090(0x1f5)),await withTelemetry(_0x1c0c0d[_0x3c2090(0x26d)],()=>featureShow(_0x31a057['id']));})['command']('resume\x20[id]',![],_0xd1ede1=>{const _0x1be697=_0x15b0fa;return _0xd1ede1[_0x1be697(0x12d)]('id',{'type':_0x1be697(0x29b),'description':_0x1c0c0d[_0x1be697(0x16b)]});},async _0x32ae01=>{const _0x5dcf7e=_0x15b0fa;_0x1c0c0d[_0x5dcf7e(0x186)](warnRenamed,_0x1c0c0d['jXRGd'],_0x5dcf7e(0x13f)),await withTelemetry(_0x1c0c0d[_0x5dcf7e(0x239)],()=>featureResume(_0x32ae01['id']));})['command']('add-checklist-item\x20<description>',![],_0x41aff9=>{const _0x2a50d4=_0x15b0fa;return _0x41aff9[_0x2a50d4(0x12d)](_0x1c0c0d['jPyse'],{'type':_0x1c0c0d[_0x2a50d4(0x1f0)],'description':_0x2a50d4(0x197),'demandOption':!![]})[_0x2a50d4(0x199)]('id',{'type':_0x2a50d4(0x29b),'description':_0x2a50d4(0x24b)});},async _0x4da814=>{const _0x4435e3=_0x15b0fa;_0x1c0c0d[_0x4435e3(0x18c)](warnRenamed,'ranger\x20feature\x20add-checklist-item','ranger\x20add-scenario'),await withTelemetry(_0x1c0c0d['LVJGp'],()=>featureAddScenario(_0x4da814['description'],_0x4da814['id']));})[_0x15b0fa(0x1c5)](_0x1c0c0d[_0x15b0fa(0x1f6)],![],_0x3d80eb=>{const _0x1bd986=_0x15b0fa;return _0x3d80eb[_0x1bd986(0x12d)]('id',{'type':_0x1bd986(0x29b),'description':_0x1c0c0d[_0x1bd986(0x1c0)]});},async _0x5e3f3b=>{const _0x21dbb5=_0x15b0fa;warnRenamed(_0x21dbb5(0x17f),_0x1c0c0d[_0x21dbb5(0x15a)]),await _0x1c0c0d['JwRPH'](withTelemetry,_0x1c0c0d[_0x21dbb5(0x1c6)],()=>featureGetReview(_0x5e3f3b['id']));})[_0x15b0fa(0x1c5)](_0x1c0c0d[_0x15b0fa(0x19e)],![],_0x5be213=>{const _0x29e104=_0x15b0fa;return _0x5be213[_0x29e104(0x12d)]('id',{'type':_0x1c0c0d[_0x29e104(0x1f0)],'description':_0x1c0c0d[_0x29e104(0x161)]});},async _0x4e118c=>{const _0x5cc1ee=_0x15b0fa;_0x1c0c0d['JwRPH'](warnRenamed,_0x1c0c0d[_0x5cc1ee(0x1d7)],_0x1c0c0d['VoXHQ']),await withTelemetry(_0x1c0c0d['lAKIo'],()=>featureDelete(_0x4e118c['id']));})['command'](_0x15b0fa(0x206),![],_0x32734b=>{return _0x32734b['positional']('id',{'type':_0x1c0c0d['mkDwg'],'description':_0x1c0c0d['ZZJbJ'],'demandOption':!![]});},async _0x250c37=>{const _0x13dda0=_0x15b0fa;_0x1c0c0d['BqOBZ'](warnRenamed,_0x1c0c0d['jkhtK'],_0x13dda0(0x122)),await _0x1c0c0d['RZlvF'](withTelemetry,'feature\x20restore',()=>featureRestore(_0x250c37['id']));})['demandCommand'](0x1,_0x15b0fa(0x29e));})['command']('hook',![],_0x1c524b=>{const _0x1ceb8b=_0x5772e9,_0x650d97={'zHypo':_0x1ceb8b(0x29b),'fZVCF':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','KuyDa':function(_0x58aa5c,_0x3ae29a,_0x108717){return _0x58aa5c(_0x3ae29a,_0x108717);},'yJEeP':'hook:enable','iGpyE':_0x1ceb8b(0x141),'UARrO':function(_0x3800d1,_0x27ab2c,_0x5d106c){return _0x3800d1(_0x27ab2c,_0x5d106c);},'kWVZh':_0x1ceb8b(0x23e),'RVQIG':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session'};return _0x1c524b[_0x1ceb8b(0x1c5)]('enable','Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x3663ca=>{return _0x3663ca['option']('session-id',{'type':_0x650d97['zHypo'],'description':_0x650d97['fZVCF']});},async _0x458fe6=>{const _0x4c7692=_0x1ceb8b;await _0x650d97[_0x4c7692(0x24d)](withTelemetry,_0x650d97['yJEeP'],()=>hook(_0x4c7692(0x1e1),_0x458fe6['session-id']));})['command'](_0x650d97['kWVZh'],_0x650d97[_0x1ceb8b(0x224)],_0xee5174=>{const _0x4738d3=_0x1ceb8b;return _0xee5174[_0x4738d3(0x199)](_0x650d97[_0x4738d3(0x27c)],{'type':_0x650d97[_0x4738d3(0x1bd)],'description':_0x650d97[_0x4738d3(0x217)]});},async _0x8afeb0=>{const _0x3840e7=_0x1ceb8b;await _0x650d97[_0x3840e7(0x293)](withTelemetry,_0x3840e7(0x1cb),()=>hook(_0x3840e7(0x23e),_0x8afeb0['session-id']));})['option'](_0x1ceb8b(0x183),{'type':_0x1ceb8b(0x29b),'description':_0x1ceb8b(0x29a)})['option'](_0x1ceb8b(0x141),{'type':_0x650d97[_0x1ceb8b(0x1bd)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x413a6f=>{const _0x3bd05d=_0x5772e9;_0x413a6f[_0x3bd05d(0x183)]&&await hook(_0x413a6f[_0x3bd05d(0x183)],_0x413a6f['session-id']);})[_0x5772e9(0x244)](0x1,_0x5772e9(0x221))['strictCommands']()['fail'](async(_0x1f6689,_0x2e84c0,_0x286745)=>{const _0x4b6e59=_0x5772e9,_0x1408a2={'TPqkn':function(_0x50ef8d,_0x351ebb,_0x53c33e){return _0x50ef8d(_0x351ebb,_0x53c33e);},'qawFn':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','ijEyl':function(_0x1af773,_0xf4cfd6){return _0x1af773(_0xf4cfd6);},'XdJRS':function(_0xce9886){return _0xce9886();},'HEqOx':function(_0x6a0c15,_0x21651a){return _0x6a0c15||_0x21651a;},'dbPzc':_0x4b6e59(0x288)},_0x18f90c=sanitizeArgs(process['argv']['slice'](0x2)),_0x219b92=_0x1408a2['TPqkn'](getErrorType,_0x1f6689,_0x2e84c0);if(_0x1f6689&&_0x1f6689['includes'](_0x4b6e59(0x200))){const _0x2e0dbc=process['argv'][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x2e0dbc),console[_0x4b6e59(0x1c2)](_0x1408a2['qawFn']);}else{if(_0x1f6689)console[_0x4b6e59(0x1c2)]('\x0a'+_0x1f6689+'\x0a');else _0x2e84c0&&console['error']('\x0aError:\x20'+_0x2e84c0['message']+'\x0a');}await _0x1408a2[_0x4b6e59(0x1c7)](logDesirePath,{'rawCommand':_0x18f90c,'errorMessage':_0x1f6689||_0x2e84c0?.[_0x4b6e59(0x1ee)],'errorType':_0x219b92});const _0x3317b4=_0x1408a2['XdJRS'](getCurrentCollector);_0x3317b4&&await _0x3317b4['trackCommandError'](_0x2e84c0||new Error(_0x1408a2[_0x4b6e59(0x121)](_0x1f6689,_0x1408a2['dbPzc']))),process[_0x4b6e59(0x231)](0x1);})[_0x5772e9(0x136)](_0x5772e9(0x22d)+_0x5772e9(0x264)+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')[_0x5772e9(0x1b1)]()['alias']('help','h')[_0x5772e9(0x145)]();
|
|
2
|
+
const _0x72327e=_0x1f2f;(function(_0x29c92a,_0x2f5eef){const _0x4c8fec=_0x1f2f,_0x255928=_0x29c92a();while(!![]){try{const _0x30f265=-parseInt(_0x4c8fec(0x1ef))/0x1+parseInt(_0x4c8fec(0x2c1))/0x2*(-parseInt(_0x4c8fec(0x2bd))/0x3)+-parseInt(_0x4c8fec(0x261))/0x4+-parseInt(_0x4c8fec(0x1e7))/0x5*(parseInt(_0x4c8fec(0x1a1))/0x6)+parseInt(_0x4c8fec(0x2ff))/0x7+-parseInt(_0x4c8fec(0x1d5))/0x8*(-parseInt(_0x4c8fec(0x2e5))/0x9)+parseInt(_0x4c8fec(0x2a5))/0xa;if(_0x30f265===_0x2f5eef)break;else _0x255928['push'](_0x255928['shift']());}catch(_0x5578ee){_0x255928['push'](_0x255928['shift']());}}}(_0x383f,0xa2b09));import _0x40aac6 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x5c4011=_0x1f2f,_0x1d2828={'TfXAP':function(_0x8db4ae,_0x58d3e4){return _0x8db4ae!==_0x58d3e4;},'hCAPj':function(_0x79617b,_0x10df63){return _0x79617b(_0x10df63);},'ZARGw':'.ranger','ZuPRn':function(_0x2ba718,_0x217c1b,_0x49a16d){return _0x2ba718(_0x217c1b,_0x49a16d);},'dJETL':_0x5c4011(0x21a)};let _0x1d39fd=process[_0x5c4011(0x2f6)]();const _0x113a1e=parse(_0x1d39fd)['root'];while(_0x1d2828['TfXAP'](_0x1d39fd,_0x113a1e)){if(_0x1d2828['hCAPj'](existsSync,join(_0x1d39fd,_0x1d2828[_0x5c4011(0x1b1)]))||existsSync(_0x1d2828['ZuPRn'](join,_0x1d39fd,_0x1d2828[_0x5c4011(0x169)])))return _0x1d39fd;_0x1d39fd=dirname(_0x1d39fd);}return process[_0x5c4011(0x2f6)]();}_0x40aac6[_0x72327e(0x228)]({'path':join(findProjectRoot(),_0x72327e(0x21a))});import _0x420141 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';function _0x1f2f(_0x43f4d0,_0x18e841){_0x43f4d0=_0x43f4d0-0x150;const _0x383fb1=_0x383f();let _0x1f2f9f=_0x383fb1[_0x43f4d0];return _0x1f2f9f;}import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';function _0x383f(){const _0x46b095=['Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','config\x20list','setup:deps','yUVwB','dry-run','\x20PARTIAL','key','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','JiGih','message','OvaFk','Name\x20of\x20the\x20environment\x20to\x20update','.env','URQyS','limit','VLQZA','jwqOF','TnJYk','HvlvD','migrate\x20[profile-name]','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','command','dWeCO','YUhuG','ssLJR','YjSxC','config','slice','Config\x20value','qTosa','list','IikBM','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','skillup','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','UDHtw','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','xTWxk','list\x20<env>','YcJxs','kgaDh','failed','Scenario\x20description','report','KSthN','force','mcp-bootstrap','BBXJC','oOKUP','env','allow-insecure-localhost','profile\x20delete','nQIDK','HozBv','hMpOe','CVElx','qxrNs','AlBoL','organizationName','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','XrdQC','ytgEY','CikQx','feature\x20get-feedback','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','gUypV','Install\x20OS-level\x20dependencies\x20for\x20Chromium','verified','config\x20get','URBsu','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','string','cCfBx','debug-address-comments','exitCode','base-url','feature\x20create','add-scenario\x20<description>','Initialize\x20Ranger\x20in\x20your\x20project','login','wEQMC','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\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\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','qdRcE','3277684TTkymu','feature\x20add-checklist-item','iozyf','severity','jfxBe','vFxyN','feature','setup\x20[tokenOrSubcommand]','debug-outcome','ltrYY','fail','pzaIu','DswmO','LMeiY','YHRBL','Install\x20Chromium\x20browser\x20binary','log','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','\x27.\x20Session\x20saved.','test_output','VIyrt','lIAaI','positional','ranger\x20use','bcLfw','KDafZ','mcpkI','SDfwN','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','aHhbm','UnApe','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','BbenK','partial','env-name','skip-chromium','OMSau','gfgUP','VmTLD','demandCommand','QsXyk','ranger\x20feature\x20list','VELXn','ranger\x20feature\x20create','start\x20[token]','version','gKMsi','PLddq','usage','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','current-branch','Config\x20key','OwsvL','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','json','hzjqw','profile\x20encrypt-auth','AvfLy','PXUdf','encrypt-auth\x20<profile>','get\x20<profile>\x20<key>','czPxu','rLhwi','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','create','skills','DeYlT','rvPXs','7166800kWULMc','lsAxy','use\x20<profile-name>','\x20is\x20no\x20longer\x20supported.\x20','number','hBhuw','dEFIl','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','PHPiK','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','clean','mCxap','HDNkC','ESoYX','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\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.','profile','WggUG','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','XPQqR','WQCZy','EWwwy','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','JJBrO','NhidT','106959zFtkfM','ranger\x20resume','ranger\x20config\x20unset','ttKOz','12hRHXNS','array','ranger\x20profile\x20ls','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','lTFNB','Print\x20the\x20current\x20CLI\x20access\x20token','delete\x20[id]','UMQPS','ENdSY','user','Set\x20a\x20config\x20value','LcbmP','QxfiD','\x0aUnknown\x20command:\x20','Feature\x20review\x20description','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','disable','scope','profile\x20add','QpBrt','url','Scenario\x20number\x20to\x20edit\x20(1-based)','unset\x20<env>\x20<key>','alias','mcp','skip-auth','report\x20[id]','yrvbY','feature\x20resume','qKGwi','UpmfR','gKves','vnqCZ','ranger\x20setup','aUFsp','--task','243PvUXXG','LWQzL','lJFAk','sWEmb','ranger\x20start','You\x20must\x20specify\x20a\x20profile\x20subcommand','Profile\x20name','Exnlw','checklist','IHxjo','pJtNl','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','tWVFb','SPCoA','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','LyhLM','cwd','cdp-endpoint','List\x20all\x20feature\x20reviews','oGFnY','headed','eXeFv','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','token','ranger\x20profile\x20config\x20set','7629419uCApgW','sQAKV','NFQQJ','Lkpqk','aFnmT','profile-name','--scenario','RANGER_PROFILE','KXUTG','login\x20<name>','qJaAa','project','boolean','ranger\x20feature\x20delete','mLpxU','Run\x20full\x20interactive\x20setup','efbOh','oPYcN','aPnQR','task','mlGJV','EaooO','UsfWe','IOKnH','not_configured','TAOeG','XGyGJ','VSIrS','add\x20env','ranger\x20feature\x20show','Install\x20Ranger\x20skills','success','dJETL','status','GrStM','item','FzyPW','parse','save-creds','ZbhwJ','PjpVN','include-deleted','with-deps','gWxfu','Skip\x20authentication','BIusS','PdHIX','XYZgJ','iefej','vDzFv','claude','ppeSR','HcDnD','sRnCm','List\x20all\x20config\x20for\x20a\x20profile','Alias\x20for\x20--mcp-bootstrap','jJYDe','Cloud\x20profile\x20name','ranger\x20verify-feature','all','setup:profiles','uGJup','--profile','tHyQn','tXzIx','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','edit-scenario','BOsAe','nJsLA','ceQLq','xZGcL','\x0aIssues:','hXBOQ','New\x20scenario\x20description','pvQQU','vdOeb','ranger\x20go','ZDbUz','xldQB','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','scenario','✓\x20Authenticated\x20to\x20','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','some','XnEdL','ranger\x20env\x20ls','trackCommandError','vzlJB','2653716vcQyUs','Feature\x20review\x20ID\x20to\x20restore','List\x20all\x20profiles','weUMO','resume\x20[id]','TTjWR','xuRch','evaluation','ZQdUI','feature\x20restore','glxMi','VnHcY','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','create\x20<name>','profile\x20config\x20list','GSAGz','ZARGw','Install\x20scope\x20for\x20skills','Skip\x20the\x20deletion\x20confirmation\x20prompt.','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','VItJr','BcLsa','qIttJ','ranger','opencode','yoaIC','yes','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','SgSwY','hook','iWDVT','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','Feature\x20review\x20name','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','eeNzI','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','offset','uuIvt','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','CkQEt','uPlcp','hpSfe','Rnvvy','uUToe','ranger\x20profile\x20encrypt-auth','nRwBW','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','TUylX','BrVxD','386392FDTXsN','ranger\x20config\x20get','xzoOj','Feature\x20review\x20ID','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','TeYBG','IQFaF','setup-ci','feature\x20list','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','blocked','session-id','Update\x20authentication\x20for\x20an\x20existing\x20profile','pCbYH','GdeuB','Unknown\x20command','Summary:\x20','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','5xNaCXM','Config\x20key\x20to\x20remove','verify-feature','deayF','bZaPo','description','option','ZpQiV','968668mTTIBd','IBXLo','incomplete','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','value','argv','DLLzW','VVHNJ','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','GqfRz','vWxnb','Ranger\x20API\x20token','Xlpgd','NmKEO','use\x20<env-name>','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','oZbbk','ARCeW','OsZdP','edit-scenario\x20<description>','name','BSPnH','tokenOrSubcommand','start','xACUc','JBnlg','error','jGHUv','profile\x20ls'];_0x383f=function(){return _0x46b095;};return _0x383f();}import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x38edbc=>{const _0x3f43fb=_0x72327e,_0x5307d9={'tJhNr':function(_0x9a6b23){return _0x9a6b23();}},_0x48a8b2=_0x5307d9['tJhNr'](getCurrentCollector);_0x48a8b2&&await _0x48a8b2[_0x3f43fb(0x19f)](_0x38edbc),process[_0x3f43fb(0x258)]=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP=_0x72327e(0x2b3),PROFILE_HELP=_0x72327e(0x25f),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x3357a9,_0x22dcd3){const _0x20a105=_0x72327e;console[_0x20a105(0x20b)]('\x0a'+_0x3357a9+'\x20is\x20now\x20'+_0x22dcd3+'\x0a');}function argUsed(_0x193bf9){const _0x3679a4=_0x72327e;return rawArgs[_0x3679a4(0x19c)](_0x30464a=>_0x30464a===_0x193bf9||_0x30464a['startsWith'](_0x193bf9+'='));}function warnFlagRenamed(_0x258682,_0x4771de,_0x418647){const _0xf66b1c=_0x72327e,_0x152ac0={'Xlpgd':function(_0x5d52b4,_0xf11679){return _0x5d52b4(_0xf11679);},'dYPEB':function(_0x3f6a9,_0x565417,_0x1e3246){return _0x3f6a9(_0x565417,_0x1e3246);}};_0x152ac0[_0xf66b1c(0x1fb)](argUsed,_0x4771de)&&_0x152ac0['dYPEB'](warnRenamed,_0x258682+'\x20'+_0x4771de,_0x258682+'\x20'+_0x418647);}async function runGoCommand(_0x4b9413,_0x31216d=![]){const _0x32c4af=_0x72327e,_0x3c7f07={'LcbmP':function(_0xae0c,_0x3c3097,_0xc2f839,_0x3ec1da){return _0xae0c(_0x3c3097,_0xc2f839,_0x3ec1da);},'pJtNl':_0x32c4af(0x195),'UDHtw':_0x32c4af(0x187),'PWQZF':function(_0xc499f8,_0x3d0cce,_0x16f9fc,_0x4058d7){return _0xc499f8(_0x3d0cce,_0x16f9fc,_0x4058d7);},'OsZdP':_0x32c4af(0x2e4),'TIIKj':'--notes','nHHHm':'--item','bcLfw':function(_0x1772df){return _0x1772df();},'hMpOe':_0x32c4af(0x269),'VmTLD':'verified','RFtyj':function(_0x48a532,_0x511c9e){return _0x48a532===_0x511c9e;},'xzoOj':_0x32c4af(0x1f1),'GdeuB':'\x20INCOMPLETE','AlBoL':_0x32c4af(0x213),'vzlJB':_0x32c4af(0x190)};_0x31216d&&warnRenamed(_0x32c4af(0x183),'ranger\x20go');_0x3c7f07[_0x32c4af(0x2cc)](warnFlagRenamed,_0x3c7f07[_0x32c4af(0x2ef)],'--env',_0x3c7f07[_0x32c4af(0x231)]),_0x3c7f07['PWQZF'](warnFlagRenamed,_0x3c7f07[_0x32c4af(0x2ef)],_0x3c7f07[_0x32c4af(0x203)],_0x3c7f07['TIIKj']),warnFlagRenamed(_0x32c4af(0x195),_0x3c7f07['nHHHm'],_0x32c4af(0x305));const _0x284679=await _0x3c7f07[_0x32c4af(0x279)](loadRangerConfig),_0x1d37c9=isByokEnabled(),_0x4b742b=_0x4b9413['model'],_0x3a5ed7=_0x284679['model'],_0x50eb05=await verifyFeature({'featureId':_0x4b9413['feature'],'profile':_0x4b9413['profile']??_0x4b9413[_0x32c4af(0x23f)]??process[_0x32c4af(0x23f)][_0x32c4af(0x150)],'notes':_0x4b9413['notes']??_0x4b9413['task'],'scenario':_0x4b9413['scenario']??_0x4b9413[_0x32c4af(0x16c)],'startPath':_0x4b9413['start-path'],'baseUrl':_0x4b9413[_0x32c4af(0x259)],'debugOutcome':_0x4b9413[_0x3c7f07[_0x32c4af(0x244)]],'debugAddressComments':_0x4b9413[_0x32c4af(0x257)],'headed':_0x4b9413[_0x32c4af(0x2fa)],'byokEnabled':_0x1d37c9,'flagVerifyModel':_0x4b742b,'configVerifyModel':_0x3a5ed7});console['log']('\x0a'+'='['repeat'](0x3c)),console['log'](_0x50eb05[_0x32c4af(0x1a8)]===_0x3c7f07[_0x32c4af(0x287)]?'\x20VERIFIED':_0x3c7f07['RFtyj'](_0x50eb05[_0x32c4af(0x1a8)],_0x3c7f07[_0x32c4af(0x1d7)])?_0x3c7f07[_0x32c4af(0x1e3)]:_0x50eb05[_0x32c4af(0x1a8)]===_0x32c4af(0x282)?_0x3c7f07[_0x32c4af(0x247)]:_0x50eb05['evaluation']===_0x32c4af(0x1df)?'\x20BLOCKED':'\x20FAILED'),console['log']('='['repeat'](0x3c)),console['log'](_0x32c4af(0x1e5)+_0x50eb05['summary']),console[_0x32c4af(0x271)]('Evaluation:\x20'+_0x50eb05['evaluation']),console[_0x32c4af(0x271)]('Reason:\x20'+_0x50eb05['evaluationReason']),_0x50eb05['issues']?.['length']&&(console[_0x32c4af(0x271)](_0x3c7f07[_0x32c4af(0x1a0)]),_0x50eb05['issues']['forEach']((_0x1c40fc,_0x4bae3e)=>{const _0x35cc28=_0x32c4af;console[_0x35cc28(0x271)]('\x0a'+(_0x4bae3e+0x1)+'.\x20['+_0x1c40fc[_0x35cc28(0x264)]+']\x20'+_0x1c40fc[_0x35cc28(0x1ec)]);})),process['exit'](_0x50eb05['evaluation']===_0x3c7f07[_0x32c4af(0x287)]?0x0:0x1);}export function buildParser(_0x160159){const _0x1b92a0=_0x72327e,_0x385046={'PLddq':_0x1b92a0(0x205),'ssLJR':_0x1b92a0(0x255),'CWvWM':_0x1b92a0(0x1ec),'DLLzW':_0x1b92a0(0x199),'BcLsa':'array','LkIwM':_0x1b92a0(0x2ed),'xTWxk':function(_0x548fce,_0x4bacd8){return _0x548fce+_0x4bacd8;},'yUVwB':_0x1b92a0(0x292),'ltrYY':function(_0xe860b0,_0x325fe3,_0x5e0256,_0x123e49){return _0xe860b0(_0x325fe3,_0x5e0256,_0x123e49);},'nQIDK':'--checklist','BbenK':function(_0x36088d,_0x3748cd,_0x2096de){return _0x36088d(_0x3748cd,_0x2096de);},'QahAB':'current-branch','HcDnD':_0x1b92a0(0x155),'yNxFt':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','HozBv':_0x1b92a0(0x2a9),'mCxap':_0x1b92a0(0x172),'cJkfw':'Include\x20soft-deleted\x20feature\x20reviews','XGyGJ':function(_0x11f27d,_0x4322fd,_0xaa8bcf){return _0x11f27d(_0x4322fd,_0xaa8bcf);},'gKves':_0x1b92a0(0x1d1),'kKwjg':'resume','SPCoA':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Rnvvy':function(_0x5e7581,_0x4bf85e,_0x4ba2ce){return _0x5e7581(_0x4bf85e,_0x4ba2ce);},'suKDc':_0x1b92a0(0x192),'xZGcL':_0x1b92a0(0x18b),'tWVFb':_0x1b92a0(0x1d8),'qitnn':'exclude-scenario','VIyrt':_0x1b92a0(0x2b6),'CPpWs':_0x1b92a0(0x297),'LMeiY':function(_0x1d74e4,_0x41b7f9,_0x5d548d){return _0x1d74e4(_0x41b7f9,_0x5d548d);},'INxjw':_0x1b92a0(0x239),'BMNGC':'get-review','JiGih':function(_0x577ca4,_0x43371a,_0x4fb268){return _0x577ca4(_0x43371a,_0x4fb268);},'QwTHR':'restore','skjlQ':_0x1b92a0(0x1fa),'LWQzL':_0x1b92a0(0x232),'BrVxD':_0x1b92a0(0x175),'MBeFU':'with-deps','bKpEI':_0x1b92a0(0x250),'XYZgJ':_0x1b92a0(0x2d2),'KXUTG':_0x1b92a0(0x1ad),'vdOeb':'opencode','sWEmb':'allow-insecure-localhost','sheRQ':_0x1b92a0(0x1b4),'CVlMu':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','qIttJ':_0x1b92a0(0x2d9),'lTFNB':_0x1b92a0(0x180),'czPxu':function(_0x21e1bf,_0x2a2b9b,_0xcb6d55){return _0x21e1bf(_0x2a2b9b,_0xcb6d55);},'igeMH':function(_0x395ced,_0x22c51a,_0xfdff72){return _0x395ced(_0x22c51a,_0xfdff72);},'xldQB':'setup:all','nMusm':function(_0x31edaf,_0x1de1d7){return _0x31edaf(_0x1de1d7);},'YHRBL':function(_0xd4c398,_0x24b0a4,_0x479cf8){return _0xd4c398(_0x24b0a4,_0x479cf8);},'GznHp':'setup:login','YUhuG':function(_0x52b6b1,_0x3e251e,_0x3d075d){return _0x52b6b1(_0x3e251e,_0x3d075d);},'JmQji':'setup:skills','VSIrS':function(_0x1b8394,_0x58174e){return _0x1b8394!==_0x58174e;},'qKWTQ':'user','zkCzZ':_0x1b92a0(0x185),'ewkuR':'token','jAunY':'Ranger\x20API\x20token\x20(rngr_...)','TeYBG':_0x1b92a0(0x154),'NulRU':_0x1b92a0(0x1c6),'ytgEY':function(_0x22381b,_0x597a65){return _0x22381b(_0x597a65);},'IHxjo':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','nJsLA':'skip-auth','ZbhwJ':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','YcJxs':'all','yoaIC':_0x1b92a0(0x158),'URQyS':'deps','DBFuZ':_0x1b92a0(0x270),'aPnQR':_0x1b92a0(0x25d),'jCfFA':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','JgwNQ':'skip-chromium','oPYcN':_0x1b92a0(0x296),'oMbdY':_0x1b92a0(0x230),'jfxBe':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','PLYjQ':_0x1b92a0(0x1c4),'oGFnY':'mcp-bootstrap','xeYEU':_0x1b92a0(0x259),'mNbYd':_0x1b92a0(0x19b),'YarMg':_0x1b92a0(0x1b2),'BeMrU':_0x1b92a0(0x22f),'Asaem':'profile\x20use','BOsAe':_0x1b92a0(0x304),'BIusS':'yes','ZpQiV':_0x1b92a0(0x1b3),'VOAhx':_0x1b92a0(0x241),'qKGwi':'profile','NhidT':'profile\x20login','uPlcp':_0x1b92a0(0x1f7),'TvzsL':_0x1b92a0(0x23b),'UpYol':_0x1b92a0(0x2f7),'qxrNs':_0x1b92a0(0x27d),'mlGJV':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Exnlw':_0x1b92a0(0x1d2),'XrdQC':'setup-header','CkQEt':function(_0x4ddb20,_0xd4b0b7){return _0x4ddb20(_0xd4b0b7);},'BwHDt':_0x1b92a0(0x161),'NiuLU':'Profile\x20name','WQCZy':_0x1b92a0(0x294),'aFnmT':'key','UnApe':'profile\x20config\x20reset','iWDVT':_0x1b92a0(0x222),'bSUVg':'profile\x20config\x20get','SyRMY':'set\x20<profile>\x20<key>\x20<value>','pwOib':'unset\x20<profile>\x20<key>','SDfwN':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','fKoJG':'add\x20<profile-name>','QpBrt':'Add\x20profile\x20configuration','DeYlT':_0x1b92a0(0x2a7),'sDBAe':'Switch\x20to\x20using\x20a\x20specific\x20profile','NMFXQ':'Delete\x20a\x20cloud\x20profile','GrStM':_0x1b92a0(0x29c),'fKZZb':_0x1b92a0(0x1a3),'cVEtI':'update\x20<profile-name>','ZDbUz':_0x1b92a0(0x1e1),'wEQMC':_0x1b92a0(0x221),'URBsu':'config','efbOh':function(_0x467025,_0x2077f,_0x1971f8){return _0x467025(_0x2077f,_0x1971f8);},'gKMsi':'status','QsXyk':'print-access-token','OsfAR':'Optional\x20feature\x20ID','kdwum':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','IBXLo':'notes','CVElx':_0x1b92a0(0x1fe),'mrExb':'Scenario\x20index\x20(1-based)','apffj':'start-path','XnEdL':_0x1b92a0(0x1c0),'VLQZA':'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.','OwsvL':'headed','lJFAk':'verified','YjSxC':'partial','gfgUP':'blocked','kZNuI':_0x1b92a0(0x1f1),'xHNNf':'debug-address-comments','QxfiD':function(_0x4cbc1e,_0x4a3b2f){return _0x4cbc1e(_0x4a3b2f);},'DlBkm':'encrypt\x20<profile>','mhLot':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','sRnCm':_0x1b92a0(0x23f),'vDzFv':_0x1b92a0(0x272),'WuYNm':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','Lkpqk':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','BBXJC':_0x1b92a0(0x2f0),'zuPvb':'model','GqfRz':'failed','pzaIu':'env-name','LtGFP':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','JJBrO':_0x1b92a0(0x1f2),'HDNkC':'ranger\x20add\x20env','lsAxy':'ranger\x20profile\x20add','PjpVN':'Name\x20of\x20the\x20environment','jJYDe':_0x1b92a0(0x278),'UpmfR':'ranger\x20profile\x20use','shJUi':function(_0x59587e,_0x5d1478,_0x50d183){return _0x59587e(_0x5d1478,_0x50d183);},'pvQQU':_0x1b92a0(0x1d6),'LyhLM':_0x1b92a0(0x20f),'uGJup':'Environment\x20name','HXJSE':'Config\x20value','tTrch':'get\x20<env>\x20<key>','fVOZR':_0x1b92a0(0x234),'glxMi':_0x1b92a0(0x2d7),'jwqOF':'You\x20must\x20specify\x20a\x20config\x20subcommand','aHhbm':_0x1b92a0(0x19e),'SPwIz':_0x1b92a0(0x2c3),'PdHIX':'env\x20list','pwKYe':'update\x20<env-name>','PHPiK':_0x1b92a0(0x28c),'ceQLq':'ranger\x20create','bxron':function(_0x4288bb,_0xafcbea,_0x2d50a1){return _0x4288bb(_0xafcbea,_0x2d50a1);},'jnqmB':'ranger\x20list','oZbbk':_0x1b92a0(0x1dd),'hNypP':function(_0x397967,_0x24aab1,_0x3ae2e0){return _0x397967(_0x24aab1,_0x3ae2e0);},'EaooO':'feature\x20show','TnJYk':function(_0x1ffe4f,_0x77002a,_0x164b82){return _0x1ffe4f(_0x77002a,_0x164b82);},'nSXTT':'ranger\x20feature\x20add-checklist-item','uVvKh':'ranger\x20add-scenario','CikQx':_0x1b92a0(0x262),'UsfWe':'ranger\x20get-review','neIZz':'Feature\x20review\x20ID\x20to\x20restore','hBhuw':'offset','dEFIl':_0x1b92a0(0x2be),'wgqQA':_0x1b92a0(0x238),'fgRWA':_0x1b92a0(0x156),'VnHcY':'ranger\x20delete','VVHNJ':_0x1b92a0(0x22c),'BSPnH':'show\x20[id]','odDgD':'resume\x20[id]','TAOeG':_0x1b92a0(0x2c7),'IOKnH':_0x1b92a0(0x2f1),'vWxnb':'session-id','gPkBz':_0x1b92a0(0x2d0),'dPlCu':_0x1b92a0(0x2d1),'VItJr':_0x1b92a0(0x254),'PXUdf':'Unknown\x20error','YNgre':function(_0x37bdda){return _0x37bdda();},'jaiAT':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','qTosa':_0x1b92a0(0x2f8),'jBpxO':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','wdesz':_0x1b92a0(0x204),'WEJyi':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','zqOCQ':_0x1b92a0(0x20e),'ZQdUI':'Restore\x20a\x20soft-deleted\x20feature\x20review','KoJKb':_0x1b92a0(0x25c),'nRwBW':'setup-ci\x20<token>','RTIrk':_0x1b92a0(0x167),'psVbv':_0x1b92a0(0x2c6),'OvaFk':'auth','qQVjc':'add\x20env\x20<env-name>','xWCAM':_0x1b92a0(0x1fd),'WggUG':_0x1b92a0(0x267),'GCiCQ':'Documentation:\x0a','eeNzI':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','QiagT':'help'};return _0x420141(_0x160159??process['argv']['slice'](0x2))['scriptName'](_0x1b92a0(0x1b8))[_0x1b92a0(0x291)](TOP_LEVEL_HELP)[_0x1b92a0(0x28e)](_0x385046['YNgre'](getCurrentVersion))['command'](_0x1b92a0(0x1ae),_0x385046['jaiAT'],_0x3bc0cc=>{const _0x3dcf61=_0x1b92a0;return _0x3bc0cc[_0x3dcf61(0x277)](_0x385046['PLddq'],{'type':_0x385046[_0x3dcf61(0x226)],'description':_0x3dcf61(0x1c3),'demandOption':!![]})['option'](_0x385046['CWvWM'],{'type':'string','alias':'d','description':_0x3dcf61(0x2cf)})[_0x3dcf61(0x1ed)](_0x385046[_0x3dcf61(0x1f5)],{'type':_0x385046[_0x3dcf61(0x1b6)],'alias':'c','description':_0x3dcf61(0x1c1)})[_0x3dcf61(0x1ed)](_0x385046['LkIwM'],{'type':_0x385046['BcLsa'],'hidden':!![]});},async _0xab2b5c=>{const _0x20a62b=_0x1b92a0;if(!_0xab2b5c['name']){console[_0x20a62b(0x20b)](_0x385046[_0x20a62b(0x233)](_0x385046[_0x20a62b(0x211)],'Example:\x20ranger\x20create\x20my-feature')),process['exit'](0x1);return;}_0x385046[_0x20a62b(0x26a)](warnFlagRenamed,'ranger\x20create',_0x385046[_0x20a62b(0x242)],'--scenario');const _0x34ae01=_0xab2b5c[_0x20a62b(0x199)]||_0xab2b5c['checklist'];await _0x385046[_0x20a62b(0x281)](withTelemetry,_0x20a62b(0x2a1),()=>featureCreate(_0xab2b5c['name'],{'description':_0xab2b5c['description'],'scenarios':_0x34ae01}));})[_0x1b92a0(0x223)](_0x385046[_0x1b92a0(0x1f6)],_0x385046[_0x1b92a0(0x22b)],_0x221de7=>{const _0x12425c=_0x1b92a0;return _0x221de7[_0x12425c(0x1ed)](_0x385046['QahAB'],{'type':_0x385046[_0x12425c(0x17d)],'description':_0x385046['yNxFt']})[_0x12425c(0x1ed)]('limit',{'type':_0x385046[_0x12425c(0x243)],'alias':'l','description':_0x12425c(0x2c4),'default':0xa})['option'](_0x12425c(0x1c7),{'type':_0x385046[_0x12425c(0x243)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x385046[_0x12425c(0x2b0)],{'type':_0x385046[_0x12425c(0x17d)],'alias':'d','description':_0x385046['cJkfw'],'default':![]});},async _0x1ab418=>{const _0x11ac23=_0x1b92a0;await withTelemetry(_0x11ac23(0x22c),()=>featureList({'currentBranch':_0x1ab418['current-branch'],'limit':_0x1ab418['limit'],'offset':_0x1ab418['offset'],'includeDeleted':_0x1ab418[_0x11ac23(0x172)]}));})['command'](_0x385046['BSPnH'],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0xa73802=>{const _0x1736be=_0x1b92a0;return _0xa73802['positional']('id',{'type':_0x385046['ssLJR'],'description':_0x1736be(0x1d8)});},async _0x211470=>{const _0x5c06f8=_0x1b92a0;await _0x385046[_0x5c06f8(0x163)](withTelemetry,'show',()=>featureShow(_0x211470['id']));})[_0x1b92a0(0x223)](_0x1b92a0(0x1a5),_0x1b92a0(0x2ba),_0x5a29cd=>{const _0x508fc8=_0x1b92a0;return _0x5a29cd[_0x508fc8(0x277)]('id',{'type':'string','description':_0x385046[_0x508fc8(0x2e0)]});},async _0x36ea19=>{await withTelemetry(_0x385046['kKwjg'],()=>featureResume(_0x36ea19['id']));})[_0x1b92a0(0x223)](_0x1b92a0(0x25b),_0x385046['jBpxO'],_0x1c0b8f=>{const _0x427f00=_0x1b92a0;return _0x1c0b8f[_0x427f00(0x277)](_0x427f00(0x1ec),{'type':'string','description':_0x427f00(0x238),'demandOption':!![]})[_0x427f00(0x1ed)]('id',{'type':_0x385046['ssLJR'],'description':_0x385046[_0x427f00(0x2f3)]});},async _0x552a4a=>{const _0x1bc59c=_0x1b92a0;await _0x385046['Rnvvy'](withTelemetry,'add-scenario',()=>featureAddScenario(_0x552a4a[_0x1bc59c(0x1ec)],_0x552a4a['id']));})[_0x1b92a0(0x223)](_0x385046['wdesz'],_0x385046['WEJyi'],_0x53d7b5=>{const _0x5a592f=_0x1b92a0;return _0x53d7b5['positional']('description',{'type':_0x385046['ssLJR'],'description':_0x385046['suKDc'],'demandOption':!![]})['option']('scenario',{'type':_0x385046['HozBv'],'description':_0x5a592f(0x2d6),'demandOption':!![]})['option']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x11761c=>{const _0x418b56=_0x1b92a0;await withTelemetry(_0x385046[_0x418b56(0x18f)],()=>featureEditScenario(_0x11761c[_0x418b56(0x1ec)],{'id':_0x11761c['id'],'scenario':_0x11761c[_0x418b56(0x199)]}));})[_0x1b92a0(0x223)](_0x1b92a0(0x2db),_0x1b92a0(0x1c9),_0x1c1858=>{const _0x21b185=_0x1b92a0;return _0x1c1858[_0x21b185(0x277)]('id',{'type':_0x385046['ssLJR'],'description':_0x385046[_0x21b185(0x2f2)]})[_0x21b185(0x1ed)](_0x385046['qitnn'],{'type':_0x21b185(0x2c2),'description':_0x385046[_0x21b185(0x275)]})['option'](_0x385046['CPpWs'],{'type':_0x385046['HcDnD'],'description':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','default':![]});},async _0x126f85=>{const _0x26a7cb=_0x1b92a0,_0x2e410e=_0x126f85['exclude-scenario'],_0x3d3056=_0x2e410e?_0x2e410e['map'](_0x1d171a=>Number(_0x1d171a)):undefined;await _0x385046[_0x26a7cb(0x26e)](withTelemetry,_0x385046['INxjw'],()=>featureReportPrDescription(_0x126f85['id'],{'excludeScenarios':_0x3d3056,'json':_0x126f85[_0x26a7cb(0x297)]}));})['command']('get-review\x20[id]',_0x385046['zqOCQ'],_0x2bd3ae=>{const _0x3b76e7=_0x1b92a0;return _0x2bd3ae[_0x3b76e7(0x277)]('id',{'type':_0x385046['ssLJR'],'description':_0x385046[_0x3b76e7(0x2f3)]});},async _0x3ca984=>{await withTelemetry(_0x385046['BMNGC'],()=>featureGetReview(_0x3ca984['id']));})[_0x1b92a0(0x223)](_0x385046[_0x1b92a0(0x162)],_0x1b92a0(0x2ae),_0x57bcdf=>{const _0x3e9863=_0x1b92a0;return _0x57bcdf[_0x3e9863(0x277)]('id',{'type':'string','description':_0x385046[_0x3e9863(0x2f2)]});},async _0x24c240=>{const _0x3a7c16=_0x1b92a0;await _0x385046[_0x3a7c16(0x216)](withTelemetry,'delete',()=>featureDelete(_0x24c240['id']));})[_0x1b92a0(0x223)]('restore\x20<id>',_0x385046[_0x1b92a0(0x1a9)],_0x55e553=>{const _0x320053=_0x1b92a0;return _0x55e553['positional']('id',{'type':_0x385046[_0x320053(0x226)],'description':_0x320053(0x1a2),'demandOption':!![]});},async _0x59bdbe=>{await withTelemetry(_0x385046['QwTHR'],()=>featureRestore(_0x59bdbe['id']));})['command'](_0x1b92a0(0x268),_0x385046['KoJKb'],_0x148357=>{const _0x1c168a=_0x1b92a0,_0x5a99dc={'deayF':function(_0x175fb6,_0x29ff63,_0x473e08){return _0x175fb6(_0x29ff63,_0x473e08);},'ttyxi':_0x1c168a(0x210),'gWxfu':_0x385046['ewkuR'],'FZgXO':_0x385046['jAunY'],'tXzIx':'mcp','iefej':_0x385046[_0x1c168a(0x17d)],'GUqVF':_0x385046[_0x1c168a(0x226)],'lIAaI':_0x385046[_0x1c168a(0x1da)],'vScRh':_0x385046['NulRU'],'dWeCO':function(_0x574119,_0x4098ad){return _0x385046['nMusm'](_0x574119,_0x4098ad);},'TkqTG':_0x1c168a(0x1b8),'gUypV':function(_0x3c5c2d,_0x34769b){const _0x1c73a0=_0x1c168a;return _0x385046[_0x1c73a0(0x24b)](_0x3c5c2d,_0x34769b);},'TUylX':_0x385046['XYZgJ'],'xpEso':_0x385046[_0x1c168a(0x2ee)],'YFchN':'url','KRYAR':_0x385046[_0x1c168a(0x18d)],'GSAGz':'force','AwNRu':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','bZaPo':_0x385046['sWEmb'],'JBnlg':_0x1c168a(0x1b4)};return _0x148357['usage']('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')['positional'](_0x1c168a(0x207),{'type':_0x385046['ssLJR'],'description':_0x385046[_0x1c168a(0x170)]})[_0x1c168a(0x223)](_0x385046[_0x1c168a(0x235)],_0x385046[_0x1c168a(0x1ba)],_0x19387c=>{const _0x4d99f6=_0x1c168a;return _0x19387c[_0x4d99f6(0x1ed)](_0x4d99f6(0x2fd),{'type':_0x385046['ssLJR'],'description':_0x385046['skjlQ']})[_0x4d99f6(0x1ed)]('skip-chromium',{'type':_0x385046[_0x4d99f6(0x17d)],'description':_0x385046[_0x4d99f6(0x2e6)],'default':![]})[_0x4d99f6(0x1ed)](_0x4d99f6(0x2da),{'type':'boolean','description':_0x385046[_0x4d99f6(0x1d4)],'default':![]})[_0x4d99f6(0x1ed)](_0x385046['MBeFU'],{'type':_0x385046[_0x4d99f6(0x17d)],'description':_0x385046['bKpEI'],'default':![]})['option'](_0x385046[_0x4d99f6(0x178)],{'type':_0x385046['ssLJR'],'choices':['user'],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x4d99f6(0x2d5),{'type':_0x385046['ssLJR'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})[_0x4d99f6(0x1ed)](_0x4d99f6(0x23b),{'type':_0x385046[_0x4d99f6(0x17d)],'description':_0x385046['KXUTG'],'default':![]})['option'](_0x385046[_0x4d99f6(0x194)],{'type':_0x4d99f6(0x155),'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x385046[_0x4d99f6(0x2e8)],{'type':_0x385046[_0x4d99f6(0x17d)],'description':_0x385046['sheRQ'],'default':![]})['option']('mcp-bootstrap',{'type':_0x385046['HcDnD'],'description':_0x385046['CVlMu'],'default':![]})[_0x4d99f6(0x1ed)](_0x385046[_0x4d99f6(0x1b7)],{'type':_0x385046[_0x4d99f6(0x17d)],'description':_0x385046[_0x4d99f6(0x2c5)],'default':![]});},async _0x5584f7=>{const _0x537250=_0x1c168a;(_0x5584f7[_0x537250(0x23c)]||_0x5584f7[_0x537250(0x2d9)])&&await _0x385046['czPxu'](withTelemetry,_0x537250(0x23c),()=>mcpBootstrap()),await _0x385046['igeMH'](withTelemetry,_0x385046[_0x537250(0x197)],_0x35b492=>start(_0x5584f7['token'],{'skipChromium':_0x5584f7[_0x537250(0x284)],'skipAuth':_0x5584f7[_0x537250(0x2da)],'withDeps':_0x5584f7['with-deps'],'scope':_0x5584f7['scope'],'url':_0x5584f7['url'],'force':_0x5584f7[_0x537250(0x23b)],'opencode':_0x5584f7['opencode'],'allowInsecureLocalhost':_0x5584f7['allow-insecure-localhost']},_0x35b492));})['command'](_0x385046[_0x1c168a(0x21b)],_0x385046['DBFuZ'],_0x3cf731=>{const _0x30a4ce=_0x1c168a;return _0x3cf731[_0x30a4ce(0x1ed)]('with-deps',{'type':_0x385046['HcDnD'],'description':_0x30a4ce(0x1c4),'default':![]});},async _0x410eed=>{const _0x3ddece=_0x1c168a;await _0x5a99dc[_0x3ddece(0x1ea)](withTelemetry,_0x5a99dc['ttyxi'],()=>ensureChromium(_0x410eed[_0x3ddece(0x173)]));})[_0x1c168a(0x223)](_0x385046[_0x1c168a(0x15b)],'Authenticate\x20with\x20Ranger',_0x585502=>{const _0x49a2e6=_0x1c168a;return _0x585502[_0x49a2e6(0x1ed)](_0x5a99dc[_0x49a2e6(0x174)],{'type':_0x49a2e6(0x255),'description':_0x5a99dc['FZgXO']})[_0x49a2e6(0x1ed)](_0x5a99dc[_0x49a2e6(0x189)],{'type':_0x5a99dc[_0x49a2e6(0x179)],'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x3ba06c=>{const _0x263eb9={'qJaAa':function(_0x3a3fb){return _0x3a3fb();},'CrHki':function(_0x5d510c,_0x39460f){return _0x5d510c(_0x39460f);},'yrvbY':function(_0x319d15,_0x28981b){return _0x385046['nMusm'](_0x319d15,_0x28981b);}};await _0x385046['YHRBL'](withTelemetry,_0x385046['GznHp'],async()=>{const _0x5da43d=_0x1f2f;if(_0x3ba06c[_0x5da43d(0x2d9)]){await _0x263eb9[_0x5da43d(0x153)](mcpBootstrap);const _0x39042a=await _0x263eb9['qJaAa'](refreshCliToken);if(!_0x39042a)throw new Error(_0x5da43d(0x1de));const _0x416d2c=await _0x263eb9['CrHki'](getCurrentUser,_0x39042a);if(!_0x416d2c[_0x5da43d(0x168)])throw new Error(_0x5da43d(0x215)+_0x416d2c[_0x5da43d(0x20b)]);console['log'](_0x5da43d(0x19a)+_0x416d2c['user'][_0x5da43d(0x248)]);return;}await _0x263eb9[_0x5da43d(0x2dc)](authenticate,_0x3ba06c[_0x5da43d(0x2fd)]);});})[_0x1c168a(0x223)](_0x1c168a(0x2a2),_0x385046['jCfFA'],_0x3bc25f=>{const _0x3cf80e=_0x1c168a;return _0x3bc25f['option']('scope',{'type':_0x5a99dc['GUqVF'],'choices':[_0x3cf80e(0x2ca),_0x5a99dc[_0x3cf80e(0x276)]],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})[_0x3cf80e(0x1ed)](_0x3cf80e(0x1b9),{'type':_0x3cf80e(0x155),'description':_0x5a99dc['vScRh'],'default':![]});},async _0x28f15d=>{await _0x385046['YUhuG'](withTelemetry,_0x385046['JmQji'],async()=>{const _0x442afa=_0x1f2f,_0x6725c5=_0x28f15d['scope'];if(_0x28f15d['opencode']){const _0xf4929e=await _0x5a99dc[_0x442afa(0x224)](ensureOpencodePluginConfig,_0x6725c5);_0xf4929e&&await installSkill(_0x5a99dc['TkqTG'],{'level':_0xf4929e['scope'],'cliVersion':getCurrentVersion(),'platform':'opencode'});}else await _0x5a99dc['gUypV'](ensureClaudePlugin,_0x6725c5),await _0x5a99dc[_0x442afa(0x24f)](ensureClaudeSkills,_0x6725c5);});})[_0x1c168a(0x223)]('profiles','Set\x20up\x20a\x20local\x20browser\x20profile',_0x540a78=>{const _0x52bbb3=_0x1c168a;return _0x540a78[_0x52bbb3(0x1ed)](_0x5a99dc[_0x52bbb3(0x1d3)],{'type':'string','choices':[_0x52bbb3(0x2ca)],'description':_0x5a99dc['xpEso']})['option'](_0x5a99dc['YFchN'],{'type':_0x52bbb3(0x255),'description':'Base\x20URL\x20of\x20the\x20running\x20app'})['option'](_0x5a99dc['KRYAR'],{'type':_0x5a99dc[_0x52bbb3(0x179)],'description':'Skip\x20browser\x20authentication','default':![]})['option'](_0x5a99dc[_0x52bbb3(0x1b0)],{'type':_0x5a99dc['iefej'],'description':_0x5a99dc['AwNRu'],'default':![]})['option'](_0x5a99dc[_0x52bbb3(0x1eb)],{'type':_0x5a99dc[_0x52bbb3(0x179)],'description':_0x5a99dc[_0x52bbb3(0x20a)],'default':![]});},async _0xb7e06a=>{const _0x2276ea=_0x1c168a,_0x226ef=_0xb7e06a[_0x2276ea(0x2d2)];_0x226ef!==undefined&&_0x385046[_0x2276ea(0x164)](_0x226ef,_0x385046['qKWTQ'])&&(console[_0x2276ea(0x20b)](_0x385046[_0x2276ea(0x233)]('ranger\x20setup\x20profiles\x20--scope='+_0x226ef+_0x2276ea(0x2a8)+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.')),process['exit'](0x1)),await withTelemetry(_0x385046['zkCzZ'],_0x3e7ec4=>ensureLocalEnv({'url':_0xb7e06a[_0x2276ea(0x2d5)],'force':_0xb7e06a[_0x2276ea(0x23b)],'allowInsecureLocalhost':_0xb7e06a[_0x2276ea(0x240)],'scope':_0x2276ea(0x2ca)},_0x3e7ec4));})['option'](_0x385046['JgwNQ'],{'type':'boolean','description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x385046['XYZgJ'],{'type':'string','choices':['user'],'hidden':!![],'description':_0x385046['IHxjo']})['option']('url',{'type':_0x385046[_0x1c168a(0x226)],'description':_0x385046[_0x1c168a(0x15a)]})[_0x1c168a(0x1ed)](_0x1c168a(0x23b),{'type':_0x385046[_0x1c168a(0x17d)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x1c168a(0x1ed)](_0x385046[_0x1c168a(0x194)],{'type':_0x385046[_0x1c168a(0x17d)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x1c168a(0x240),{'type':_0x1c168a(0x155),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option']('mcp-bootstrap',{'type':_0x385046['HcDnD'],'description':_0x385046['oMbdY'],'default':![]})['option'](_0x385046[_0x1c168a(0x18d)],{'type':_0x385046['HcDnD'],'description':_0x385046[_0x1c168a(0x265)],'default':![]})[_0x1c168a(0x1ed)](_0x385046['MBeFU'],{'type':_0x385046[_0x1c168a(0x17d)],'description':_0x385046['PLYjQ'],'default':![]})[_0x1c168a(0x1ed)]('token',{'type':_0x385046[_0x1c168a(0x226)],'hidden':!![],'description':'API\x20token'});},async _0x3d4958=>{const _0x51b8b0=_0x1b92a0,_0x2d968e=_0x3d4958['tokenOrSubcommand'],_0x5d4c04=_0x3d4958['token']??_0x2d968e;_0x3d4958[_0x385046[_0x51b8b0(0x2f9)]]&&await withTelemetry(_0x51b8b0(0x23c),()=>mcpBootstrap()),await _0x385046[_0x51b8b0(0x26f)](withTelemetry,_0x51b8b0(0x208),_0x439915=>start(_0x5d4c04,{'skipChromium':_0x3d4958[_0x51b8b0(0x284)],'skipAuth':_0x3d4958['skip-auth'],'withDeps':_0x3d4958[_0x51b8b0(0x173)],'scope':_0x3d4958['scope'],'url':_0x3d4958[_0x51b8b0(0x2d5)],'force':_0x3d4958['force'],'opencode':_0x3d4958[_0x51b8b0(0x1b9)],'allowInsecureLocalhost':_0x3d4958[_0x51b8b0(0x240)]},_0x439915));})[_0x1b92a0(0x223)](_0x385046[_0x1b92a0(0x1d0)],![],_0x79dc65=>{const _0x377004=_0x1b92a0;return _0x79dc65['positional'](_0x377004(0x2fd),{'type':_0x377004(0x255),'description':_0x377004(0x1fa),'demandOption':!![]})[_0x377004(0x1ed)]('profile',{'type':_0x385046['ssLJR'],'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})['option'](_0x385046['xeYEU'],{'type':_0x385046['ssLJR'],'description':_0x385046['mNbYd']})[_0x377004(0x1ed)](_0x377004(0x284),{'type':_0x385046['HcDnD'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x46341f=>{const _0x1b4398=_0x1b92a0;await withTelemetry(_0x1b4398(0x1dc),_0x44608a=>setupCi(_0x46341f['token'],{'profile':_0x46341f['profile'],'baseUrl':_0x46341f[_0x1b4398(0x259)],'skipChromium':_0x46341f[_0x1b4398(0x284)]},_0x44608a));})[_0x1b92a0(0x223)](_0x385046['aPnQR'],'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{const _0xfe6513=_0x1b92a0;await withTelemetry(_0x385046[_0xfe6513(0x15b)],()=>login());})['command'](_0x1b92a0(0x22f),_0x385046['RTIrk'],_0x5abc35=>{const _0x28cf61=_0x1b92a0;return _0x5abc35['option'](_0x385046[_0x28cf61(0x194)],{'type':_0x385046[_0x28cf61(0x17d)],'description':'Install\x20skills\x20for\x20OpenCode','default':![]})['option'](_0x385046[_0x28cf61(0x178)],{'type':_0x385046[_0x28cf61(0x226)],'choices':[_0x385046['qKWTQ'],_0x385046[_0x28cf61(0x1da)]],'description':_0x385046['YarMg']});},async _0x5d19d1=>{const _0x49c3ac=_0x1b92a0,_0x117550=Boolean(_0x5d19d1[_0x49c3ac(0x1b9)]);await _0x385046[_0x49c3ac(0x1cd)](withTelemetry,_0x385046['BeMrU'],()=>skillup({'autoInstall':_0x5d19d1['scope'],'platform':_0x117550?_0x49c3ac(0x1b9):_0x49c3ac(0x17b)}));})['command']('clean',_0x1b92a0(0x1d9),()=>{},async()=>{const _0x5af3cc=_0x1b92a0;await _0x385046['BbenK'](withTelemetry,_0x5af3cc(0x2af),()=>clean());})[_0x1b92a0(0x223)]([_0x385046[_0x1b92a0(0x2de)],'profiles'],'Manage\x20profiles',_0x1a8309=>{const _0x1121fa=_0x1b92a0,_0x34f2d4={'IikBM':_0x385046['ssLJR'],'oOKUP':_0x1121fa(0x2da),'weUMO':_0x1121fa(0x155),'JjPhL':_0x385046[_0x1121fa(0x1cb)],'VELXn':_0x1121fa(0x2d5),'NmKEO':_0x385046['TvzsL'],'YHAnZ':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ttKOz':_0x385046['UpYol'],'yAmAz':_0x385046[_0x1121fa(0x246)],'xxCZy':_0x385046[_0x1121fa(0x15d)],'IUncH':_0x385046[_0x1121fa(0x2ec)],'xACUc':_0x385046[_0x1121fa(0x24a)],'DswmO':_0x1121fa(0x2ca),'RSRVu':'project','ppeSR':_0x1121fa(0x1bb),'GNBrt':function(_0x52cabb,_0x4b2b7c){const _0x45dc09=_0x1121fa;return _0x385046[_0x45dc09(0x1ca)](_0x52cabb,_0x4b2b7c);},'uUToe':_0x385046[_0x1121fa(0x18c)],'rLhwi':'Name\x20of\x20the\x20profile','xhkVu':'profile\x20update','tEoNE':_0x385046[_0x1121fa(0x290)],'AvfLy':function(_0x3d759c,_0x30d401,_0x2a69e0){return _0x385046['XGyGJ'](_0x3d759c,_0x30d401,_0x2a69e0);},'vFxyN':_0x385046['BwHDt'],'mcpkI':_0x1121fa(0x237),'xrcrJ':'unknown\x20error','KSthN':_0x1121fa(0x2a0),'rfQwW':_0x385046['YcJxs'],'NGXWJ':_0x1121fa(0x22e),'fwGFD':'Skip\x20interactive\x20confirmation\x20prompts.','mLpxU':_0x385046['NiuLU'],'aUFsp':_0x385046[_0x1121fa(0x2b8)],'LjkTE':function(_0x1b72df,_0x177d05,_0x5e048e){return _0x1b72df(_0x177d05,_0x5e048e);},'TTjWR':_0x1121fa(0x1af),'jGHUv':_0x385046['qKGwi'],'pCbYH':_0x385046[_0x1121fa(0x303)],'IQFaF':_0x385046[_0x1121fa(0x27f)],'YKxap':_0x385046[_0x1121fa(0x1bf)],'iozyf':_0x385046['bSUVg'],'HvlvD':function(_0x2f0a27,_0x501954,_0x94eaf1){const _0x123c19=_0x1121fa;return _0x385046[_0x123c19(0x163)](_0x2f0a27,_0x501954,_0x94eaf1);},'XPQqR':_0x385046['SyRMY'],'uuIvt':_0x1121fa(0x2cb),'NFQQJ':_0x1121fa(0x29d),'XsfNc':_0x385046['pwOib'],'EVBhW':'reset\x20<profile>','ItImg':_0x385046[_0x1121fa(0x27c)]};return _0x1a8309[_0x1121fa(0x291)](PROFILE_HELP)['command'](_0x385046['fKoJG'],_0x385046[_0x1121fa(0x2d4)],_0x5c0d72=>{const _0x492d17=_0x1121fa;return _0x5c0d72['positional'](_0x492d17(0x304),{'type':_0x34f2d4['IikBM'],'description':_0x492d17(0x18a),'demandOption':!![]})[_0x492d17(0x1ed)]('ci',{'type':_0x492d17(0x155),'hidden':!![],'default':![]})['option'](_0x34f2d4[_0x492d17(0x23e)],{'type':_0x34f2d4[_0x492d17(0x1a4)],'description':_0x34f2d4['JjPhL'],'default':![]})[_0x492d17(0x1ed)](_0x34f2d4[_0x492d17(0x28b)],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x34f2d4[_0x492d17(0x1fc)],{'type':_0x492d17(0x155),'description':_0x34f2d4['YHAnZ'],'default':![]})['option'](_0x34f2d4[_0x492d17(0x2c0)],{'type':_0x34f2d4['IikBM'],'description':_0x34f2d4['yAmAz']})[_0x492d17(0x1ed)](_0x492d17(0x240),{'type':_0x34f2d4[_0x492d17(0x1a4)],'description':_0x34f2d4['xxCZy'],'default':![]})['option']('safe-mode',{'type':_0x34f2d4[_0x492d17(0x1a4)],'description':_0x34f2d4['IUncH'],'default':![]})['option'](_0x34f2d4[_0x492d17(0x209)],{'type':'string','array':!![],'description':_0x492d17(0x2fc)})[_0x492d17(0x1ed)](_0x492d17(0x2d2),{'type':'string','choices':[_0x34f2d4[_0x492d17(0x26d)],_0x34f2d4['RSRVu']],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})[_0x492d17(0x1ed)](_0x34f2d4[_0x492d17(0x17c)],{'type':_0x34f2d4['weUMO'],'alias':'y','description':_0x492d17(0x249),'default':![]});},async _0x4a9b72=>{const _0x15ee54=_0x1121fa;await withTelemetry(_0x15ee54(0x2d3),_0x7f8dfb=>addEnv(_0x4a9b72[_0x15ee54(0x304)],{'ci':_0x4a9b72['ci'],'skipAuth':_0x4a9b72['skip-auth'],'url':_0x4a9b72['url'],'force':_0x4a9b72['force'],'cdpEndpoint':_0x4a9b72[_0x15ee54(0x2f7)],'allowInsecureLocalhost':_0x4a9b72['allow-insecure-localhost'],'safeMode':_0x4a9b72['safe-mode'],'setupHeader':_0x4a9b72['setup-header'],'scope':_0x4a9b72['scope'],'yes':_0x4a9b72[_0x15ee54(0x1bb)]},_0x7f8dfb),{'isElectron':_0x34f2d4['GNBrt'](Boolean,_0x4a9b72[_0x15ee54(0x2f7)])});})['command'](_0x385046[_0x1121fa(0x2a3)],_0x385046['sDBAe'],_0x3f0681=>{const _0x506752=_0x1121fa;return _0x3f0681['positional'](_0x34f2d4['uUToe'],{'type':_0x34f2d4['IikBM'],'description':_0x34f2d4[_0x506752(0x29f)],'demandOption':!![]});},async _0x447bcd=>{await withTelemetry(_0x385046['Asaem'],()=>useEnv(_0x447bcd['profile-name']));})[_0x1121fa(0x223)]('delete\x20<profile-name>',_0x385046['NMFXQ'],_0xb0941b=>{const _0x5834b5=_0x1121fa;return _0xb0941b['positional'](_0x385046['BOsAe'],{'type':_0x385046[_0x5834b5(0x226)],'description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})['option'](_0x385046[_0x5834b5(0x176)],{'type':_0x385046['HcDnD'],'alias':'y','description':_0x385046[_0x5834b5(0x1ee)],'default':![]});},async _0x43dc28=>{const _0x1aed14=_0x1121fa;await withTelemetry(_0x385046['VOAhx'],()=>deleteProfile(_0x43dc28[_0x1aed14(0x304)],{'yes':_0x43dc28[_0x1aed14(0x1bb)]}));})[_0x1121fa(0x223)](_0x385046[_0x1121fa(0x16b)],![],_0x43059c=>{const _0x3f5975=_0x1121fa;return _0x43059c['positional'](_0x385046['qKGwi'],{'type':_0x385046['ssLJR'],'description':_0x3f5975(0x2eb),'demandOption':!![]});},async _0x4d10bd=>{const _0x492b9f=_0x1121fa;await withTelemetry(_0x492b9f(0x299),()=>authEncrypt(_0x4d10bd[_0x492b9f(0x2b4)]));})['command']('ls',_0x385046['fKZZb'],()=>{},async()=>{const _0x26015b=_0x1121fa;await withTelemetry(_0x26015b(0x20d),()=>envList());})[_0x1121fa(0x223)](_0x385046['cVEtI'],_0x385046[_0x1121fa(0x196)],_0x37fc72=>{const _0x25982c=_0x1121fa;return _0x37fc72['positional'](_0x34f2d4[_0x25982c(0x1ce)],{'type':_0x34f2d4['IikBM'],'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})[_0x25982c(0x1ed)](_0x25982c(0x240),{'type':_0x34f2d4[_0x25982c(0x1a4)],'description':_0x25982c(0x2ac)});},async _0x513601=>{await withTelemetry(_0x34f2d4['xhkVu'],_0x7ce748=>updateEnv(_0x513601['profile-name'],_0x7ce748,{'allowInsecureLocalhost':_0x513601['allow-insecure-localhost']}));})[_0x1121fa(0x223)](_0x1121fa(0x152),![],_0x40f8c0=>{const _0x58892e=_0x1121fa;return _0x40f8c0[_0x58892e(0x277)](_0x34f2d4['tEoNE'],{'type':_0x34f2d4[_0x58892e(0x22d)],'description':_0x58892e(0x182),'demandOption':!![]});},async _0x381fdc=>{const _0x354eb1=_0x1121fa;await _0x385046['YUhuG'](withTelemetry,_0x385046[_0x354eb1(0x2bc)],async()=>{const _0x36d267=_0x354eb1,_0x3ef21a=process['env']['RANGER_TEST_USERNAME'],_0x59447b=process['env']['RANGER_TEST_PASSWORD'];(!_0x3ef21a||!_0x59447b)&&(console['error']('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process['exit'](0x1));const _0x4544dd=_0x381fdc['name'],_0x1ac250=await _0x34f2d4[_0x36d267(0x29a)](serverSideLogin,_0x4544dd,{'force':!![]});_0x1ac250[_0x36d267(0x16a)]===_0x34f2d4[_0x36d267(0x266)]&&(console['error'](_0x36d267(0x200)),process['exit'](0x1)),_0x1ac250['status']===_0x34f2d4[_0x36d267(0x27b)]&&(console[_0x36d267(0x20b)]('Login\x20failed:\x20'+(_0x1ac250['error']??_0x34f2d4['xrcrJ'])),_0x1ac250['test_output']&&console['error'](_0x1ac250[_0x36d267(0x274)]),process['exit'](0x1)),console['log']('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x4544dd+_0x36d267(0x273));});})['command'](_0x385046[_0x1121fa(0x25e)],![],_0x4e8ac0=>{const _0x1dd900=_0x1121fa;return _0x4e8ac0[_0x1dd900(0x277)]('profile-name',{'type':_0x1dd900(0x255),'description':_0x34f2d4[_0x1dd900(0x23a)]})['option'](_0x34f2d4['rfQwW'],{'type':_0x1dd900(0x155),'description':_0x34f2d4['NGXWJ'],'default':![]})[_0x1dd900(0x1ed)](_0x1dd900(0x212),{'type':'boolean','description':_0x1dd900(0x1ff),'default':![]})['option'](_0x34f2d4['ppeSR'],{'type':_0x1dd900(0x155),'alias':'y','description':_0x34f2d4['fwGFD'],'default':![]})['option'](_0x1dd900(0x16f),{'type':_0x34f2d4[_0x1dd900(0x1a4)],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x15f13d=>{const _0x3fbb55=_0x1121fa;await withTelemetry('profile\x20migrate',_0x33a4b6=>migrateProfile({'profileName':_0x15f13d['profile-name'],'all':_0x15f13d[_0x3fbb55(0x184)],'dryRun':_0x15f13d[_0x3fbb55(0x212)],'yes':_0x15f13d['yes'],'saveCreds':_0x15f13d['save-creds']},_0x33a4b6));})[_0x1121fa(0x223)](_0x385046[_0x1121fa(0x253)],'Manage\x20profile\x20configuration',_0x12af6d=>{const _0x1073ba=_0x1121fa,_0x306139={'kgaDh':_0x34f2d4['jGHUv'],'sQAKV':_0x34f2d4[_0x1073ba(0x22d)],'rGFkH':_0x34f2d4['mLpxU'],'LSKxY':_0x34f2d4['pCbYH'],'SgSwY':_0x34f2d4['YKxap'],'nCJnt':_0x34f2d4[_0x1073ba(0x263)],'YnEJH':function(_0x2bc3f0,_0x8ccb88,_0x58f5e6){const _0x358cb8=_0x1073ba;return _0x34f2d4[_0x358cb8(0x220)](_0x2bc3f0,_0x8ccb88,_0x58f5e6);}};return _0x12af6d[_0x1073ba(0x291)](PROFILE_CONFIG_HELP)[_0x1073ba(0x223)](_0x34f2d4[_0x1073ba(0x2b7)],_0x34f2d4[_0x1073ba(0x1c8)],_0x344cda=>{const _0x2d4584=_0x1073ba;return _0x344cda['positional'](_0x306139[_0x2d4584(0x236)],{'type':_0x306139['sQAKV'],'description':_0x306139['rGFkH'],'demandOption':!![]})[_0x2d4584(0x277)](_0x306139['LSKxY'],{'type':_0x306139[_0x2d4584(0x300)],'description':_0x306139[_0x2d4584(0x1bd)],'demandOption':!![]})['positional'](_0x2d4584(0x1f3),{'type':'string','description':_0x2d4584(0x22a),'demandOption':!![]});},async _0x348dc2=>{const _0x378158=_0x1073ba;await withTelemetry('profile\x20config\x20set',()=>configSet(_0x348dc2[_0x378158(0x2b4)],_0x348dc2[_0x378158(0x214)],_0x348dc2[_0x378158(0x1f3)]));})[_0x1073ba(0x223)](_0x34f2d4[_0x1073ba(0x301)],'Get\x20a\x20config\x20value',_0x42d6be=>{const _0x4452a3=_0x1073ba;return _0x42d6be['positional']('profile',{'type':_0x4452a3(0x255),'description':_0x34f2d4['mLpxU'],'demandOption':!![]})['positional'](_0x4452a3(0x214),{'type':_0x34f2d4[_0x4452a3(0x22d)],'description':_0x34f2d4[_0x4452a3(0x2e3)],'demandOption':!![]});},async _0x123591=>{const _0x308886=_0x1073ba;await withTelemetry(_0x306139['nCJnt'],()=>configGet(_0x123591[_0x308886(0x2b4)],_0x123591[_0x308886(0x214)]));})[_0x1073ba(0x223)]('list\x20<profile>',_0x1073ba(0x17f),_0x580868=>{const _0x2580a2=_0x1073ba;return _0x580868[_0x2580a2(0x277)](_0x2580a2(0x2b4),{'type':'string','description':_0x2580a2(0x2eb),'demandOption':!![]});},async _0x3fb091=>{const _0x1073f0=_0x1073ba;await _0x34f2d4['LjkTE'](withTelemetry,_0x34f2d4[_0x1073f0(0x1a6)],()=>configList(_0x3fb091[_0x1073f0(0x2b4)]));})['command'](_0x34f2d4['XsfNc'],'Remove\x20a\x20config\x20value',_0x4e6e73=>{const _0xf7fe47=_0x1073ba;return _0x4e6e73[_0xf7fe47(0x277)](_0x34f2d4[_0xf7fe47(0x20c)],{'type':_0x34f2d4['IikBM'],'description':_0x34f2d4[_0xf7fe47(0x157)],'demandOption':!![]})['positional'](_0x34f2d4[_0xf7fe47(0x1e2)],{'type':_0xf7fe47(0x255),'description':_0xf7fe47(0x1e8),'demandOption':!![]});},async _0x18be82=>{const _0x5699bb=_0x1073ba;await _0x306139['YnEJH'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x18be82[_0x5699bb(0x2b4)],_0x18be82[_0x5699bb(0x214)]));})[_0x1073ba(0x223)](_0x34f2d4['EVBhW'],_0x1073ba(0x2f4),_0x40a2e2=>{const _0x52c269=_0x1073ba;return _0x40a2e2[_0x52c269(0x277)](_0x34f2d4[_0x52c269(0x20c)],{'type':'string','description':_0x34f2d4[_0x52c269(0x157)],'demandOption':!![]});},async _0x1fac39=>{const _0x43e66b=_0x1073ba;await withTelemetry(_0x34f2d4[_0x43e66b(0x1db)],()=>configReset(_0x1fac39[_0x43e66b(0x2b4)]));})[_0x1073ba(0x288)](0x1,_0x34f2d4['ItImg']);})[_0x1121fa(0x288)](0x1,_0x1121fa(0x2ea));})['command'](_0x385046[_0x1b92a0(0x28f)],_0x1b92a0(0x1bc),()=>{},async()=>{const _0x26a95f=_0x1b92a0;await _0x385046[_0x26a95f(0x159)](withTelemetry,_0x385046['gKMsi'],()=>status());})['command']('update','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x2ccfa3=_0x1b92a0;await _0x385046[_0x2ccfa3(0x216)](withTelemetry,'update',()=>update());})['command'](_0x385046[_0x1b92a0(0x289)],_0x385046['psVbv'],()=>{},async()=>{const _0x58bb7a=_0x1b92a0;await withTelemetry(_0x385046[_0x58bb7a(0x289)],async()=>{const _0x276bed=_0x58bb7a,_0x55fc9a=await getToken();if(!_0x55fc9a)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console[_0x276bed(0x271)](_0x55fc9a);});})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x3a394a=>{const _0x170654=_0x1b92a0;return _0x3a394a['option']('feature',{'type':'string','description':_0x385046['OsfAR']})['option']('profile',{'type':_0x170654(0x255),'description':_0x385046['kdwum']})[_0x170654(0x1ed)](_0x385046[_0x170654(0x1f0)],{'type':_0x385046[_0x170654(0x226)],'description':_0x385046[_0x170654(0x245)]})[_0x170654(0x1ed)](_0x170654(0x199),{'type':_0x385046['HozBv'],'description':_0x385046['mrExb']})[_0x170654(0x1ed)](_0x385046['apffj'],{'type':'string','description':_0x170654(0x198)})[_0x170654(0x1ed)](_0x385046['xeYEU'],{'type':_0x385046[_0x170654(0x226)],'description':_0x385046[_0x170654(0x19d)]})['option']('model',{'type':_0x385046[_0x170654(0x226)],'description':_0x385046[_0x170654(0x21d)]})[_0x170654(0x1ed)](_0x385046['OwsvL'],{'type':_0x385046[_0x170654(0x17d)],'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})['option'](_0x170654(0x269),{'type':_0x385046['ssLJR'],'hidden':!![],'choices':[_0x385046[_0x170654(0x2e7)],_0x385046[_0x170654(0x227)],_0x385046[_0x170654(0x286)],'failed',_0x385046['kZNuI']]})[_0x170654(0x1ed)](_0x385046['xHNNf'],{'type':_0x385046['HcDnD'],'hidden':!![]})[_0x170654(0x1ed)]('env',{'type':_0x385046['ssLJR'],'hidden':!![]})[_0x170654(0x1ed)]('task',{'type':_0x385046[_0x170654(0x226)],'hidden':!![]})['option']('item',{'type':_0x170654(0x2a9),'hidden':!![]});},async _0x59d7b7=>{const _0x624469=_0x1b92a0;await _0x385046[_0x624469(0x2cd)](runGoCommand,_0x59d7b7);})['command'](_0x385046[_0x1b92a0(0x218)],![],_0x37ecd1=>{const _0x4636da=_0x1b92a0,_0x57d875={'JidYi':_0x4636da(0x1cf),'OMSau':function(_0x6ed217,_0x29ccc1){return _0x6ed217(_0x29ccc1);}};return _0x37ecd1['command'](_0x385046['DlBkm'],![],_0x2043e1=>{const _0x11b575=_0x4636da;return _0x2043e1['positional'](_0x385046['qKGwi'],{'type':_0x385046[_0x11b575(0x226)],'description':_0x385046['NiuLU'],'demandOption':!![]});},async _0x45db62=>{const _0x6cec0f=_0x4636da;warnRenamed('ranger\x20auth\x20encrypt',_0x57d875['JidYi']),await _0x57d875[_0x6cec0f(0x285)](authEncrypt,_0x45db62['profile']);})[_0x4636da(0x288)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})[_0x1b92a0(0x223)](_0x1b92a0(0x28d),![],_0xf69a68=>{const _0x39958e=_0x1b92a0;return _0xf69a68['positional'](_0x39958e(0x2fd),{'type':_0x385046['ssLJR'],'description':_0x385046['mhLot']})['option'](_0x39958e(0x284),{'type':_0x39958e(0x155),'description':_0x385046[_0x39958e(0x2e6)],'default':![]})[_0x39958e(0x1ed)](_0x385046[_0x39958e(0x178)],{'type':'string','choices':[_0x39958e(0x2ca)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x39958e(0x1ed)](_0x39958e(0x2d5),{'type':_0x39958e(0x255),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x39958e(0x1ed)](_0x385046['TvzsL'],{'type':_0x39958e(0x155),'description':_0x385046[_0x39958e(0x151)],'default':![]})['option']('skip-auth',{'type':'boolean','description':_0x385046[_0x39958e(0x1d4)],'default':![]})[_0x39958e(0x1ed)](_0x385046['MBeFU'],{'type':_0x385046['HcDnD'],'description':_0x39958e(0x250),'default':![]});},async _0x4f101c=>{const _0x44be8b=_0x1b92a0;warnRenamed(_0x44be8b(0x2e9),_0x44be8b(0x2e2)),await _0x385046['efbOh'](withTelemetry,'start',_0x99938b=>start(_0x4f101c['token'],{'skipChromium':_0x4f101c[_0x44be8b(0x284)],'skipAuth':_0x4f101c[_0x44be8b(0x2da)],'withDeps':_0x4f101c['with-deps'],'scope':_0x4f101c[_0x44be8b(0x2d2)],'url':_0x4f101c[_0x44be8b(0x2d5)],'force':_0x4f101c[_0x44be8b(0x23b)]},_0x99938b));})[_0x1b92a0(0x223)](_0x1b92a0(0x1e9),![],_0x50fb4a=>{const _0x49fb5f=_0x1b92a0;return _0x50fb4a[_0x49fb5f(0x1ed)](_0x385046['sRnCm'],{'type':_0x49fb5f(0x255),'description':_0x385046[_0x49fb5f(0x17a)]})[_0x49fb5f(0x1ed)](_0x49fb5f(0x15c),{'type':_0x49fb5f(0x255),'description':_0x385046['WuYNm']})[_0x49fb5f(0x1ed)]('item',{'type':'number','description':_0x385046['mrExb']})['option'](_0x385046['qKGwi'],{'type':_0x49fb5f(0x255),'hidden':!![]})['option'](_0x385046[_0x49fb5f(0x1f0)],{'type':'string','hidden':!![]})['option']('scenario',{'type':_0x385046['HozBv'],'hidden':!![]})[_0x49fb5f(0x1ed)]('start-path',{'type':'string','description':_0x385046[_0x49fb5f(0x302)]})['option'](_0x49fb5f(0x259),{'type':_0x49fb5f(0x255),'description':_0x385046[_0x49fb5f(0x23d)]})['option'](_0x385046['zuPvb'],{'type':_0x385046['ssLJR'],'hidden':!![]})[_0x49fb5f(0x1ed)](_0x385046[_0x49fb5f(0x295)],{'type':_0x385046['HcDnD'],'hidden':!![],'default':![]})['option'](_0x49fb5f(0x269),{'type':_0x385046[_0x49fb5f(0x226)],'hidden':!![],'choices':[_0x49fb5f(0x251),'partial',_0x385046['gfgUP'],_0x385046[_0x49fb5f(0x1f8)],_0x385046['kZNuI']]});},async _0x5ddbba=>{await _0x385046['LMeiY'](runGoCommand,_0x5ddbba,!![]);})['command'](_0x385046['qQVjc'],![],_0x2157c4=>{const _0x37ad09=_0x1b92a0;return _0x2157c4['positional'](_0x385046[_0x37ad09(0x26c)],{'type':'string','description':_0x385046['LtGFP'],'demandOption':!![]})['option']('ci',{'type':_0x385046['HcDnD'],'description':_0x385046[_0x37ad09(0x2bb)],'default':![]})['option']('skip-auth',{'type':'boolean','description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]});},async _0x5b3dd1=>{const _0x5d6f68=_0x1b92a0;warnRenamed(_0x385046[_0x5d6f68(0x2b1)],_0x385046[_0x5d6f68(0x2a6)]),await _0x385046['Rnvvy'](withTelemetry,_0x5d6f68(0x165),_0x55fc83=>addEnv(_0x5b3dd1[_0x5d6f68(0x283)],{'ci':_0x5b3dd1['ci'],'skipAuth':_0x5b3dd1['skip-auth']},_0x55fc83));})['command'](_0x385046['xWCAM'],![],_0x37d349=>{const _0x506447=_0x1b92a0;return _0x37d349[_0x506447(0x277)]('env-name',{'type':_0x506447(0x255),'description':_0x385046[_0x506447(0x171)],'demandOption':!![]});},async _0x1bc1bc=>{const _0x12be36=_0x1b92a0;_0x385046[_0x12be36(0x216)](warnRenamed,_0x385046[_0x12be36(0x181)],_0x385046[_0x12be36(0x2df)]),await _0x385046['shJUi'](withTelemetry,'use',()=>useEnv(_0x1bc1bc[_0x12be36(0x283)]));})['command'](_0x385046['URBsu'],![],_0x2cacd4=>{const _0x209d60=_0x1b92a0,_0x287915={'VupaT':_0x385046[_0x209d60(0x17e)],'xuRch':_0x385046[_0x209d60(0x226)],'ARCeW':_0x209d60(0x214),'anhjO':_0x385046['iWDVT'],'cVIuu':_0x385046['HXJSE'],'KDafZ':function(_0x48ad19,_0x233a1a,_0x515c85){return _0x385046['igeMH'](_0x48ad19,_0x233a1a,_0x515c85);},'rjwzQ':'ranger\x20config\x20set','wNXHS':'Environment\x20name'};return _0x2cacd4['command']('set\x20<env>\x20<key>\x20<value>',![],_0x27d15c=>{const _0x30a3bf=_0x209d60;return _0x27d15c[_0x30a3bf(0x277)](_0x287915['VupaT'],{'type':_0x287915['xuRch'],'description':'Environment\x20name','demandOption':!![]})['positional'](_0x287915[_0x30a3bf(0x202)],{'type':_0x30a3bf(0x255),'description':_0x287915['anhjO'],'demandOption':!![]})['positional']('value',{'type':_0x30a3bf(0x255),'description':_0x287915['cVIuu'],'demandOption':!![]});},async _0x57490d=>{const _0x49639c=_0x209d60;_0x287915['KDafZ'](warnRenamed,_0x287915['rjwzQ'],_0x49639c(0x2fe)),await _0x287915[_0x49639c(0x27a)](withTelemetry,'config\x20set',()=>configSet(_0x57490d['env'],_0x57490d[_0x49639c(0x214)],_0x57490d[_0x49639c(0x1f3)]));})['command'](_0x385046['tTrch'],![],_0x41a76e=>{const _0x368ff2=_0x209d60;return _0x41a76e['positional']('env',{'type':_0x287915[_0x368ff2(0x1a7)],'description':'Environment\x20name','demandOption':!![]})['positional'](_0x287915[_0x368ff2(0x202)],{'type':_0x287915[_0x368ff2(0x1a7)],'description':'Config\x20key','demandOption':!![]});},async _0x1f429f=>{const _0x1a8e27=_0x209d60;_0x385046[_0x1a8e27(0x281)](warnRenamed,_0x385046[_0x1a8e27(0x193)],'ranger\x20profile\x20config\x20get'),await withTelemetry(_0x1a8e27(0x252),()=>configGet(_0x1f429f[_0x1a8e27(0x23f)],_0x1f429f[_0x1a8e27(0x214)]));})['command'](_0x385046['fVOZR'],![],_0x1450e7=>{const _0x2bdc01=_0x209d60;return _0x1450e7['positional'](_0x2bdc01(0x23f),{'type':_0x2bdc01(0x255),'description':_0x287915['wNXHS'],'demandOption':!![]});},async _0x2853f3=>{const _0x3ecce6=_0x209d60;_0x385046[_0x3ecce6(0x159)](warnRenamed,'ranger\x20config\x20list','ranger\x20profile\x20config\x20list'),await withTelemetry(_0x385046[_0x3ecce6(0x2f5)],()=>configList(_0x2853f3['env']));})['command'](_0x385046[_0x209d60(0x1ab)],![],_0x3b48be=>{const _0x3ec3a8=_0x209d60;return _0x3b48be['positional'](_0x3ec3a8(0x23f),{'type':_0x385046[_0x3ec3a8(0x226)],'description':_0x385046[_0x3ec3a8(0x186)],'demandOption':!![]})['positional'](_0x3ec3a8(0x214),{'type':_0x385046[_0x3ec3a8(0x226)],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x17bc99=>{const _0x2c8472=_0x209d60;_0x385046[_0x2c8472(0x159)](warnRenamed,_0x2c8472(0x2bf),'ranger\x20profile\x20config\x20unset'),await withTelemetry('config\x20unset',()=>configUnset(_0x17bc99[_0x2c8472(0x23f)],_0x17bc99['key']));})[_0x209d60(0x288)](0x1,_0x385046[_0x209d60(0x21e)]);})['command'](_0x385046['sRnCm'],![],_0x148001=>{const _0x41df06=_0x1b92a0,_0x211e69={'ESoYX':function(_0x3f23c4,_0x162443,_0xf122f9){return _0x3f23c4(_0x162443,_0xf122f9);},'vnqCZ':_0x385046[_0x41df06(0x27e)],'Pfuvj':_0x385046['SPwIz'],'FzyPW':_0x385046[_0x41df06(0x177)],'eXeFv':_0x385046['pzaIu'],'YyBtW':_0x41df06(0x219),'cCfBx':'env\x20update'};return _0x148001[_0x41df06(0x223)]('ls',![],()=>{},async()=>{const _0x4c5988=_0x41df06;_0x211e69[_0x4c5988(0x2b2)](warnRenamed,_0x211e69[_0x4c5988(0x2e1)],_0x211e69['Pfuvj']),await _0x211e69[_0x4c5988(0x2b2)](withTelemetry,_0x211e69[_0x4c5988(0x16d)],()=>envList());})['command'](_0x385046['pwKYe'],![],_0xde7ba=>{const _0x1b9288=_0x41df06;return _0xde7ba[_0x1b9288(0x277)](_0x211e69[_0x1b9288(0x2fb)],{'type':'string','description':_0x211e69['YyBtW'],'demandOption':!![]});},async _0x5b0dfb=>{const _0x48c7b5=_0x41df06;_0x211e69[_0x48c7b5(0x2b2)](warnRenamed,'ranger\x20env\x20update','ranger\x20profile\x20update'),await withTelemetry(_0x211e69[_0x48c7b5(0x256)],_0x485731=>updateEnv(_0x5b0dfb[_0x48c7b5(0x283)],_0x485731));})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})['command'](_0x385046[_0x1b92a0(0x2b5)],![],_0x1e57a4=>{const _0x25de69=_0x1b92a0,_0x58a4cc={'tHyQn':_0x385046[_0x25de69(0x226)],'CzcyH':_0x25de69(0x1c3),'UzjAx':_0x25de69(0x1c1),'UMQPS':_0x25de69(0x2c2),'uwrXa':'boolean','vbWcV':_0x25de69(0x280),'hzjqw':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','hXBOQ':_0x385046[_0x25de69(0x2aa)],'ENdSY':_0x25de69(0x2a9),'amhaI':_0x25de69(0x172),'qdRcE':'Include\x20soft-deleted\x20feature\x20reviews','rvPXs':_0x385046[_0x25de69(0x2ab)],'dGkPf':_0x385046['wgqQA'],'YwvPU':_0x385046['fgRWA'],'RiCKZ':_0x385046[_0x25de69(0x1ac)],'EWwwy':function(_0x292f0b,_0x444a40,_0x41bf24){const _0x350b0d=_0x25de69;return _0x385046[_0x350b0d(0x29e)](_0x292f0b,_0x444a40,_0x41bf24);}};return _0x1e57a4['command'](_0x25de69(0x1ae),![],_0x5e79ca=>{const _0x3debce=_0x25de69;return _0x5e79ca[_0x3debce(0x277)](_0x3debce(0x205),{'type':_0x58a4cc['tHyQn'],'description':_0x58a4cc['CzcyH'],'demandOption':!![]})[_0x3debce(0x1ed)](_0x3debce(0x1ec),{'type':_0x58a4cc[_0x3debce(0x188)],'alias':'d','description':_0x3debce(0x2cf)})['option'](_0x3debce(0x2ed),{'type':_0x3debce(0x2c2),'alias':'c','description':_0x58a4cc['UzjAx']})['option']('scenario',{'type':_0x58a4cc[_0x3debce(0x2c8)],'hidden':!![]});},async _0x41adf1=>{const _0x14ab7f=_0x25de69;warnRenamed(_0x385046[_0x14ab7f(0x2ad)],_0x385046[_0x14ab7f(0x18e)]),_0x385046['ltrYY'](warnFlagRenamed,_0x385046[_0x14ab7f(0x18e)],_0x385046[_0x14ab7f(0x242)],_0x14ab7f(0x305));const _0x23bc8c=_0x41adf1['scenario']||_0x41adf1['checklist'];await _0x385046['bxron'](withTelemetry,_0x14ab7f(0x25a),()=>featureCreate(_0x41adf1['name'],{'description':_0x41adf1['description'],'scenarios':_0x23bc8c}));})[_0x25de69(0x223)](_0x385046[_0x25de69(0x1f6)],![],_0x4663fe=>{const _0x129f4=_0x25de69;return _0x4663fe[_0x129f4(0x1ed)](_0x129f4(0x293),{'type':_0x58a4cc['uwrXa'],'description':_0x58a4cc['vbWcV']})[_0x129f4(0x1ed)]('limit',{'type':_0x129f4(0x2a9),'alias':'l','description':_0x58a4cc[_0x129f4(0x298)],'default':0xa})['option'](_0x58a4cc[_0x129f4(0x191)],{'type':_0x58a4cc[_0x129f4(0x2c9)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x58a4cc['amhaI'],{'type':_0x129f4(0x155),'alias':'d','description':_0x58a4cc[_0x129f4(0x260)],'default':![]});},async _0x55f7ff=>{const _0x23c263=_0x25de69;warnRenamed(_0x23c263(0x28a),_0x385046['jnqmB']),await withTelemetry(_0x385046[_0x23c263(0x201)],()=>featureList({'currentBranch':_0x55f7ff[_0x23c263(0x293)],'limit':_0x55f7ff[_0x23c263(0x21c)],'offset':_0x55f7ff['offset'],'includeDeleted':_0x55f7ff['include-deleted']}));})[_0x25de69(0x223)](_0x385046[_0x25de69(0x206)],![],_0x19ac49=>{const _0x88e81=_0x25de69;return _0x19ac49[_0x88e81(0x277)]('id',{'type':_0x385046['ssLJR'],'description':_0x385046['tWVFb']});},async _0x4fe0f0=>{const _0x289b98=_0x25de69;_0x385046[_0x289b98(0x26f)](warnRenamed,_0x289b98(0x166),'ranger\x20show'),await _0x385046['hNypP'](withTelemetry,_0x385046[_0x289b98(0x15e)],()=>featureShow(_0x4fe0f0['id']));})['command'](_0x385046['odDgD'],![],_0x4b6786=>{const _0xa18509=_0x25de69;return _0x4b6786[_0xa18509(0x277)]('id',{'type':_0x58a4cc['tHyQn'],'description':_0xa18509(0x1d1)});},async _0x261004=>{const _0x37da66=_0x25de69;warnRenamed('ranger\x20feature\x20resume',_0x58a4cc[_0x37da66(0x2a4)]),await withTelemetry(_0x37da66(0x2dd),()=>featureResume(_0x261004['id']));})[_0x25de69(0x223)]('add-checklist-item\x20<description>',![],_0x90ea75=>{const _0x378d20=_0x25de69;return _0x90ea75[_0x378d20(0x277)]('description',{'type':'string','description':_0x58a4cc['dGkPf'],'demandOption':!![]})[_0x378d20(0x1ed)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x36ee6e=>{const _0x5b4d24=_0x25de69;_0x385046['TnJYk'](warnRenamed,_0x385046['nSXTT'],_0x385046['uVvKh']),await _0x385046[_0x5b4d24(0x225)](withTelemetry,_0x385046[_0x5b4d24(0x24c)],()=>featureAddScenario(_0x36ee6e[_0x5b4d24(0x1ec)],_0x36ee6e['id']));})['command']('get-feedback\x20[id]',![],_0x578df4=>{const _0x5e047c=_0x25de69;return _0x578df4[_0x5e047c(0x277)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x32ef62=>{const _0x3444d4=_0x25de69;_0x385046['czPxu'](warnRenamed,'ranger\x20feature\x20get-feedback',_0x385046[_0x3444d4(0x15f)]),await withTelemetry(_0x3444d4(0x24d),()=>featureGetReview(_0x32ef62['id']));})[_0x25de69(0x223)](_0x385046[_0x25de69(0x162)],![],_0x1f4081=>{const _0x32c870=_0x25de69;return _0x1f4081[_0x32c870(0x277)]('id',{'type':_0x32c870(0x255),'description':'Feature\x20review\x20ID'});},async _0x37be29=>{warnRenamed(_0x58a4cc['YwvPU'],_0x58a4cc['RiCKZ']),await withTelemetry('feature\x20delete',()=>featureDelete(_0x37be29['id']));})['command']('restore\x20<id>',![],_0x3a7462=>{const _0x2d9608=_0x25de69;return _0x3a7462['positional']('id',{'type':_0x385046[_0x2d9608(0x226)],'description':_0x385046['neIZz'],'demandOption':!![]});},async _0x57e364=>{const _0xe0d3c4=_0x25de69;_0x58a4cc[_0xe0d3c4(0x2b9)](warnRenamed,'ranger\x20feature\x20restore','ranger\x20restore'),await withTelemetry(_0xe0d3c4(0x1aa),()=>featureRestore(_0x57e364['id']));})['demandCommand'](0x1,_0x385046[_0x25de69(0x160)]);})[_0x1b92a0(0x223)](_0x1b92a0(0x1be),![],_0x1bb33d=>{const _0x1b6c38=_0x1b92a0,_0x8183e={'hpSfe':_0x385046[_0x1b6c38(0x1f9)],'NdZtL':_0x385046['gPkBz'],'lmCIY':function(_0xb2e3c1,_0x30c905,_0x2c6175){const _0x33aa3d=_0x1b6c38;return _0x385046[_0x33aa3d(0x21f)](_0xb2e3c1,_0x30c905,_0x2c6175);}};return _0x1bb33d[_0x1b6c38(0x223)]('enable',_0x1b6c38(0x1c2),_0x598bba=>{const _0x5bd4ea=_0x1b6c38;return _0x598bba['option'](_0x385046[_0x5bd4ea(0x1f9)],{'type':_0x385046['ssLJR'],'description':_0x385046['gPkBz']});},async _0x25f0fb=>{const _0x1b8c0e=_0x1b6c38;await withTelemetry('hook:enable',()=>hook('enable',_0x25f0fb[_0x1b8c0e(0x1e0)]));})['command'](_0x385046['dPlCu'],_0x1b6c38(0x24e),_0x1b3893=>{const _0x49122f=_0x1b6c38;return _0x1b3893['option'](_0x8183e[_0x49122f(0x1cc)],{'type':_0x49122f(0x255),'description':_0x8183e['NdZtL']});},async _0x414c81=>{const _0x425642=_0x1b6c38;await _0x8183e['lmCIY'](withTelemetry,'hook:disable',()=>hook(_0x425642(0x2d1),_0x414c81['session-id']));})[_0x1b6c38(0x1ed)](_0x385046[_0x1b6c38(0x290)],{'type':_0x385046[_0x1b6c38(0x226)],'description':_0x1b6c38(0x1e6)})[_0x1b6c38(0x1ed)]('session-id',{'type':'string','description':_0x1b6c38(0x2d0)});},async _0x5543b4=>{const _0x3639a5=_0x1b92a0;_0x5543b4[_0x3639a5(0x205)]&&await hook(_0x5543b4['name'],_0x5543b4['session-id']);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()[_0x1b92a0(0x26b)](async(_0x337f01,_0x15aceb,_0x38dbba)=>{const _0x3259ed=_0x1b92a0,_0x52013e=_0x385046['CkQEt'](sanitizeArgs,process['argv'][_0x3259ed(0x229)](0x2)),_0x4da3cb=_0x385046[_0x3259ed(0x216)](getErrorType,_0x337f01,_0x15aceb);if(_0x337f01&&_0x337f01['includes'](_0x3259ed(0x1e4))){const _0x195e2a=process['argv'][0x2];console[_0x3259ed(0x20b)](_0x3259ed(0x2ce)+_0x195e2a),console['error'](_0x385046[_0x3259ed(0x1b5)]);}else{if(_0x337f01)console['error']('\x0a'+_0x337f01+'\x0a');else _0x15aceb&&console['error']('\x0aError:\x20'+_0x15aceb['message']+'\x0a');}await logDesirePath({'rawCommand':_0x52013e,'errorMessage':_0x337f01||_0x15aceb?.[_0x3259ed(0x217)],'errorType':_0x4da3cb});const _0x301bcc=getCurrentCollector();_0x301bcc&&await _0x301bcc['trackCommandError'](_0x15aceb||new Error(_0x337f01||_0x385046[_0x3259ed(0x29b)])),process['exit'](0x1);})['epilogue'](_0x385046['xTWxk'](_0x385046['GCiCQ'],'\x20\x20https://docs.ranger.net\x0a')+_0x385046[_0x1b92a0(0x1c5)])['help']()[_0x1b92a0(0x2d8)](_0x385046['QiagT'],'h');}process['env']['NODE_ENV']!=='test'&&(shouldShowLegacyWarning(process[_0x72327e(0x1f4)])&&showLegacyDeprecationWarning(),buildParser()[_0x72327e(0x16e)]());
|