@ranger-testing/ranger-cli 2.5.4-alpha.a70fc60-4 → 2.5.4-alpha.b2ba935-13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -14
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -1
- 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 -1
- package/build/commands/utils/cloudProfileSession.js +1 -1
- 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 -1
- 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 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/skills/ranger/SKILL.md +35 -5
- package/build/skills/ranger/create.md +19 -0
- package/build/skills/ranger/verify.md +46 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ This walks you through everything interactively:
|
|
|
25
25
|
- **Authentication** -- opens your browser to log in (credentials stored in OS Keychain)
|
|
26
26
|
- **Chromium** -- installs the browser used for verification
|
|
27
27
|
- **Plugin** -- installs the Claude Code plugin (you choose user-level or project-level)
|
|
28
|
-
- **Profile** -- prompts for your app's URL, opens a browser to capture
|
|
28
|
+
- **Profile** -- prompts for your app's URL, opens a browser to capture a session for the verification agent
|
|
29
29
|
- **Skills** -- installs markdown files that teach Claude the Ranger workflow
|
|
30
30
|
|
|
31
31
|
> For CI, pass a token directly: `ranger setup [token]`. See `RANGER_CLI_TOKEN` env var for non-interactive use.
|
|
@@ -61,13 +61,24 @@ Ask Claude to build a UI feature. Ranger handles the rest: creating a feature re
|
|
|
61
61
|
|
|
62
62
|
### Profiles
|
|
63
63
|
|
|
64
|
+
A profile tells Ranger where your app runs and how to log in. Run
|
|
65
|
+
`ranger profile add <name>` once — a browser opens, you log in, Ranger
|
|
66
|
+
saves the session for every subsequent run. Convention is one profile per
|
|
67
|
+
account; the CLI suggests `git config user.email` as a default name.
|
|
68
|
+
|
|
64
69
|
| Command | Description |
|
|
65
70
|
| ------------------------------------- | ----------------------------------------------------- |
|
|
66
|
-
| `ranger profile add <name>` | Add a
|
|
71
|
+
| `ranger profile add <name>` | Add a profile (opens a browser for login). Use `--safe-mode` if the browser crashes. |
|
|
67
72
|
| `ranger profile use <name>` | Switch active profile |
|
|
68
73
|
| `ranger profile ls` | List all profiles |
|
|
69
|
-
|
|
70
|
-
|
|
74
|
+
|
|
75
|
+
For CI / background agents and other setup options, see
|
|
76
|
+
https://docs.ranger.net/main/concepts/profiles.
|
|
77
|
+
|
|
78
|
+
> Deprecated: `ranger profile update`, `ranger profile encrypt-auth`, and
|
|
79
|
+
> `ranger profile migrate` exit non-zero with a redirect. Run
|
|
80
|
+
> `ranger profile add <name>` to set up a fresh profile. See
|
|
81
|
+
> https://docs.ranger.net/main/concepts/profiles for setup options.
|
|
71
82
|
|
|
72
83
|
### Feature Reviews
|
|
73
84
|
|
|
@@ -89,7 +100,12 @@ Ask Claude to build a UI feature. Ranger handles the rest: creating a feature re
|
|
|
89
100
|
| ------------ | ------------------------------------ |
|
|
90
101
|
| `ranger go` | Verify a scenario in the browser |
|
|
91
102
|
|
|
92
|
-
Options: `--scenario <N>` (scenario index), `--notes "<desc>"` (override notes), `--start-path /path` (start URL), `--profile <name>`, `--model <model>`, `--headed` (force headed browser for this run only).
|
|
103
|
+
Options: `--scenario <N>` (scenario index), `--notes "<desc>"` (override notes), `--start-path /path` (start URL), `--base-url <url>` (override profile base URL), `--profile <name>`, `--model <model>`, `--headed` (force headed browser for this run only).
|
|
104
|
+
|
|
105
|
+
Env vars:
|
|
106
|
+
- `RANGER_TEST_USERNAME` / `RANGER_TEST_PASSWORD` — for [automated login](https://docs.ranger.net/main/concepts/profiles#automated-login). The fastest path for CI / background agents. Works for any login flow we can run deterministically (username/password, SSO, OAuth, MFA, passkeys, magic links) — set up per-app with our team. Talk to us.
|
|
107
|
+
- `RANGER_PROFILE` — pin a profile (lower precedence than `--profile`).
|
|
108
|
+
- `RANGER_BASE_URL` / `RANGER_START_PATH` — analogues of `--base-url` / `--start-path`.
|
|
93
109
|
|
|
94
110
|
You can set a default verify model in `.ranger/config.json`:
|
|
95
111
|
|
|
@@ -101,14 +117,18 @@ You can set a default verify model in `.ranger/config.json`:
|
|
|
101
117
|
|
|
102
118
|
### Config
|
|
103
119
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
|
108
|
-
|
|
|
109
|
-
| `ranger profile config
|
|
120
|
+
Fine-tune browser behavior for a profile. Settings apply per cwd, so
|
|
121
|
+
different checkouts of the same repo can have different overrides.
|
|
122
|
+
|
|
123
|
+
| Command | Description |
|
|
124
|
+
| --------------------------------------------------- | ------------------------------ |
|
|
125
|
+
| `ranger profile config set <profile> <key> <value>` | Set a config value |
|
|
126
|
+
| `ranger profile config get <profile> <key>` | Read a config value |
|
|
127
|
+
| `ranger profile config list <profile>` | Show all config for a profile |
|
|
128
|
+
| `ranger profile config unset <profile> <key>` | Remove a config value |
|
|
129
|
+
| `ranger profile config reset <profile>` | Clear all overrides (cloud only) |
|
|
110
130
|
|
|
111
|
-
Keys: `headless`, `userAgent`, `storageState`, `
|
|
131
|
+
Keys: `baseUrl`, `headless`, `userAgent`, `storageState`, `allowInsecureLocalhost`, `headers.<name>`, `setupHeaders.<name>`. Environment variables (e.g., `${AUTH_TOKEN}`) are resolved at runtime.
|
|
112
132
|
|
|
113
133
|
## Plugin
|
|
114
134
|
|
|
@@ -121,12 +141,14 @@ claude plugin install ranger@trailhead --scope user
|
|
|
121
141
|
|
|
122
142
|
## Troubleshooting
|
|
123
143
|
|
|
124
|
-
**"No active profile"** -- Run `ranger profile use <profile-name
|
|
144
|
+
**"No active profile"** -- Run `ranger profile use <profile-name>`, or set `RANGER_PROFILE=<name>` for the session.
|
|
125
145
|
|
|
126
|
-
**Authentication expired** -- Run `ranger profile
|
|
146
|
+
**Authentication expired** -- Run `ranger profile add <name>` to refresh. (For automated login, re-run `ranger go` with `RANGER_TEST_USERNAME` / `RANGER_TEST_PASSWORD` set.)
|
|
127
147
|
|
|
128
148
|
**Browser crashes during profile setup** -- On some macOS + Chrome combinations, the browser may crash during authentication. Run `ranger profile add <name> --safe-mode` to disable browser features that trigger the crash.
|
|
129
149
|
|
|
130
150
|
**"No active feature review"** -- Run `ranger list` then `ranger resume <id>`.
|
|
131
151
|
|
|
152
|
+
**Daily warning about legacy `.ranger/` paths** -- Existing sessions in those paths still work as a fallback, but new sessions are managed for you. Run `ranger profile add <name>` to set up a fresh profile, then delete the legacy dirs to silence the warning. See https://docs.ranger.net/main/concepts/profiles.
|
|
153
|
+
|
|
132
154
|
Run `ranger status` to see everything at a glance.
|
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x14be9b=_0x1cda;(function(_0x28932b,_0xb83781){const _0x59ccf6=_0x1cda,_0x40c82c=_0x28932b();while(!![]){try{const _0x575e14=parseInt(_0x59ccf6(0x201))/0x1+parseInt(_0x59ccf6(0x251))/0x2*(parseInt(_0x59ccf6(0x23a))/0x3)+-parseInt(_0x59ccf6(0x29d))/0x4*(parseInt(_0x59ccf6(0x1e9))/0x5)+parseInt(_0x59ccf6(0x2a8))/0x6+parseInt(_0x59ccf6(0x21d))/0x7*(-parseInt(_0x59ccf6(0x124))/0x8)+-parseInt(_0x59ccf6(0x227))/0x9*(-parseInt(_0x59ccf6(0x234))/0xa)+-parseInt(_0x59ccf6(0x292))/0xb;if(_0x575e14===_0xb83781)break;else _0x40c82c['push'](_0x40c82c['shift']());}catch(_0x5cc1a4){_0x40c82c['push'](_0x40c82c['shift']());}}}(_0x54ef,0xb5b06));import _0x2e5403 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x19aacc=_0x1cda,_0x11fdb0={'XHnvg':function(_0x45b078,_0xd268b2,_0x2cebcd){return _0x45b078(_0xd268b2,_0x2cebcd);},'kMQBN':'.ranger','JTQnS':function(_0x55f4a3,_0x103dc7){return _0x55f4a3(_0x103dc7);}};let _0x2be29d=process[_0x19aacc(0x20e)]();const _0x4f1da5=parse(_0x2be29d)[_0x19aacc(0x2a3)];while(_0x2be29d!==_0x4f1da5){if(existsSync(_0x11fdb0['XHnvg'](join,_0x2be29d,_0x11fdb0['kMQBN']))||_0x11fdb0[_0x19aacc(0x221)](existsSync,_0x11fdb0['XHnvg'](join,_0x2be29d,'.env')))return _0x2be29d;_0x2be29d=_0x11fdb0[_0x19aacc(0x221)](dirname,_0x2be29d);}return process['cwd']();}_0x2e5403[_0x14be9b(0x2b8)]({'path':join(findProjectRoot(),_0x14be9b(0x163))});import _0x580bd4 from'yargs/yargs';function _0x1cda(_0x4a563b,_0x2d1106){_0x4a563b=_0x4a563b-0x10d;const _0x54ef29=_0x54ef();let _0x1cdaf0=_0x54ef29[_0x4a563b];return _0x1cdaf0;}import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';function _0x54ef(){const _0x96c34a=['Config\x20key\x20to\x20remove','Profile\x20name','string','New\x20scenario\x20description','mcp-bootstrap','Feature\x20review\x20description','ranger','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','restore\x20<id>','qRIjx','forEach','name','ZyPVM','list','start-path','.env','all','unknown\x20error','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','set\x20<profile>\x20<key>\x20<value>','KQFOP','SsEYq','user','Unknown\x20command','jxwhA','mSjSZ','ranger\x20create','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','report\x20[id]','project','QvtzP','--task','ranger\x20config\x20set','mcp','Dduwq','verify-feature','env','BvXqp','update','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','JuILz','\x20BLOCKED','ranger\x20env\x20ls','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','zKZFH','add\x20<profile-name>','KwmCS','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','RCmyi','LBIXB','demandCommand','Qrsqd','vWqNX','gKSzw','config\x20set','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','PwpNL','Xmtqc','tdjnu','vOtDJ','feature\x20get-feedback','feature\x20add-checklist-item','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','BiEib','Ranger\x20API\x20token\x20(rngr_...)','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','show','key','ranger\x20use','report','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','dry-run','oJVeA','herDE','VzaXM','unset\x20<env>\x20<key>','WCqrG','pFjmc','env-name','RdZmy','YzDKr','usnbM','cEVAQ','option','hByNq','print-access-token','sbFJI','zGUJt','setup:profiles','kIaLQ','OHenx','error','ranger\x20profile\x20use','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','migrate\x20[profile-name]','UqBnw','ranger\x20feature\x20delete','ranger\x20feature\x20restore','claude','fTQFa','ranger\x20profile\x20config\x20unset','WPNXC','session-id','edit-scenario','jBLkV','profile\x20login','command','fIKYV','eWIKH','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','QLByP','wUDgA','\x0aIssues:','MHvYn','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','QSneg','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','evaluation','ranger\x20feature\x20create','WXmbW','array','notes','NODE_ENV','fhkmL','YHuIt','success','token','setup-ci','ICxQn','resume','rjhmc','update\x20<env-name>','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','cJPgt','Install\x20scope\x20for\x20plugin\x20and\x20skills','sNIPY','knznl','disable','add\x20env\x20<env-name>','Unknown\x20error','epilogue','ranger\x20feature\x20resume','Authenticate\x20with\x20Ranger','Switch\x20to\x20using\x20a\x20specific\x20profile','MVWQX','afCbu','eIhsp','2800gNxFxE','OtGPj','sglnp','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','setup-ci\x20<token>','AdnWg','feature\x20list','yuzlF','ranger\x20go','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','List\x20all\x20feature\x20reviews','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','Get\x20a\x20config\x20value','ranger\x20show','json','hook','whqzO','oAROb','API\x20token','RCAIk','\x0aUnknown\x20command:\x20','\x20PARTIAL','ranger\x20config\x20get','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','1066724LRiBds','VTcjW','resume\x20[id]','XJijy','IVSTT','KCuei','Iwsun','test_output','Skrwr','reset\x20<profile>','necBR','JGHnF','xeuob','cwd','Remove\x20a\x20config\x20value','verified','ranger\x20env\x20update','feature\x20create','Reason:\x20','set\x20<env>\x20<key>\x20<value>','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aProfile\x20config.\x20Routes\x20automatically\x20based\x20on\x20where\x20the\x20profile\x20lives:\x0a\x20\x20-\x20Local\x20profiles\x20write\x20to\x20.ranger/<env>/settings.json\x0a\x20\x20-\x20Cloud\x20profiles\x20write\x20a\x20local\x20overlay\x20in\x20~/.ranger/projects.json\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x20(effective\x20value\x20for\x20cloud\x20profiles)\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20local\x20overrides\x20(cloud\x20profiles\x20only)\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override\x20for\x20cloud\x20profiles)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\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\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201','incomplete','blocked','GIdMh','rWWcS','value','VDcBA','url','5239185ySfuRH','WsWOY','CPSGl','limit','JTQnS','ranger\x20feature\x20add-checklist-item','cowOW','gDqCa','CwLPz','ranger\x20auth\x20encrypt','3916719jYAUne','list\x20<env>','qQiEa','feature\x20delete','WqiXR','nfUgF','ranger\x20config\x20unset','with-deps','get\x20<env>\x20<key>','KQYkn','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)','--checklist','YFNlG','20GgAUPH','clean','slice','skip-chromium','config\x20list','UrAOi','10518VjCsXQ','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','IqXOW','YJlcy','fJGLk','dCccH','Name\x20of\x20the\x20profile','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','login','gVwpY','fhsjg','encrypt\x20<profile>','vQSox','Set\x20up\x20a\x20local\x20browser\x20profile','Manage\x20profile\x20configuration','Login\x20failed:\x20','Include\x20soft-deleted\x20feature\x20reviews','GZsiK','item','Restore\x20a\x20soft-deleted\x20feature\x20review','AyPZj','Example:\x20ranger\x20create\x20my-feature','debug-address-comments','710lyhfEa','repeat','scope','profile\x20ls','TeqKt','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','exitCode','Skip\x20Chromium\x20browser\x20installation','wghrn','ranger\x20list','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','QnxDK','profile\x20config\x20reset','Skip\x20interactive\x20confirmation\x20prompts.','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','fQgMn','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','setup-header','EhzAY','WmGpk','profile','base-url','sXIKa','JRrwc','allow-insecure-localhost','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','partial','LmvPw','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','boolean','List\x20all\x20profiles','cAEsp','Config\x20value','aOUGA','WiCsg','RANGER_TEST_PASSWORD','force','ranger\x20get-review','ranger\x20add-scenario','message','start\x20[token]','enable','setup:skills','trackCommandError','RTpPD','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','exit','profile\x20use','status','JVwoK','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','Manage\x20profiles','cMIqg','number','opencode','exclude-scenario','ryWJr','qUWby','ZIsLA','GqwMB','config\x20get','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','FvZFc','Feature\x20review\x20ID','27002514BOeBNR','KvWzh','list\x20<profile>','MIzgu','zJPUr','IcMtN','aZwSE','mXGuV','--notes','meEoc','ranger\x20profile\x20encrypt-auth','1332MbCTzc','RYxpx','yes','ranger\x20verify-feature','profiles','wMkBa','root','description','Install\x20OS-level\x20dependencies\x20for\x20Chromium','hook:disable','severity','5713026iaVWzs','help','headed','ranger\x20feature\x20list','ranger\x20delete','NxBMU','rsfnr','Skip\x20authentication','ktVKS','nonkB','KULoE','checklist','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','create\x20<name>','encrypt-auth\x20<profile>','Feature\x20review\x20name','config','Evaluation:\x20','YAEnA','debug-outcome','get-review','YILHN','gQQhV','cdp-endpoint','You\x20must\x20specify\x20a\x20config\x20subcommand','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','NDWiS','QJyBe','\x20INCOMPLETE','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','fqvNo','VZEpU','xPVtU','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','safe-mode','eXzla','summary','GfJqD','BvUOB','map','parse','Name\x20of\x20the\x20profile\x20to\x20update','8XLQsab','RANGER_TEST_USERNAME','ihvDn','skip-auth','SwUub','ranger\x20profile\x20config\x20set','current-branch','log','model','YSvQc','afixL','FzXEv','nEwnF','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','positional','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','bErSl','IlROO','evaluationReason','Name\x20of\x20the\x20environment','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','use\x20<env-name>','.\x20[','argv','save-creds','LtpXD','includes','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Pdjoq','bQsDJ','scenario','fxpkC','Update\x20authentication\x20for\x20an\x20existing\x20profile','CVJzs','WLsWT','hbMjX','HYHoe','setup\x20[tokenOrSubcommand]','delete\x20[id]','profile-name','usage','FIWnG','fAFqE','ZxvTk','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','tNQNn','LDyEr','Skip\x20browser\x20authentication'];_0x54ef=function(){return _0x96c34a;};return _0x54ef();}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 _0x507c10=>{const _0xaa4ded=_0x14be9b,_0x7bae12={'kzBvC':function(_0x18d15c){return _0x18d15c();}},_0x259976=_0x7bae12['kzBvC'](getCurrentCollector);_0x259976&&await _0x259976['trackCommandError'](_0x507c10),process[_0xaa4ded(0x257)]=0x1;});const rawArgs=process['argv'][_0x14be9b(0x236)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20migrate\x20--all\x20--dry-run',PROFILE_CONFIG_HELP=_0x14be9b(0x215);function warnRenamed(_0xe380ae,_0x767eef){console['error']('\x0a'+_0xe380ae+'\x20is\x20now\x20'+_0x767eef+'\x0a');}function argUsed(_0x2d0d43){return rawArgs['some'](_0x27e366=>_0x27e366===_0x2d0d43||_0x27e366['startsWith'](_0x2d0d43+'='));}function warnFlagRenamed(_0x243738,_0x2ea12b,_0x450311){const _0x48fea0=_0x14be9b,_0x17f83b={'eolSo':function(_0x7d696a,_0xa3d49f){return _0x7d696a(_0xa3d49f);},'meEoc':function(_0x2116d0,_0x2da93c,_0x2f2403){return _0x2116d0(_0x2da93c,_0x2f2403);}};_0x17f83b['eolSo'](argUsed,_0x2ea12b)&&_0x17f83b[_0x48fea0(0x29b)](warnRenamed,_0x243738+'\x20'+_0x2ea12b,_0x243738+'\x20'+_0x450311);}async function runGoCommand(_0x30cc9b,_0x19b729=![]){const _0x2f053b=_0x14be9b,_0x4c9a41={'wMkBa':_0x2f053b(0x2a0),'IlROO':_0x2f053b(0x1f1),'bgVTf':_0x2f053b(0x173),'XJijy':function(_0x6308f1,_0x147494,_0x32a9dc,_0x48014c){return _0x6308f1(_0x147494,_0x32a9dc,_0x48014c);},'mQgWM':'--item','sNIPY':'--scenario','LDyEr':function(_0x36e2ac){return _0x36e2ac();},'ihvDn':function(_0x5caa9b,_0x596ede){return _0x5caa9b(_0x596ede);},'rxtJp':_0x2f053b(0x162),'qQiEa':'verified','Iwsun':'\x20VERIFIED','CVJzs':'incomplete','xnJux':_0x2f053b(0x1fe),'FIWnG':function(_0x3d6322,_0x4b5465){return _0x3d6322===_0x4b5465;}};_0x19b729&&warnRenamed(_0x4c9a41[_0x2f053b(0x2a2)],_0x2f053b(0x1f1));warnFlagRenamed(_0x4c9a41['IlROO'],'--env','--profile'),warnFlagRenamed(_0x4c9a41[_0x2f053b(0x135)],_0x4c9a41['bgVTf'],_0x2f053b(0x29a)),_0x4c9a41[_0x2f053b(0x204)](warnFlagRenamed,_0x4c9a41['IlROO'],_0x4c9a41['mQgWM'],_0x4c9a41[_0x2f053b(0x1dd)]);const _0x384a49=await loadRangerConfig(),_0x332796=_0x4c9a41[_0x2f053b(0x152)](isByokEnabled),_0x3999e6=_0x30cc9b[_0x2f053b(0x12c)],_0x469f8b=_0x384a49['model'],_0x3b349f=await _0x4c9a41[_0x2f053b(0x126)](verifyFeature,{'featureId':_0x30cc9b['feature'],'profile':_0x30cc9b['profile']??_0x30cc9b[_0x2f053b(0x178)],'notes':_0x30cc9b['notes']??_0x30cc9b['task'],'scenario':_0x30cc9b[_0x2f053b(0x142)]??_0x30cc9b[_0x2f053b(0x24c)],'startPath':_0x30cc9b[_0x4c9a41['rxtJp']],'baseUrl':_0x30cc9b[_0x2f053b(0x266)],'debugOutcome':_0x30cc9b[_0x2f053b(0x10d)],'debugAddressComments':_0x30cc9b['debug-address-comments'],'headed':_0x30cc9b['headed'],'byokEnabled':_0x332796,'flagVerifyModel':_0x3999e6,'configVerifyModel':_0x469f8b});console[_0x2f053b(0x12b)]('\x0a'+'='[_0x2f053b(0x252)](0x3c)),console[_0x2f053b(0x12b)](_0x3b349f[_0x2f053b(0x1cb)]===_0x4c9a41[_0x2f053b(0x229)]?_0x4c9a41[_0x2f053b(0x207)]:_0x3b349f[_0x2f053b(0x1cb)]===_0x4c9a41[_0x2f053b(0x145)]?_0x2f053b(0x116):_0x3b349f[_0x2f053b(0x1cb)]==='partial'?_0x4c9a41['xnJux']:_0x4c9a41['FIWnG'](_0x3b349f[_0x2f053b(0x1cb)],'blocked')?_0x2f053b(0x17d):'\x20FAILED'),console['log']('='['repeat'](0x3c)),console['log']('Summary:\x20'+_0x3b349f[_0x2f053b(0x11e)]),console[_0x2f053b(0x12b)](_0x2f053b(0x2b9)+_0x3b349f[_0x2f053b(0x1cb)]),console[_0x2f053b(0x12b)](_0x2f053b(0x213)+_0x3b349f[_0x2f053b(0x136)]),_0x3b349f['issues']?.['length']&&(console['log'](_0x2f053b(0x1c6)),_0x3b349f['issues'][_0x2f053b(0x15e)]((_0x2e2f12,_0x1f839e)=>{const _0x12da85=_0x2f053b;console['log']('\x0a'+(_0x1f839e+0x1)+_0x12da85(0x13a)+_0x2e2f12[_0x12da85(0x2a7)]+']\x20'+_0x2e2f12[_0x12da85(0x2a4)]);})),process[_0x2f053b(0x27f)](_0x4c9a41[_0x2f053b(0x14d)](_0x3b349f[_0x2f053b(0x1cb)],_0x2f053b(0x210))?0x0:0x1);}export function buildParser(_0x4a3117){const _0x14f1d0=_0x14be9b,_0x5501f5={'gQQhV':_0x14f1d0(0x15f),'kIaLQ':'string','fAFqE':_0x14f1d0(0x2b7),'zKZFH':_0x14f1d0(0x2a4),'KULoE':_0x14f1d0(0x159),'ICxQn':'scenario','qdHQn':_0x14f1d0(0x1c8),'YSvQc':_0x14f1d0(0x27e),'WXmbW':_0x14f1d0(0x232),'jnQwV':'--scenario','cJPgt':_0x14f1d0(0x26e),'YILHN':_0x14f1d0(0x185),'lKFXi':_0x14f1d0(0x1c3),'QSneg':_0x14f1d0(0x287),'SIFhL':'include-deleted','cAEsp':_0x14f1d0(0x198),'MIzgu':function(_0x4bedfa,_0x1e177e,_0x135351){return _0x4bedfa(_0x1e177e,_0x135351);},'bQsDJ':_0x14f1d0(0x1d7),'ikeVf':'Scenario\x20description','nfUgF':'add-scenario','VAvGq':'Scenario\x20number\x20to\x20edit\x20(1-based)','xPVtU':function(_0x19e66b,_0x34f0c8,_0x290bdb){return _0x19e66b(_0x34f0c8,_0x290bdb);},'ZqFGT':_0x14f1d0(0x291),'GIdMh':_0x14f1d0(0x289),'FzXEv':_0x14f1d0(0x1f7),'afCbu':_0x14f1d0(0x19b),'sglnp':_0x14f1d0(0x2b4),'fIKYV':_0x14f1d0(0x10e),'vOtDJ':'Feature\x20review\x20ID\x20to\x20restore','VzaXM':'restore','NbtLa':'Ranger\x20API\x20token','VZEpU':_0x14f1d0(0x237),'RMlNI':_0x14f1d0(0x283),'OHenx':'skip-auth','QvtzP':_0x14f1d0(0x171),'Ogqdv':_0x14f1d0(0x1dc),'NxBMU':_0x14f1d0(0x275),'aOUGA':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','EqPbT':'Alias\x20for\x20--mcp-bootstrap','XIXLB':_0x14f1d0(0x175),'fhkmL':function(_0x43b129){return _0x43b129();},'IWDAw':function(_0x3a927c,_0x3a56b1){return _0x3a927c(_0x3a56b1);},'RTpPD':_0x14f1d0(0x253),'cEVAQ':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','fMzkK':'Where\x20to\x20store\x20the\x20profile','wghrn':_0x14f1d0(0x21c),'TtIZn':_0x14f1d0(0x153),'YzDKr':function(_0x4a2926,_0x25794b){return _0x4a2926(_0x25794b);},'GnPrv':'tokenOrSubcommand','IcMtN':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','cowOW':'Install\x20Chromium\x20browser\x20binary','MVWQX':_0x14f1d0(0x1e4),'AlcfL':'skills','JOuJJ':_0x14f1d0(0x2a1),'JBwIz':_0x14f1d0(0x247),'eIhsp':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','xeuob':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','PaQRB':_0x14f1d0(0x26a),'mXGuV':'with-deps','TjYLZ':_0x14f1d0(0x18d),'Qrsqd':_0x14f1d0(0x158),'jxwhA':'start','YrNPH':_0x14f1d0(0x1ca),'Xmtqc':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','DafvU':_0x14f1d0(0x258),'GZsiK':function(_0x54eafa,_0x32a13b,_0x8ffffc){return _0x54eafa(_0x32a13b,_0x8ffffc);},'eXzla':_0x14f1d0(0x242),'WsWOY':_0x14f1d0(0x288),'CPSGl':'Install\x20skills\x20for\x20OpenCode','OtGPj':'user','JYslu':'Install\x20scope\x20for\x20skills','RdZmy':function(_0x19c172,_0x5a2fb5){return _0x19c172(_0x5a2fb5);},'TicBa':'skillup','IeKgP':function(_0x53e545,_0x2a0bc2,_0x3f9e55){return _0x53e545(_0x2a0bc2,_0x3f9e55);},'WcFvD':'clean','BiEib':_0x14f1d0(0x14b),'PwpNL':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','YHuIt':_0x14f1d0(0x269),'dCccH':_0x14f1d0(0x11c),'zkrtB':_0x14f1d0(0x131),'TeqKt':'Cloud\x20profile\x20name','KwmCS':_0x14f1d0(0x1bf),'mRAEA':'dry-run','LBIXB':_0x14f1d0(0x13c),'sbFJI':function(_0x164c69,_0x3aa8e6,_0x401927){return _0x164c69(_0x3aa8e6,_0x401927);},'oYIzQ':'profile\x20config\x20get','IqGcH':_0x14f1d0(0x167),'BKiwm':'Set\x20a\x20config\x20value','zGUJt':'unset\x20<profile>\x20<key>','qUWby':_0x14f1d0(0x20f),'QJyBe':_0x14f1d0(0x231),'fQgMn':'profile\x20update','IgSEu':'key','WPNXC':'Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','IPbsD':'value','WmGpk':'profile\x20config\x20list','LmvPw':_0x14f1d0(0x182),'ODAAE':'use\x20<profile-name>','wNjIc':_0x14f1d0(0x1e5),'knznl':_0x14f1d0(0x2b6),'ESeig':_0x14f1d0(0x26f),'fxpkC':'login\x20<name>','SWkkp':'You\x20must\x20specify\x20a\x20profile\x20subcommand','eDYNE':'status','afixL':function(_0x16238e,_0xf06a93,_0xb58a){return _0x16238e(_0xf06a93,_0xb58a);},'QjXrG':_0x14f1d0(0x1ab),'fhsjg':'feature','jXxpx':'Optional\x20feature\x20ID','opTrM':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','ryWJr':'Scenario\x20index\x20(1-based)','AdnWg':'start-path','EBpmN':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','Vhbyn':'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.','YAEnA':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','RCmyi':_0x14f1d0(0x10d),'pYTQS':'verified','mIcVt':'blocked','Skrwr':'profile','FLrsA':_0x14f1d0(0x245),'JRrwc':'You\x20must\x20specify\x20an\x20auth\x20subcommand','dGQHS':function(_0x10ab8c,_0x23ec48,_0x4fbb0b){return _0x10ab8c(_0x23ec48,_0x4fbb0b);},'zJPUr':'env','BvXqp':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','KiAST':_0x14f1d0(0x117),'AyPZj':'item','oAROb':_0x14f1d0(0x184),'JGHnF':_0x14f1d0(0x216),'whqzO':_0x14f1d0(0x11b),'PAyoq':'ranger\x20add\x20env','glrlP':function(_0x1543af,_0x493e52,_0x4d46ce){return _0x1543af(_0x493e52,_0x4d46ce);},'vWqNX':'Environment\x20name','YekPN':'Config\x20key','ZIsLA':'ranger\x20config\x20list','sXIKa':_0x14f1d0(0x1ff),'rIsrr':'ranger\x20profile\x20config\x20get','sQpdl':_0x14f1d0(0x1ba),'xqZiZ':'config\x20unset','zjnKD':_0x14f1d0(0x22f),'mwZpX':_0x14f1d0(0x1a1),'eWIKH':'ranger\x20profile\x20ls','VGsIk':'env\x20list','FvZFc':'env-name','owZLc':_0x14f1d0(0x1d9),'rjhmc':'You\x20must\x20specify\x20an\x20env\x20subcommand','BvUOB':'limit','EhzAY':'offset','RYxpx':'Number\x20of\x20feature\x20reviews\x20to\x20skip','VDcBA':function(_0x1fd51d,_0x197a65,_0x443746){return _0x1fd51d(_0x197a65,_0x443746);},'UrAOi':_0x14f1d0(0x1e3),'ntlZb':'ranger\x20resume','nonkB':'feature\x20resume','IEQfg':'ranger\x20feature\x20get-feedback','LONjO':_0x14f1d0(0x276),'cMIqg':function(_0x5b9db8,_0x492cb6,_0x21cea1){return _0x5b9db8(_0x492cb6,_0x21cea1);},'LtpXD':_0x14f1d0(0x22a),'BgAyj':'ranger\x20create','QLByP':_0x14f1d0(0x1f6),'MtoEN':function(_0x2104db,_0xc9d060,_0x3d47be){return _0x2104db(_0xc9d060,_0x3d47be);},'Ebvpu':_0x14f1d0(0x277),'VTcjW':function(_0x12a4ef,_0x4f161e,_0x246559){return _0x12a4ef(_0x4f161e,_0x246559);},'KudMo':_0x14f1d0(0x203),'zgxsS':'get-feedback\x20[id]','gKSzw':_0x14f1d0(0x15c),'KCuQJ':_0x14f1d0(0x241),'GqwMB':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','YxCLd':_0x14f1d0(0x284),'fJGLk':function(_0x1fdb08,_0x2ef537,_0x27e970){return _0x1fdb08(_0x2ef537,_0x27e970);},'SVJOe':_0x14f1d0(0x16b),'JVwoK':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','KCuei':_0x14f1d0(0x1e1),'HYHoe':function(_0x37b77c,_0x48050c){return _0x37b77c(_0x48050c);},'tNQNn':function(_0x757301){return _0x757301();},'seHrY':'create\x20<name>','HuFLt':_0x14f1d0(0x1f3),'TULGf':'show\x20[id]','ktVKS':'add-scenario\x20<description>','aZwSE':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','YjBUJ':_0x14f1d0(0x170),'NyXUo':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','WqiXR':_0x14f1d0(0x24d),'kMCFT':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','KTMtG':'Install\x20Ranger\x20skills','WCqrG':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','ywugR':_0x14f1d0(0x261),'YJlcy':_0x14f1d0(0x23b),'ZDltT':'auth','NFDiF':_0x14f1d0(0x279),'MHvYn':_0x14f1d0(0x139),'haEWH':_0x14f1d0(0x1f8),'SsEYq':'You\x20must\x20specify\x20a\x20command','WLsWT':function(_0xa5d04c,_0x5b56d2){return _0xa5d04c+_0x5b56d2;},'lpGVt':'Documentation:\x0a','auDLl':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','RhKhj':'help'};return _0x5501f5[_0x14f1d0(0x148)](_0x580bd4,_0x4a3117??process[_0x14f1d0(0x13b)]['slice'](0x2))['scriptName'](_0x14f1d0(0x15a))['usage'](TOP_LEVEL_HELP)['version'](_0x5501f5[_0x14f1d0(0x151)](getCurrentVersion))[_0x14f1d0(0x1c0)](_0x5501f5['seHrY'],_0x14f1d0(0x180),_0x163a92=>{const _0x3288ca=_0x14f1d0;return _0x163a92[_0x3288ca(0x132)](_0x5501f5['gQQhV'],{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5[_0x3288ca(0x14e)],'demandOption':!![]})['option'](_0x5501f5[_0x3288ca(0x181)],{'type':_0x3288ca(0x156),'alias':'d','description':_0x5501f5['KULoE']})[_0x3288ca(0x1a9)](_0x5501f5[_0x3288ca(0x1d6)],{'type':'array','alias':'c','description':_0x5501f5['qdHQn']})['option']('checklist',{'type':_0x3288ca(0x1ce),'hidden':!![]});},async _0xdd8bee=>{const _0x4cea5a=_0x14f1d0;if(!_0xdd8bee['name']){console['error'](_0x5501f5[_0x4cea5a(0x12d)]+_0x4cea5a(0x24f)),process[_0x4cea5a(0x27f)](0x1);return;}warnFlagRenamed('ranger\x20create',_0x5501f5['WXmbW'],_0x5501f5['jnQwV']);const _0x20030e=_0xdd8bee['scenario']||_0xdd8bee['checklist'];await withTelemetry('create',()=>featureCreate(_0xdd8bee[_0x4cea5a(0x15f)],{'description':_0xdd8bee[_0x4cea5a(0x2a4)],'scenarios':_0x20030e}));})[_0x14f1d0(0x1c0)](_0x14f1d0(0x161),_0x5501f5['HuFLt'],_0x16ebeb=>{const _0x5cb58f=_0x14f1d0;return _0x16ebeb['option']('current-branch',{'type':_0x5501f5[_0x5cb58f(0x1db)],'description':_0x5501f5[_0x5cb58f(0x10f)]})['option'](_0x5cb58f(0x220),{'type':'number','alias':'l','description':_0x5501f5['lKFXi'],'default':0xa})['option']('offset',{'type':_0x5501f5[_0x5cb58f(0x1c9)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x5cb58f(0x1a9)](_0x5501f5['SIFhL'],{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x29c4fc=>{await withTelemetry('list',()=>featureList({'currentBranch':_0x29c4fc['current-branch'],'limit':_0x29c4fc['limit'],'offset':_0x29c4fc['offset'],'includeDeleted':_0x29c4fc['include-deleted']}));})['command'](_0x5501f5['TULGf'],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x3b548a=>{const _0x4ae08c=_0x14f1d0;return _0x3b548a[_0x4ae08c(0x132)]('id',{'type':_0x4ae08c(0x156),'description':'Feature\x20review\x20ID'});},async _0x25d804=>{const _0x5d109d=_0x14f1d0;await withTelemetry(_0x5501f5[_0x5d109d(0x270)],()=>featureShow(_0x25d804['id']));})[_0x14f1d0(0x1c0)](_0x5501f5['KudMo'],_0x14f1d0(0x16f),_0x167f08=>{const _0x3a5adc=_0x14f1d0;return _0x167f08[_0x3a5adc(0x132)]('id',{'type':_0x5501f5['kIaLQ'],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x381402=>{const _0x40de3b=_0x14f1d0;await _0x5501f5['MIzgu'](withTelemetry,_0x5501f5[_0x40de3b(0x141)],()=>featureResume(_0x381402['id']));})[_0x14f1d0(0x1c0)](_0x5501f5[_0x14f1d0(0x2b0)],_0x5501f5[_0x14f1d0(0x298)],_0x3417e1=>{const _0x11f6f1=_0x14f1d0;return _0x3417e1[_0x11f6f1(0x132)](_0x5501f5[_0x11f6f1(0x181)],{'type':'string','description':_0x5501f5['ikeVf'],'demandOption':!![]})['option']('id',{'type':_0x11f6f1(0x156),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0xc0f0d4=>{const _0x252fff=_0x14f1d0;await withTelemetry(_0x5501f5[_0x252fff(0x22c)],()=>featureAddScenario(_0xc0f0d4[_0x252fff(0x2a4)],_0xc0f0d4['id']));})[_0x14f1d0(0x1c0)]('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0xa12dd1=>{const _0x250da8=_0x14f1d0;return _0xa12dd1[_0x250da8(0x132)](_0x5501f5['zKZFH'],{'type':_0x5501f5[_0x250da8(0x1af)],'description':_0x250da8(0x157),'demandOption':!![]})[_0x250da8(0x1a9)](_0x5501f5[_0x250da8(0x1d6)],{'type':'number','description':_0x5501f5['VAvGq'],'demandOption':!![]})['option']('id',{'type':_0x5501f5[_0x250da8(0x1af)],'description':_0x250da8(0x2b4)});},async _0x47416b=>{const _0x2f9e44=_0x14f1d0;await _0x5501f5[_0x2f9e44(0x11a)](withTelemetry,_0x2f9e44(0x1bd),()=>featureEditScenario(_0x47416b['description'],{'id':_0x47416b['id'],'scenario':_0x47416b['scenario']}));})['command'](_0x5501f5['YjBUJ'],_0x5501f5['NyXUo'],_0x32b2d2=>{const _0x27f81c=_0x14f1d0;return _0x32b2d2[_0x27f81c(0x132)]('id',{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5['ZqFGT']})[_0x27f81c(0x1a9)](_0x5501f5[_0x27f81c(0x218)],{'type':_0x27f81c(0x1ce),'description':_0x27f81c(0x26d)})['option'](_0x5501f5[_0x27f81c(0x12f)],{'type':_0x27f81c(0x26e),'description':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','default':![]});},async _0x2af31f=>{const _0x13b379=_0x14f1d0,_0x1fdec1=_0x2af31f[_0x13b379(0x289)],_0xa7ac7b=_0x1fdec1?_0x1fdec1[_0x13b379(0x121)](_0x50812e=>Number(_0x50812e)):undefined;await withTelemetry(_0x5501f5[_0x13b379(0x1e7)],()=>featureReportPrDescription(_0x2af31f['id'],{'excludeScenarios':_0xa7ac7b,'json':_0x2af31f['json']}));})['command']('get-review\x20[id]',_0x14f1d0(0x1b3),_0x28672e=>{const _0x15d8c5=_0x14f1d0;return _0x28672e['positional']('id',{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5[_0x15d8c5(0x1eb)]});},async _0x397cb6=>{const _0x3debce=_0x14f1d0;await withTelemetry(_0x5501f5[_0x3debce(0x1c1)],()=>featureGetReview(_0x397cb6['id']));})[_0x14f1d0(0x1c0)]('delete\x20[id]','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x27bb7d=>{const _0x36384f=_0x14f1d0;return _0x27bb7d['positional']('id',{'type':_0x36384f(0x156),'description':_0x5501f5['ZqFGT']});},async _0x4f98af=>{await _0x5501f5['MIzgu'](withTelemetry,'delete',()=>featureDelete(_0x4f98af['id']));})['command'](_0x5501f5[_0x14f1d0(0x18b)],_0x5501f5[_0x14f1d0(0x22b)],_0x2c1b85=>{return _0x2c1b85['positional']('id',{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5['vOtDJ'],'demandOption':!![]});},async _0x3617fe=>{const _0xcd1ee3=_0x14f1d0;await withTelemetry(_0x5501f5[_0xcd1ee3(0x1a0)],()=>featureRestore(_0x3617fe['id']));})[_0x14f1d0(0x1c0)](_0x14f1d0(0x149),'Initialize\x20Ranger\x20in\x20your\x20project',_0x2deba5=>{const _0x468811=_0x14f1d0,_0x392326={'yuzlF':function(_0x1df988,_0x44c3ea,_0x16e9c8){return _0x5501f5['MIzgu'](_0x1df988,_0x44c3ea,_0x16e9c8);},'rsfnr':_0x468811(0x158),'eBNdm':function(_0x50f12a,_0x324afe,_0x578130){const _0x5847b8=_0x468811;return _0x5501f5[_0x5847b8(0x295)](_0x50f12a,_0x324afe,_0x578130);},'pFjmc':'setup:all','jBLkV':function(_0x101f76){const _0x50a4bf=_0x468811;return _0x5501f5[_0x50a4bf(0x1d1)](_0x101f76);},'yyLxG':function(_0x2f6bec,_0x3a5f1f){const _0x4f0cc3=_0x468811;return _0x5501f5[_0x4f0cc3(0x1a6)](_0x2f6bec,_0x3a5f1f);},'JuILz':_0x468811(0x1ae)};return _0x2deba5[_0x468811(0x14c)]('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')[_0x468811(0x132)](_0x5501f5['GnPrv'],{'type':'string','description':_0x5501f5[_0x468811(0x297)]})['command'](_0x468811(0x164),'Run\x20full\x20interactive\x20setup',_0x5437af=>{const _0x83f38f=_0x468811;return _0x5437af['option'](_0x83f38f(0x1d4),{'type':_0x83f38f(0x156),'description':_0x5501f5['NbtLa']})['option'](_0x5501f5['VZEpU'],{'type':_0x83f38f(0x26e),'description':_0x5501f5['RMlNI'],'default':![]})[_0x83f38f(0x1a9)](_0x5501f5['OHenx'],{'type':_0x5501f5['cJPgt'],'description':'Skip\x20authentication','default':![]})[_0x83f38f(0x1a9)](_0x83f38f(0x22e),{'type':'boolean','description':_0x83f38f(0x2a5),'default':![]})[_0x83f38f(0x1a9)]('scope',{'type':_0x5501f5['kIaLQ'],'choices':['user',_0x5501f5['QvtzP']],'description':_0x5501f5['Ogqdv']})[_0x83f38f(0x1a9)](_0x83f38f(0x21c),{'type':'string','description':_0x83f38f(0x25b)})[_0x83f38f(0x1a9)](_0x5501f5['NxBMU'],{'type':_0x5501f5['cJPgt'],'description':_0x5501f5['aOUGA'],'default':![]})[_0x83f38f(0x1a9)]('opencode',{'type':_0x83f38f(0x26e),'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x83f38f(0x1a9)](_0x83f38f(0x269),{'type':_0x83f38f(0x26e),'description':_0x83f38f(0x256),'default':![]})[_0x83f38f(0x1a9)](_0x83f38f(0x158),{'type':_0x5501f5['cJPgt'],'description':_0x83f38f(0x19c),'default':![]})[_0x83f38f(0x1a9)]('mcp',{'type':_0x5501f5['cJPgt'],'description':_0x5501f5['EqPbT'],'default':![]});},async _0x1ec46c=>{const _0x328821=_0x468811;(_0x1ec46c[_0x328821(0x158)]||_0x1ec46c['mcp'])&&await _0x392326[_0x328821(0x1f0)](withTelemetry,_0x392326[_0x328821(0x2ae)],()=>mcpBootstrap()),await _0x392326['eBNdm'](withTelemetry,_0x392326[_0x328821(0x1a3)],_0x5bde12=>start(_0x1ec46c['token'],{'skipChromium':_0x1ec46c[_0x328821(0x237)],'skipAuth':_0x1ec46c['skip-auth'],'withDeps':_0x1ec46c['with-deps'],'scope':_0x1ec46c['scope'],'url':_0x1ec46c[_0x328821(0x21c)],'force':_0x1ec46c[_0x328821(0x275)],'opencode':_0x1ec46c[_0x328821(0x288)],'allowInsecureLocalhost':_0x1ec46c['allow-insecure-localhost']},_0x5bde12));})['command']('deps',_0x5501f5[_0x468811(0x223)],_0x3727b6=>{return _0x3727b6['option']('with-deps',{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x40b90b=>{await withTelemetry('setup:deps',()=>ensureChromium(_0x40b90b['with-deps']));})[_0x468811(0x1c0)]('login',_0x5501f5[_0x468811(0x1e6)],_0x54e778=>{const _0x4cf43c=_0x468811;return _0x54e778['option']('token',{'type':'string','description':_0x4cf43c(0x196)})['option'](_0x5501f5['XIXLB'],{'type':_0x5501f5['cJPgt'],'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x32df84=>{const _0x1e6f60=_0x468811,_0x633b17={'fTQFa':function(_0x1a1c07){return _0x5501f5['fhkmL'](_0x1a1c07);},'hbMjX':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','KQYkn':function(_0x3aa304,_0x2b90de){return _0x5501f5['IWDAw'](_0x3aa304,_0x2b90de);}};await _0x5501f5[_0x1e6f60(0x295)](withTelemetry,'setup:login',async()=>{const _0x2a4200=_0x1e6f60;if(_0x32df84[_0x2a4200(0x175)]){await mcpBootstrap();const _0x2a6c82=await _0x633b17[_0x2a4200(0x1b9)](refreshCliToken);if(!_0x2a6c82)throw new Error(_0x633b17[_0x2a4200(0x147)]);const _0x2db821=await getCurrentUser(_0x2a6c82);if(!_0x2db821[_0x2a4200(0x1d3)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x2db821[_0x2a4200(0x1b1)]);console['log']('✓\x20Authenticated\x20to\x20'+_0x2db821['user']['organizationName']);return;}await _0x633b17[_0x2a4200(0x230)](authenticate,_0x32df84[_0x2a4200(0x1d4)]);});})['command'](_0x5501f5['AlcfL'],_0x468811(0x166),_0x3fd800=>{const _0x1933ca=_0x468811;return _0x3fd800['option'](_0x5501f5[_0x1933ca(0x27d)],{'type':_0x1933ca(0x156),'choices':['user',_0x5501f5[_0x1933ca(0x172)]],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})['option'](_0x1933ca(0x288),{'type':_0x1933ca(0x26e),'description':_0x5501f5[_0x1933ca(0x1a8)],'default':![]});},async _0x4308db=>{const _0x447877=_0x468811;await withTelemetry(_0x447877(0x27b),async()=>{const _0x3d5308=_0x447877,_0x3f8c5f=_0x4308db[_0x3d5308(0x253)];if(_0x4308db['opencode']){const _0x13b9a5=await ensureOpencodePluginConfig(_0x3f8c5f);_0x13b9a5&&await installSkill(_0x3d5308(0x15a),{'level':_0x13b9a5[_0x3d5308(0x253)],'cliVersion':_0x392326[_0x3d5308(0x1be)](getCurrentVersion),'platform':_0x3d5308(0x288)});}else await _0x392326['yyLxG'](ensureClaudePlugin,_0x3f8c5f),await ensureClaudeSkills(_0x3f8c5f);});})[_0x468811(0x1c0)](_0x5501f5['JOuJJ'],_0x5501f5['JBwIz'],_0x17121e=>{const _0x1e2a8b=_0x468811;return _0x17121e[_0x1e2a8b(0x1a9)](_0x1e2a8b(0x253),{'type':'string','choices':[_0x1e2a8b(0x16a),_0x5501f5['QvtzP']],'description':_0x5501f5['fMzkK']})['option'](_0x5501f5[_0x1e2a8b(0x259)],{'type':_0x5501f5['kIaLQ'],'description':'Base\x20URL\x20of\x20the\x20running\x20app'})['option'](_0x5501f5[_0x1e2a8b(0x1b0)],{'type':_0x1e2a8b(0x26e),'description':_0x5501f5['TtIZn'],'default':![]})['option'](_0x5501f5[_0x1e2a8b(0x2ad)],{'type':'boolean','description':_0x5501f5['aOUGA'],'default':![]})['option'](_0x1e2a8b(0x269),{'type':_0x5501f5[_0x1e2a8b(0x1db)],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x2e81d0=>{const _0x598cd5=_0x468811;await withTelemetry(_0x392326[_0x598cd5(0x17c)],_0x405dd5=>ensureLocalEnv({'url':_0x2e81d0['url'],'force':_0x2e81d0[_0x598cd5(0x275)],'allowInsecureLocalhost':_0x2e81d0[_0x598cd5(0x269)],'scope':_0x2e81d0['scope']==='user'?'user':undefined},_0x405dd5));})['option'](_0x5501f5['VZEpU'],{'type':_0x468811(0x26e),'description':_0x5501f5['RMlNI'],'default':![]})['option'](_0x5501f5['RTpPD'],{'type':'string','choices':[_0x468811(0x16a),_0x5501f5['QvtzP']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})[_0x468811(0x1a9)](_0x5501f5['wghrn'],{'type':_0x5501f5[_0x468811(0x1af)],'description':_0x468811(0x17f)})['option'](_0x468811(0x275),{'type':_0x468811(0x26e),'description':_0x5501f5[_0x468811(0x272)],'default':![]})[_0x468811(0x1a9)]('opencode',{'type':_0x5501f5['cJPgt'],'description':_0x5501f5['cEVAQ'],'default':![]})['option']('allow-insecure-localhost',{'type':_0x5501f5['cJPgt'],'description':_0x5501f5[_0x468811(0x1e8)],'default':![]})['option'](_0x468811(0x158),{'type':'boolean','description':_0x5501f5[_0x468811(0x20d)],'default':![]})['option'](_0x5501f5[_0x468811(0x1b0)],{'type':_0x5501f5[_0x468811(0x1db)],'description':_0x5501f5['PaQRB'],'default':![]})[_0x468811(0x1a9)](_0x5501f5[_0x468811(0x299)],{'type':_0x5501f5['cJPgt'],'description':_0x5501f5['TjYLZ'],'default':![]})[_0x468811(0x1a9)](_0x468811(0x1d4),{'type':'string','hidden':!![],'description':_0x468811(0x1fb)});},async _0x4552f7=>{const _0x505e41=_0x14f1d0,_0x1f9044=_0x4552f7['tokenOrSubcommand'],_0xc17573=_0x4552f7['token']??_0x1f9044;_0x4552f7[_0x5501f5['Qrsqd']]&&await withTelemetry(_0x5501f5[_0x505e41(0x189)],()=>mcpBootstrap()),await withTelemetry(_0x5501f5[_0x505e41(0x16c)],_0x123797=>start(_0xc17573,{'skipChromium':_0x4552f7['skip-chromium'],'skipAuth':_0x4552f7[_0x505e41(0x127)],'withDeps':_0x4552f7[_0x505e41(0x22e)],'scope':_0x4552f7[_0x505e41(0x253)],'url':_0x4552f7[_0x505e41(0x21c)],'force':_0x4552f7['force'],'opencode':_0x4552f7[_0x505e41(0x288)],'allowInsecureLocalhost':_0x4552f7['allow-insecure-localhost']},_0x123797));})['command'](_0x14f1d0(0x1ed),'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x263677=>{const _0x38370d=_0x14f1d0;return _0x263677[_0x38370d(0x132)]('token',{'type':'string','description':'Ranger\x20API\x20token','demandOption':!![]})['option']('profile',{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5['YrNPH']})[_0x38370d(0x1a9)](_0x38370d(0x266),{'type':_0x38370d(0x156),'description':_0x5501f5[_0x38370d(0x18f)]})['option'](_0x38370d(0x237),{'type':'boolean','description':_0x5501f5['DafvU'],'default':![]});},async _0x36607e=>{const _0x3a5008=_0x14f1d0;await _0x5501f5[_0x3a5008(0x11a)](withTelemetry,_0x3a5008(0x1d5),_0x537265=>setupCi(_0x36607e['token'],{'profile':_0x36607e[_0x3a5008(0x265)],'baseUrl':_0x36607e['base-url'],'skipChromium':_0x36607e['skip-chromium']},_0x537265));})[_0x14f1d0(0x1c0)](_0x5501f5['eXzla'],_0x5501f5['kMCFT'],()=>{},async()=>{const _0x1782ef=_0x14f1d0;await _0x5501f5[_0x1782ef(0x24b)](withTelemetry,_0x5501f5[_0x1782ef(0x11d)],()=>login());})['command'](_0x5501f5['TicBa'],_0x5501f5['KTMtG'],_0x3f59b4=>{const _0x53d71c=_0x14f1d0;return _0x3f59b4[_0x53d71c(0x1a9)](_0x5501f5[_0x53d71c(0x21e)],{'type':'boolean','description':_0x5501f5[_0x53d71c(0x21f)],'default':![]})['option']('scope',{'type':_0x53d71c(0x156),'choices':[_0x5501f5[_0x53d71c(0x1ea)],'project'],'description':_0x5501f5['JYslu']});},async _0x258c0a=>{const _0x196a3b=_0x14f1d0,_0x135fa1=_0x5501f5[_0x196a3b(0x1a5)](Boolean,_0x258c0a['opencode']);await withTelemetry(_0x5501f5['TicBa'],()=>skillup({'autoInstall':_0x258c0a['scope'],'platform':_0x135fa1?'opencode':_0x196a3b(0x1b8)}));})[_0x14f1d0(0x1c0)](_0x14f1d0(0x235),_0x5501f5[_0x14f1d0(0x1a2)],()=>{},async()=>{await _0x5501f5['IeKgP'](withTelemetry,_0x5501f5['WcFvD'],()=>clean());})['command'](_0x5501f5[_0x14f1d0(0x209)],_0x14f1d0(0x285),_0xfb7246=>{const _0x527a45=_0x14f1d0,_0x4f399e={'necBR':'profile\x20add','uoaDn':_0x527a45(0x111),'WiCsg':function(_0x4037b9,_0x99a5b4,_0x5d0214){return _0x4037b9(_0x99a5b4,_0x5d0214);},'ZxvTk':_0x527a45(0x265),'nEwnF':_0x527a45(0x155),'CwLPz':_0x527a45(0x123),'mSuCm':_0x5501f5[_0x527a45(0x1db)],'IqXOW':function(_0x450242,_0x1460bd,_0x373496){return _0x450242(_0x1460bd,_0x373496);},'LczOh':_0x5501f5[_0x527a45(0x260)],'HarrR':function(_0x341adf,_0x7cc776,_0x4280e1){return _0x341adf(_0x7cc776,_0x4280e1);},'aWAkp':function(_0x44d606,_0x581ca0){return _0x44d606===_0x581ca0;},'JFEjW':_0x5501f5['IgSEu'],'NDWiS':_0x527a45(0x156),'lbbnQ':_0x5501f5[_0x527a45(0x1bb)],'GfJqD':_0x5501f5['IPbsD'],'ZyPVM':'profile\x20config\x20set','wRIUj':_0x5501f5[_0x527a45(0x264)],'vQSox':function(_0x48fde8,_0xe3d227,_0x22d780){return _0x5501f5['MIzgu'](_0x48fde8,_0xe3d227,_0x22d780);}};return _0xfb7246['usage'](PROFILE_HELP)['command'](_0x5501f5[_0x527a45(0x26c)],'Add\x20profile\x20configuration',_0x18c8c5=>{const _0x5e2551=_0x527a45;return _0x18c8c5['positional'](_0x5501f5[_0x5e2551(0x195)],{'type':'string','description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x5501f5['cJPgt'],'description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option']('skip-auth',{'type':_0x5e2551(0x26e),'description':_0x5501f5['PwpNL'],'default':![]})[_0x5e2551(0x1a9)](_0x5e2551(0x21c),{'type':_0x5501f5['kIaLQ'],'description':_0x5e2551(0x1f2)})['option'](_0x5e2551(0x275),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x5e2551(0x1a9)](_0x5e2551(0x111),{'type':_0x5501f5['kIaLQ'],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})[_0x5e2551(0x1a9)](_0x5501f5[_0x5e2551(0x1d2)],{'type':_0x5e2551(0x26e),'description':_0x5e2551(0x133),'default':![]})['option'](_0x5501f5[_0x5e2551(0x23f)],{'type':_0x5501f5['cJPgt'],'description':_0x5501f5['zkrtB'],'default':![]})[_0x5e2551(0x1a9)](_0x5e2551(0x262),{'type':'string','array':!![],'description':_0x5e2551(0x194)})['option']('scope',{'type':_0x5e2551(0x156),'choices':['user','project'],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})[_0x5e2551(0x1a9)](_0x5e2551(0x29f),{'type':_0x5e2551(0x26e),'alias':'y','description':_0x5e2551(0x113),'default':![]});},async _0x12a2e9=>{const _0x5e1e92=_0x527a45;await withTelemetry(_0x4f399e[_0x5e1e92(0x20b)],_0x1160e3=>addEnv(_0x12a2e9['profile-name'],{'ci':_0x12a2e9['ci'],'skipAuth':_0x12a2e9['skip-auth'],'url':_0x12a2e9['url'],'force':_0x12a2e9[_0x5e1e92(0x275)],'cdpEndpoint':_0x12a2e9['cdp-endpoint'],'allowInsecureLocalhost':_0x12a2e9['allow-insecure-localhost'],'safeMode':_0x12a2e9[_0x5e1e92(0x11c)],'setupHeader':_0x12a2e9['setup-header'],'scope':_0x12a2e9['scope'],'yes':_0x12a2e9[_0x5e1e92(0x29f)]},_0x1160e3),{'isElectron':Boolean(_0x12a2e9[_0x4f399e['uoaDn']])});})[_0x527a45(0x1c0)](_0x5501f5['ODAAE'],_0x5501f5['wNjIc'],_0x28ad7d=>{const _0x14c9a7=_0x527a45;return _0x28ad7d[_0x14c9a7(0x132)]('profile-name',{'type':_0x5501f5[_0x14c9a7(0x1af)],'description':_0x14c9a7(0x240),'demandOption':!![]});},async _0x2677bc=>{const _0x46796c=_0x527a45;await _0x4f399e[_0x46796c(0x273)](withTelemetry,_0x46796c(0x280),()=>useEnv(_0x2677bc[_0x46796c(0x14b)]));})['command'](_0x5501f5[_0x527a45(0x1de)],_0x527a45(0x17b),_0x884c7b=>{const _0x5da533=_0x527a45;return _0x884c7b['positional'](_0x4f399e[_0x5da533(0x14f)],{'type':_0x5da533(0x156),'description':_0x4f399e['nEwnF'],'demandOption':!![]});},async _0xe58349=>{const _0xdb7041=_0x527a45;await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0xe58349[_0xdb7041(0x265)]));})[_0x527a45(0x1c0)]('ls',_0x5501f5['ESeig'],()=>{},async()=>{const _0x9bd9e=_0x527a45;await withTelemetry(_0x9bd9e(0x254),()=>envList());})[_0x527a45(0x1c0)]('update\x20<profile-name>',_0x527a45(0x144),_0x14577d=>{const _0xcf044b=_0x527a45;return _0x14577d['positional']('profile-name',{'type':_0xcf044b(0x156),'description':_0x4f399e[_0xcf044b(0x225)],'demandOption':!![]})[_0xcf044b(0x1a9)]('allow-insecure-localhost',{'type':_0x4f399e['mSuCm'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'});},async _0xf2fdb8=>{const _0x41b15e=_0x527a45;await _0x4f399e[_0x41b15e(0x23c)](withTelemetry,_0x4f399e['LczOh'],_0x5a5303=>updateEnv(_0xf2fdb8['profile-name'],_0x5a5303,{'allowInsecureLocalhost':_0xf2fdb8['allow-insecure-localhost']}));})['command'](_0x5501f5[_0x527a45(0x143)],![],_0x5483f7=>{const _0x5933be=_0x527a45;return _0x5483f7['positional'](_0x5933be(0x15f),{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5[_0x5933be(0x255)],'demandOption':!![]});},async _0xedfca3=>{const _0x1612e7=_0x527a45;await _0x5501f5['IeKgP'](withTelemetry,_0x5501f5[_0x1612e7(0x183)],async()=>{const _0x1345df=_0x1612e7,_0x18c90c=process[_0x1345df(0x178)][_0x1345df(0x125)],_0x3183a1=process[_0x1345df(0x178)][_0x1345df(0x274)];(!_0x18c90c||!_0x3183a1)&&(console[_0x1345df(0x1b1)]('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process['exit'](0x1));const _0x404184=_0xedfca3[_0x1345df(0x15f)],_0x3f7f30=await _0x4f399e['HarrR'](serverSideLogin,_0x404184,{'force':!![]});_0x4f399e['aWAkp'](_0x3f7f30['status'],'not_configured')&&(console[_0x1345df(0x1b1)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x1345df(0x27f)](0x1)),_0x4f399e['aWAkp'](_0x3f7f30[_0x1345df(0x281)],'failed')&&(console[_0x1345df(0x1b1)](_0x1345df(0x249)+(_0x3f7f30[_0x1345df(0x1b1)]??_0x1345df(0x165))),_0x3f7f30['test_output']&&console[_0x1345df(0x1b1)](_0x3f7f30[_0x1345df(0x208)]),process[_0x1345df(0x27f)](0x1)),console['log']('✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27'+_0x404184+'\x27.\x20Session\x20written\x20to\x20cloud\x20profile.');});})[_0x527a45(0x1c0)](_0x527a45(0x1b4),'Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)',_0x3f8788=>{const _0xc0d14=_0x527a45;return _0x3f8788['positional']('profile-name',{'type':_0x5501f5['kIaLQ'],'description':_0xc0d14(0x1f4)})['option']('all',{'type':_0x5501f5[_0xc0d14(0x1db)],'description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})[_0xc0d14(0x1a9)](_0x5501f5['mRAEA'],{'type':_0x5501f5['cJPgt'],'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0xc0d14(0x1a9)]('yes',{'type':'boolean','alias':'y','description':_0xc0d14(0x25e),'default':![]})[_0xc0d14(0x1a9)](_0x5501f5[_0xc0d14(0x187)],{'type':_0xc0d14(0x26e),'description':_0xc0d14(0x138),'default':![]});},async _0x1b3c8d=>{const _0x5b0566=_0x527a45;await _0x5501f5[_0x5b0566(0x1ac)](withTelemetry,'profile\x20migrate',_0x6540e1=>migrateProfile({'profileName':_0x1b3c8d['profile-name'],'all':_0x1b3c8d[_0x5b0566(0x164)],'dryRun':_0x1b3c8d[_0x5b0566(0x19d)],'yes':_0x1b3c8d[_0x5b0566(0x29f)],'saveCreds':_0x1b3c8d['save-creds']},_0x6540e1));})['command'](_0x527a45(0x2b8),_0x527a45(0x248),_0x4ebc7b=>{const _0x4ebc31=_0x527a45,_0x43ffda={'fqvNo':_0x4ebc31(0x156),'bvBwd':_0x4ebc31(0x155),'QnxDK':_0x4ebc31(0x199),'gDqCa':_0x5501f5['oYIzQ'],'PgWeb':_0x4ebc31(0x154)};return _0x4ebc7b['usage'](PROFILE_CONFIG_HELP)[_0x4ebc31(0x1c0)](_0x5501f5['IqGcH'],_0x5501f5['BKiwm'],_0x48096b=>{const _0x257b6c=_0x4ebc31;return _0x48096b[_0x257b6c(0x132)](_0x4f399e[_0x257b6c(0x14f)],{'type':'string','description':_0x4f399e['nEwnF'],'demandOption':!![]})['positional'](_0x4f399e['JFEjW'],{'type':_0x4f399e[_0x257b6c(0x114)],'description':_0x4f399e['lbbnQ'],'demandOption':!![]})['positional'](_0x4f399e[_0x257b6c(0x11f)],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x2e594f=>{const _0x2591d9=_0x4ebc31;await withTelemetry(_0x4f399e[_0x2591d9(0x160)],()=>configSet(_0x2e594f[_0x2591d9(0x265)],_0x2e594f[_0x2591d9(0x199)],_0x2e594f['value']));})[_0x4ebc31(0x1c0)]('get\x20<profile>\x20<key>',_0x4ebc31(0x1f5),_0x6cd551=>{const _0x1aa853=_0x4ebc31;return _0x6cd551['positional'](_0x1aa853(0x265),{'type':_0x43ffda[_0x1aa853(0x118)],'description':_0x43ffda['bvBwd'],'demandOption':!![]})[_0x1aa853(0x132)](_0x43ffda[_0x1aa853(0x25c)],{'type':_0x43ffda['fqvNo'],'description':'Config\x20key','demandOption':!![]});},async _0x3ba866=>{const _0x19e2be=_0x4ebc31;await withTelemetry(_0x43ffda[_0x19e2be(0x224)],()=>configGet(_0x3ba866[_0x19e2be(0x265)],_0x3ba866['key']));})['command'](_0x4ebc31(0x294),'List\x20all\x20config\x20for\x20a\x20profile',_0x1d9495=>{const _0x201930=_0x4ebc31;return _0x1d9495[_0x201930(0x132)](_0x4f399e['ZxvTk'],{'type':_0x4f399e[_0x201930(0x114)],'description':_0x4f399e[_0x201930(0x130)],'demandOption':!![]});},async _0x1184ab=>{await withTelemetry(_0x4f399e['wRIUj'],()=>configList(_0x1184ab['profile']));})['command'](_0x5501f5[_0x4ebc31(0x1ad)],_0x5501f5[_0x4ebc31(0x28b)],_0x3fb867=>{const _0x11bf56=_0x4ebc31;return _0x3fb867['positional'](_0x11bf56(0x265),{'type':_0x43ffda['fqvNo'],'description':_0x11bf56(0x155),'demandOption':!![]})['positional'](_0x43ffda['QnxDK'],{'type':'string','description':_0x43ffda['PgWeb'],'demandOption':!![]});},async _0x1909c8=>{await _0x4f399e['WiCsg'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x1909c8['profile'],_0x1909c8['key']));})['command'](_0x4ebc31(0x20a),_0x5501f5[_0x4ebc31(0x115)],_0x4c5472=>{const _0x1518ef=_0x4ebc31;return _0x4c5472[_0x1518ef(0x132)](_0x1518ef(0x265),{'type':_0x4f399e[_0x1518ef(0x114)],'description':_0x4f399e['nEwnF'],'demandOption':!![]});},async _0x2964d1=>{const _0x4a1e58=_0x4ebc31;await _0x4f399e[_0x4a1e58(0x246)](withTelemetry,_0x4a1e58(0x25d),()=>configReset(_0x2964d1[_0x4a1e58(0x265)]));})[_0x4ebc31(0x188)](0x1,_0x4ebc31(0x1ec));})[_0x527a45(0x188)](0x1,_0x5501f5['SWkkp']);})[_0x14f1d0(0x1c0)](_0x5501f5['eDYNE'],_0x5501f5['ywugR'],()=>{},async()=>{await _0x5501f5['IeKgP'](withTelemetry,_0x5501f5['eDYNE'],()=>status());})['command'](_0x14f1d0(0x17a),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{await withTelemetry('update',()=>update());})['command']('print-access-token','Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x47e051=_0x14f1d0;await _0x5501f5[_0x47e051(0x12e)](withTelemetry,_0x5501f5['QjXrG'],async()=>{const _0x5b3831=_0x47e051,_0x31169d=await getToken();if(!_0x31169d)throw new Error(_0x5b3831(0x200));console[_0x5b3831(0x12b)](_0x31169d);});})['command']('go',_0x5501f5[_0x14f1d0(0x23d)],_0x306352=>{const _0x33e5c2=_0x14f1d0;return _0x306352[_0x33e5c2(0x1a9)](_0x5501f5[_0x33e5c2(0x244)],{'type':_0x5501f5[_0x33e5c2(0x1af)],'description':_0x5501f5['jXxpx']})['option'](_0x33e5c2(0x265),{'type':_0x5501f5['kIaLQ'],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x33e5c2(0x1a9)](_0x33e5c2(0x1cf),{'type':'string','description':_0x5501f5['opTrM']})[_0x33e5c2(0x1a9)](_0x33e5c2(0x142),{'type':'number','description':_0x5501f5[_0x33e5c2(0x28a)]})['option'](_0x5501f5[_0x33e5c2(0x1ee)],{'type':_0x33e5c2(0x156),'description':_0x5501f5['EBpmN']})[_0x33e5c2(0x1a9)](_0x33e5c2(0x266),{'type':_0x5501f5['kIaLQ'],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x33e5c2(0x12c),{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5['Vhbyn']})['option'](_0x33e5c2(0x2aa),{'type':'boolean','description':_0x5501f5[_0x33e5c2(0x2ba)],'default':![]})['option'](_0x5501f5[_0x33e5c2(0x186)],{'type':_0x5501f5[_0x33e5c2(0x1af)],'hidden':!![],'choices':[_0x5501f5['pYTQS'],'partial',_0x5501f5['mIcVt'],'failed','incomplete']})[_0x33e5c2(0x1a9)](_0x33e5c2(0x250),{'type':'boolean','hidden':!![]})['option'](_0x33e5c2(0x178),{'type':_0x5501f5[_0x33e5c2(0x1af)],'hidden':!![]})['option']('task',{'type':'string','hidden':!![]})['option'](_0x33e5c2(0x24c),{'type':_0x5501f5[_0x33e5c2(0x1c9)],'hidden':!![]});},async _0x59d0b0=>{await runGoCommand(_0x59d0b0);})[_0x14f1d0(0x1c0)](_0x5501f5['ZDltT'],![],_0x15ec80=>{const _0x178171=_0x14f1d0,_0x5d0f2f={'qRIjx':function(_0x3f5cc2,_0x52ebfe,_0x4c85a5){return _0x3f5cc2(_0x52ebfe,_0x4c85a5);},'OrUVw':_0x178171(0x226),'WlroT':_0x178171(0x29c),'herDE':function(_0xa1d6f9,_0x2335f1){return _0xa1d6f9(_0x2335f1);}};return _0x15ec80[_0x178171(0x1c0)](_0x5501f5['FLrsA'],![],_0xd7c658=>{const _0x26b090=_0x178171;return _0xd7c658[_0x26b090(0x132)](_0x5501f5[_0x26b090(0x209)],{'type':_0x26b090(0x156),'description':_0x26b090(0x155),'demandOption':!![]});},async _0x414a1f=>{const _0x54066a=_0x178171;_0x5d0f2f[_0x54066a(0x15d)](warnRenamed,_0x5d0f2f['OrUVw'],_0x5d0f2f['WlroT']),await _0x5d0f2f[_0x54066a(0x19f)](authEncrypt,_0x414a1f[_0x54066a(0x265)]);})['demandCommand'](0x1,_0x5501f5[_0x178171(0x268)]);},()=>{})[_0x14f1d0(0x1c0)](_0x5501f5['NFDiF'],![],_0x2d5289=>{const _0x105884=_0x14f1d0;return _0x2d5289['positional']('token',{'type':'string','description':_0x105884(0x197)})['option'](_0x5501f5[_0x105884(0x119)],{'type':'boolean','description':_0x5501f5['RMlNI'],'default':![]})['option'](_0x105884(0x253),{'type':_0x5501f5[_0x105884(0x1af)],'choices':[_0x5501f5['OtGPj'],_0x105884(0x171)],'description':_0x105884(0x1da)})[_0x105884(0x1a9)](_0x105884(0x21c),{'type':_0x105884(0x156),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x105884(0x275),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x105884(0x1a9)]('skip-auth',{'type':'boolean','description':_0x105884(0x2af),'default':![]})[_0x105884(0x1a9)]('with-deps',{'type':'boolean','description':_0x105884(0x2a5),'default':![]});},async _0x26de8d=>{const _0x493f04=_0x14f1d0;_0x5501f5['dGQHS'](warnRenamed,'ranger\x20start','ranger\x20setup'),await withTelemetry(_0x5501f5['jxwhA'],_0x5df84e=>start(_0x26de8d['token'],{'skipChromium':_0x26de8d['skip-chromium'],'skipAuth':_0x26de8d['skip-auth'],'withDeps':_0x26de8d[_0x493f04(0x22e)],'scope':_0x26de8d['scope'],'url':_0x26de8d[_0x493f04(0x21c)],'force':_0x26de8d[_0x493f04(0x275)]},_0x5df84e));})['command'](_0x14f1d0(0x177),![],_0x49f985=>{const _0x33b544=_0x14f1d0;return _0x49f985[_0x33b544(0x1a9)](_0x5501f5['zJPUr'],{'type':_0x33b544(0x156),'description':_0x5501f5[_0x33b544(0x179)]})['option']('task',{'type':_0x33b544(0x156),'description':_0x5501f5['KiAST']})[_0x33b544(0x1a9)](_0x5501f5[_0x33b544(0x24e)],{'type':_0x5501f5['QSneg'],'description':_0x5501f5[_0x33b544(0x28a)]})['option']('profile',{'type':_0x5501f5['kIaLQ'],'hidden':!![]})['option']('notes',{'type':_0x33b544(0x156),'hidden':!![]})['option']('scenario',{'type':_0x5501f5[_0x33b544(0x1c9)],'hidden':!![]})['option'](_0x5501f5[_0x33b544(0x1ee)],{'type':'string','description':_0x33b544(0x28f)})['option']('base-url',{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5[_0x33b544(0x1fa)]})[_0x33b544(0x1a9)]('model',{'type':_0x5501f5['kIaLQ'],'hidden':!![]})[_0x33b544(0x1a9)](_0x33b544(0x2aa),{'type':_0x33b544(0x26e),'hidden':!![],'default':![]})[_0x33b544(0x1a9)]('debug-outcome',{'type':_0x5501f5['kIaLQ'],'hidden':!![],'choices':['verified',_0x33b544(0x26b),_0x33b544(0x217),'failed',_0x5501f5[_0x33b544(0x20c)]]});},async _0x5348f4=>{const _0x321f34=_0x14f1d0;await _0x5501f5[_0x321f34(0x295)](runGoCommand,_0x5348f4,!![]);})[_0x14f1d0(0x1c0)](_0x14f1d0(0x1e0),![],_0x2d34c1=>{const _0x20a50c=_0x14f1d0;return _0x2d34c1[_0x20a50c(0x132)](_0x20a50c(0x1a4),{'type':'string','description':_0x20a50c(0x25f),'demandOption':!![]})['option']('ci',{'type':_0x5501f5[_0x20a50c(0x1db)],'description':_0x5501f5[_0x20a50c(0x1f9)],'default':![]})['option'](_0x5501f5['OHenx'],{'type':_0x5501f5['cJPgt'],'description':_0x5501f5[_0x20a50c(0x18e)],'default':![]});},async _0x974f0f=>{const _0x3b997b=_0x14f1d0;_0x5501f5[_0x3b997b(0x295)](warnRenamed,_0x5501f5['PAyoq'],'ranger\x20profile\x20add'),await withTelemetry('add\x20env',_0x3073cf=>addEnv(_0x974f0f['env-name'],{'ci':_0x974f0f['ci'],'skipAuth':_0x974f0f['skip-auth']},_0x3073cf));})[_0x14f1d0(0x1c0)](_0x5501f5[_0x14f1d0(0x1c7)],![],_0x479871=>{const _0x503acb=_0x14f1d0;return _0x479871[_0x503acb(0x132)]('env-name',{'type':'string','description':_0x503acb(0x137),'demandOption':!![]});},async _0x45e92b=>{const _0x5a2d8f=_0x14f1d0;warnRenamed(_0x5a2d8f(0x19a),_0x5a2d8f(0x1b2)),await _0x5501f5[_0x5a2d8f(0x12e)](withTelemetry,'use',()=>useEnv(_0x45e92b['env-name']));})['command'](_0x14f1d0(0x2b8),![],_0x3fc34d=>{const _0x295c70=_0x14f1d0,_0x24ec17={'wUDgA':'env','gVwpY':_0x5501f5[_0x295c70(0x18a)],'jyCZS':_0x5501f5['WPNXC'],'oJVeA':_0x295c70(0x156),'LTPUI':_0x295c70(0x271),'tdjnu':function(_0x4c59f5,_0x1821d6,_0xee031d){return _0x5501f5['IeKgP'](_0x4c59f5,_0x1821d6,_0xee031d);},'xcCHg':_0x5501f5[_0x295c70(0x267)],'WCHhc':_0x5501f5['rIsrr'],'XQXUB':_0x295c70(0x28e),'ZkRkx':'key','eiMCo':_0x295c70(0x22d),'rWWcS':_0x5501f5['sQpdl'],'PZaLB':_0x5501f5['xqZiZ']};return _0x3fc34d['command'](_0x295c70(0x214),![],_0x55176d=>{const _0x549584=_0x295c70;return _0x55176d['positional'](_0x24ec17['wUDgA'],{'type':'string','description':_0x24ec17[_0x549584(0x243)],'demandOption':!![]})[_0x549584(0x132)]('key',{'type':_0x549584(0x156),'description':_0x24ec17['jyCZS'],'demandOption':!![]})[_0x549584(0x132)](_0x549584(0x21a),{'type':_0x24ec17[_0x549584(0x19e)],'description':_0x24ec17['LTPUI'],'demandOption':!![]});},async _0x2ad3c7=>{const _0x597ab4=_0x295c70;_0x5501f5[_0x597ab4(0x1ac)](warnRenamed,_0x597ab4(0x174),_0x597ab4(0x129)),await _0x5501f5['glrlP'](withTelemetry,_0x597ab4(0x18c),()=>configSet(_0x2ad3c7['env'],_0x2ad3c7[_0x597ab4(0x199)],_0x2ad3c7['value']));})[_0x295c70(0x1c0)](_0x5501f5['zjnKD'],![],_0x17b6e8=>{const _0x466db7=_0x295c70;return _0x17b6e8['positional'](_0x5501f5[_0x466db7(0x296)],{'type':_0x5501f5['kIaLQ'],'description':_0x5501f5['vWqNX'],'demandOption':!![]})['positional'](_0x466db7(0x199),{'type':_0x466db7(0x156),'description':_0x5501f5['YekPN'],'demandOption':!![]});},async _0x40f789=>{const _0xf504b0=_0x295c70;_0x24ec17[_0xf504b0(0x190)](warnRenamed,_0x24ec17['xcCHg'],_0x24ec17['WCHhc']),await withTelemetry(_0x24ec17['XQXUB'],()=>configGet(_0x40f789[_0xf504b0(0x178)],_0x40f789[_0xf504b0(0x199)]));})['command'](_0x295c70(0x228),![],_0x4c7d96=>{const _0x9672fa=_0x295c70;return _0x4c7d96[_0x9672fa(0x132)](_0x24ec17[_0x9672fa(0x1c5)],{'type':_0x9672fa(0x156),'description':_0x24ec17['gVwpY'],'demandOption':!![]});},async _0x3f1b1f=>{const _0x26b287=_0x295c70;warnRenamed(_0x5501f5[_0x26b287(0x28c)],'ranger\x20profile\x20config\x20list'),await withTelemetry(_0x26b287(0x238),()=>configList(_0x3f1b1f[_0x26b287(0x178)]));})['command'](_0x5501f5['mwZpX'],![],_0x452fd4=>{const _0x21f753=_0x295c70;return _0x452fd4[_0x21f753(0x132)](_0x24ec17[_0x21f753(0x1c5)],{'type':_0x24ec17['oJVeA'],'description':_0x24ec17['gVwpY'],'demandOption':!![]})['positional'](_0x24ec17['ZkRkx'],{'type':'string','description':_0x21f753(0x154),'demandOption':!![]});},async _0xc5574b=>{const _0x1f5145=_0x295c70;_0x24ec17['tdjnu'](warnRenamed,_0x24ec17['eiMCo'],_0x24ec17[_0x1f5145(0x219)]),await withTelemetry(_0x24ec17['PZaLB'],()=>configUnset(_0xc5574b[_0x1f5145(0x178)],_0xc5574b['key']));})['demandCommand'](0x1,_0x295c70(0x112));})['command'](_0x5501f5[_0x14f1d0(0x296)],![],_0x2f55cf=>{const _0x5257b0=_0x14f1d0,_0x449010={'BVyHf':'env\x20update'};return _0x2f55cf['command']('ls',![],()=>{},async()=>{const _0x1cba29=_0x1cda;_0x5501f5['IeKgP'](warnRenamed,_0x1cba29(0x17e),_0x5501f5[_0x1cba29(0x1c2)]),await withTelemetry(_0x5501f5['VGsIk'],()=>envList());})[_0x5257b0(0x1c0)](_0x5501f5['owZLc'],![],_0xd9d16a=>{const _0x5dd088=_0x5257b0;return _0xd9d16a[_0x5dd088(0x132)](_0x5501f5[_0x5dd088(0x290)],{'type':'string','description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x432e8f=>{const _0x32a216=_0x5257b0;warnRenamed(_0x32a216(0x211),'ranger\x20profile\x20update'),await withTelemetry(_0x449010['BVyHf'],_0x2193fc=>updateEnv(_0x432e8f[_0x32a216(0x1a4)],_0x2193fc));})[_0x5257b0(0x188)](0x1,_0x5501f5[_0x5257b0(0x1d8)]);})[_0x14f1d0(0x1c0)]('feature',![],_0x5add83=>{const _0x18427f=_0x14f1d0,_0x1f9ad3={'IgfBb':_0x5501f5[_0x18427f(0x110)],'KvWzh':_0x5501f5['kIaLQ'],'zZZch':_0x5501f5['zKZFH'],'Dduwq':_0x5501f5[_0x18427f(0x2b2)],'WZiZB':_0x18427f(0x2b3),'KLDJh':_0x5501f5['ICxQn'],'hByNq':_0x18427f(0x1cc),'UqBnw':_0x5501f5['BgAyj'],'bErSl':_0x5501f5[_0x18427f(0x1cd)],'usnbM':function(_0x57fbaa,_0x51d3da,_0x63da2c){return _0x57fbaa(_0x51d3da,_0x63da2c);},'KQFOP':_0x5501f5[_0x18427f(0x1c4)],'mSjSZ':function(_0x438250,_0x40b77e,_0x2b5fa1){return _0x5501f5['MtoEN'](_0x438250,_0x40b77e,_0x2b5fa1);},'nGvBz':_0x5501f5['ikeVf'],'SwUub':function(_0x465293,_0x419a16,_0x1a5ea){return _0x465293(_0x419a16,_0x1a5ea);},'GGfyQ':_0x5501f5['Ebvpu'],'YFNlG':_0x18427f(0x2b4),'HByZo':function(_0x88070e,_0x59424a,_0xcae639){const _0x346d0e=_0x18427f;return _0x5501f5[_0x346d0e(0x202)](_0x88070e,_0x59424a,_0xcae639);},'Pdjoq':_0x18427f(0x1b7)};return _0x5add83[_0x18427f(0x1c0)](_0x18427f(0x2b5),![],_0x8ffc30=>{const _0x28af7d=_0x18427f;return _0x8ffc30[_0x28af7d(0x132)](_0x1f9ad3['IgfBb'],{'type':_0x1f9ad3['KvWzh'],'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x1f9ad3['zZZch'],{'type':_0x1f9ad3['KvWzh'],'alias':'d','description':_0x1f9ad3[_0x28af7d(0x176)]})['option'](_0x1f9ad3['WZiZB'],{'type':'array','alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x28af7d(0x1a9)](_0x1f9ad3['KLDJh'],{'type':'array','hidden':!![]});},async _0x51d48=>{const _0x14ba1a=_0x18427f;warnRenamed(_0x1f9ad3[_0x14ba1a(0x1aa)],_0x14ba1a(0x16e)),warnFlagRenamed(_0x1f9ad3[_0x14ba1a(0x1b5)],_0x1f9ad3[_0x14ba1a(0x134)],'--scenario');const _0x40ace7=_0x51d48['scenario']||_0x51d48['checklist'];await withTelemetry(_0x14ba1a(0x212),()=>featureCreate(_0x51d48['name'],{'description':_0x51d48[_0x14ba1a(0x2a4)],'scenarios':_0x40ace7}));})[_0x18427f(0x1c0)]('list',![],_0x4a2ae8=>{const _0x1e8c9a=_0x18427f;return _0x4a2ae8['option'](_0x1e8c9a(0x12a),{'type':'boolean','description':_0x5501f5[_0x1e8c9a(0x10f)]})['option'](_0x5501f5[_0x1e8c9a(0x120)],{'type':'number','alias':'l','description':_0x1e8c9a(0x1c3),'default':0xa})['option'](_0x5501f5[_0x1e8c9a(0x263)],{'type':_0x1e8c9a(0x287),'alias':'o','description':_0x5501f5[_0x1e8c9a(0x29e)],'default':0x0})['option'](_0x5501f5['SIFhL'],{'type':_0x1e8c9a(0x26e),'alias':'d','description':_0x1e8c9a(0x24a),'default':![]});},async _0x31ec4f=>{const _0x3f0e84=_0x18427f;_0x1f9ad3[_0x3f0e84(0x1a7)](warnRenamed,_0x3f0e84(0x2ab),_0x3f0e84(0x25a)),await withTelemetry(_0x3f0e84(0x1ef),()=>featureList({'currentBranch':_0x31ec4f[_0x3f0e84(0x12a)],'limit':_0x31ec4f[_0x3f0e84(0x220)],'offset':_0x31ec4f['offset'],'includeDeleted':_0x31ec4f['include-deleted']}));})['command']('show\x20[id]',![],_0x8a0cd9=>{const _0x5ea8d8=_0x18427f;return _0x8a0cd9[_0x5ea8d8(0x132)]('id',{'type':_0x5501f5[_0x5ea8d8(0x1af)],'description':_0x5501f5['ZqFGT']});},async _0xa2d0a8=>{const _0x259b3c=_0x18427f;warnRenamed('ranger\x20feature\x20show',_0x1f9ad3[_0x259b3c(0x168)]),await _0x1f9ad3[_0x259b3c(0x16d)](withTelemetry,'feature\x20show',()=>featureShow(_0xa2d0a8['id']));})['command'](_0x5501f5['KudMo'],![],_0x5c8ff5=>{const _0x3c7121=_0x18427f;return _0x5c8ff5['positional']('id',{'type':_0x3c7121(0x156),'description':_0x3c7121(0x13f)});},async _0x2703fb=>{const _0x44113c=_0x18427f;_0x5501f5[_0x44113c(0x21b)](warnRenamed,_0x5501f5[_0x44113c(0x239)],_0x5501f5['ntlZb']),await withTelemetry(_0x5501f5[_0x44113c(0x2b1)],()=>featureResume(_0x2703fb['id']));})[_0x18427f(0x1c0)]('add-checklist-item\x20<description>',![],_0x173900=>{const _0xa7d099=_0x18427f;return _0x173900['positional']('description',{'type':_0xa7d099(0x156),'description':_0x1f9ad3['nGvBz'],'demandOption':!![]})[_0xa7d099(0x1a9)]('id',{'type':_0x1f9ad3[_0xa7d099(0x293)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x83badf=>{const _0x59609d=_0x18427f;_0x1f9ad3[_0x59609d(0x128)](warnRenamed,_0x59609d(0x222),_0x1f9ad3['GGfyQ']),await withTelemetry(_0x59609d(0x193),()=>featureAddScenario(_0x83badf['description'],_0x83badf['id']));})[_0x18427f(0x1c0)](_0x5501f5['zgxsS'],![],_0x249abb=>{const _0x591c2d=_0x18427f;return _0x249abb['positional']('id',{'type':_0x591c2d(0x156),'description':_0x1f9ad3[_0x591c2d(0x233)]});},async _0xfac1a5=>{const _0x303168=_0x18427f;warnRenamed(_0x5501f5['IEQfg'],_0x5501f5['LONjO']),await _0x5501f5['cMIqg'](withTelemetry,_0x303168(0x192),()=>featureGetReview(_0xfac1a5['id']));})[_0x18427f(0x1c0)](_0x18427f(0x14a),![],_0x17ed15=>{const _0x2c6104=_0x18427f;return _0x17ed15['positional']('id',{'type':_0x5501f5[_0x2c6104(0x1af)],'description':_0x2c6104(0x291)});},async _0x1c7394=>{const _0x58139c=_0x18427f;warnRenamed(_0x58139c(0x1b6),_0x58139c(0x2ac)),await withTelemetry(_0x5501f5[_0x58139c(0x13d)],()=>featureDelete(_0x1c7394['id']));})['command'](_0x5501f5[_0x18427f(0x18b)],![],_0x2f304c=>{const _0x4ab0d4=_0x18427f;return _0x2f304c['positional']('id',{'type':'string','description':_0x5501f5[_0x4ab0d4(0x191)],'demandOption':!![]});},async _0x45819a=>{const _0x1c48fd=_0x18427f;_0x1f9ad3['HByZo'](warnRenamed,_0x1f9ad3[_0x1c48fd(0x140)],'ranger\x20restore'),await withTelemetry('feature\x20restore',()=>featureRestore(_0x45819a['id']));})[_0x18427f(0x188)](0x1,_0x5501f5['KCuQJ']);})[_0x14f1d0(0x1c0)](_0x5501f5['haEWH'],![],_0x85c769=>{const _0x121444=_0x14f1d0,_0x4e9f0f={'IVSTT':_0x5501f5['kIaLQ'],'RCAIk':_0x5501f5[_0x121444(0x28d)],'okpHR':function(_0x5696ab,_0x544d61,_0x1ec785){const _0x54ab06=_0x121444;return _0x5501f5[_0x54ab06(0x286)](_0x5696ab,_0x544d61,_0x1ec785);}};return _0x85c769['command'](_0x121444(0x27a),_0x5501f5['YxCLd'],_0x14922f=>{const _0x13c110=_0x121444;return _0x14922f['option']('session-id',{'type':_0x4e9f0f[_0x13c110(0x205)],'description':_0x4e9f0f[_0x13c110(0x1fc)]});},async _0x13253e=>{const _0x49dc73=_0x121444;await withTelemetry('hook:enable',()=>hook('enable',_0x13253e[_0x49dc73(0x1bc)]));})[_0x121444(0x1c0)]('disable',_0x121444(0x15b),_0x425573=>{const _0x25a8fa=_0x121444;return _0x425573['option'](_0x25a8fa(0x1bc),{'type':_0x25a8fa(0x156),'description':_0x4e9f0f[_0x25a8fa(0x1fc)]});},async _0x354d70=>{const _0x35f982=_0x121444;await _0x4e9f0f['okpHR'](withTelemetry,_0x35f982(0x2a6),()=>hook(_0x35f982(0x1df),_0x354d70[_0x35f982(0x1bc)]));})[_0x121444(0x1a9)](_0x5501f5[_0x121444(0x110)],{'type':'string','description':_0x121444(0x150)})['option'](_0x121444(0x1bc),{'type':_0x5501f5[_0x121444(0x1af)],'description':_0x5501f5['GqwMB']});},async _0x52a729=>{_0x52a729['name']&&await hook(_0x52a729['name'],_0x52a729['session-id']);})['demandCommand'](0x1,_0x5501f5[_0x14f1d0(0x169)])['strictCommands']()['fail'](async(_0x5dd726,_0x5a993c,_0x3424e4)=>{const _0x34129f=_0x14f1d0,_0x34830b=sanitizeArgs(process[_0x34129f(0x13b)][_0x34129f(0x236)](0x2)),_0x1f99a0=_0x5501f5[_0x34129f(0x23e)](getErrorType,_0x5dd726,_0x5a993c);if(_0x5dd726&&_0x5dd726[_0x34129f(0x13e)](_0x5501f5['SVJOe'])){const _0x10b901=process['argv'][0x2];console['error'](_0x34129f(0x1fd)+_0x10b901),console[_0x34129f(0x1b1)](_0x5501f5[_0x34129f(0x282)]);}else{if(_0x5dd726)console['error']('\x0a'+_0x5dd726+'\x0a');else _0x5a993c&&console['error']('\x0aError:\x20'+_0x5a993c['message']+'\x0a');}await logDesirePath({'rawCommand':_0x34830b,'errorMessage':_0x5dd726||_0x5a993c?.[_0x34129f(0x278)],'errorType':_0x1f99a0});const _0x362676=getCurrentCollector();_0x362676&&await _0x362676[_0x34129f(0x27c)](_0x5a993c||new Error(_0x5dd726||_0x5501f5[_0x34129f(0x206)])),process['exit'](0x1);})[_0x14f1d0(0x1e2)](_0x5501f5[_0x14f1d0(0x146)](_0x5501f5['lpGVt'],'\x20\x20https://docs.ranger.net\x0a')+_0x5501f5['auDLl'])[_0x14f1d0(0x2a9)]()['alias'](_0x5501f5['RhKhj'],'h');}process[_0x14be9b(0x178)][_0x14be9b(0x1d0)]!=='test'&&buildParser()[_0x14be9b(0x122)]();
|
|
2
|
+
const _0x403ed5=_0x331d;(function(_0xb48ee6,_0x22172f){const _0x1edef6=_0x331d,_0x549589=_0xb48ee6();while(!![]){try{const _0x3fb5a7=-parseInt(_0x1edef6(0x37e))/0x1*(-parseInt(_0x1edef6(0x215))/0x2)+-parseInt(_0x1edef6(0x353))/0x3+-parseInt(_0x1edef6(0x335))/0x4+-parseInt(_0x1edef6(0x35a))/0x5*(-parseInt(_0x1edef6(0x290))/0x6)+parseInt(_0x1edef6(0x398))/0x7+parseInt(_0x1edef6(0x351))/0x8*(-parseInt(_0x1edef6(0x264))/0x9)+parseInt(_0x1edef6(0x313))/0xa;if(_0x3fb5a7===_0x22172f)break;else _0x549589['push'](_0x549589['shift']());}catch(_0x5d6b3f){_0x549589['push'](_0x549589['shift']());}}}(_0x47d0,0x5647f));import _0x44ff0b from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x58ba6c=_0x331d,_0x4e51ce={'whvbY':function(_0x16bcfd,_0x314f6a){return _0x16bcfd(_0x314f6a);},'wvNue':function(_0x4c3e6a,_0x49fd5c){return _0x4c3e6a!==_0x49fd5c;}};let _0x5e5dbc=process[_0x58ba6c(0x235)]();const _0x1a9774=_0x4e51ce['whvbY'](parse,_0x5e5dbc)[_0x58ba6c(0x2d6)];while(_0x4e51ce['wvNue'](_0x5e5dbc,_0x1a9774)){if(_0x4e51ce['whvbY'](existsSync,join(_0x5e5dbc,'.ranger'))||existsSync(join(_0x5e5dbc,_0x58ba6c(0x2e6))))return _0x5e5dbc;_0x5e5dbc=_0x4e51ce[_0x58ba6c(0x28b)](dirname,_0x5e5dbc);}return process['cwd']();}_0x44ff0b['config']({'path':join(findProjectRoot(),_0x403ed5(0x2e6))});import _0x2d484f from'yargs/yargs';function _0x331d(_0x4aa5b6,_0x16b826){_0x4aa5b6=_0x4aa5b6-0x1ee;const _0x47d085=_0x47d0();let _0x331d30=_0x47d085[_0x4aa5b6];return _0x331d30;}import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';function _0x47d0(){const _0x2349df=['Ranger\x20API\x20token','NIldS','fWNuW','token','skillup','wHBBq','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','yfBAi','deps','setup:all','SwxDV','Environment\x20name','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','feature','gOtke','JYZrW','EnkfS','ranger\x20restore','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','Gizoa','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','safe-mode','ranger\x20add-scenario','UELmB','array','vkjYg','IAFxb','cwd','Summary:\x20','blocked','set\x20<env>\x20<key>\x20<value>','edit-scenario','command','repeat','rjScP','NiSVY','Config\x20key\x20to\x20remove','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','feature\x20get-feedback','unknown\x20error','HyRLB','hook','option','ranger\x20add\x20env','profile\x20config\x20unset','user','add\x20env','iJCbk','start-path','profile-name','cmViL','argv','dzFYz','forEach','all','skip-auth','limit','sAeUv','RxfCi','add\x20env\x20<env-name>','OTbKl','yes','report\x20[id]','FnvlP','USrzP','nAAev','ALTQw','Mmdgx','wjZiz','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','evaluation','nAMgu','ranger\x20verify-feature','RZlMJ','3771CaFhtw','mcp-bootstrap','force','--checklist','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','save-creds','restore\x20<id>','TEDmk','iCevs','scenario','vQPKk','Skip\x20interactive\x20confirmation\x20prompts.','ranger\x20profile\x20config\x20set','dpUfx','Skip\x20authentication','tuhUC','issues','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','env','ojFBW','YfjwL','failed','You\x20must\x20specify\x20a\x20config\x20subcommand','xekWP','profile\x20login','add-checklist-item\x20<description>','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Number\x20of\x20feature\x20reviews\x20to\x20skip','mcp','offset','✓\x20Authenticated\x20to\x20','qrVzN','GQXjM','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','item','khuoK','lERta','unhandledRejection','ranger\x20feature\x20create','whvbY','skip-chromium','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','ranger\x20get-review','status','6564NhmFhU','KDHol','fail','demandCommand','JOhFy','show\x20[id]','verified','config\x20set','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','RtfQf','qlSXG','Feature\x20review\x20description','MnsYa','success','Install\x20Chromium\x20browser\x20binary','HnGai','env\x20list','WHUGd','--task','UoAOj','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','list','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.','BMyEu','log','wOgzE','HdLMM','unset\x20<env>\x20<key>','aLoxY','ishis','Enbfc','jrkvD','resume\x20[id]','migrate\x20[profile-name]','nOode','ranger\x20create','oVapQ','rUVXU','cdp-endpoint','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','RbkIL','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','ranger\x20show','GiXQd','exit','vfhgD','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','base-url','.\x20[','QsNms','config\x20list','ZzOAX','swaet','session-id','key','Name\x20of\x20the\x20profile','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','YxEMY','dQGOD','Include\x20soft-deleted\x20feature\x20reviews','Install\x20scope\x20for\x20plugin\x20and\x20skills','boolean','UjIlZ','print-access-token','current-branch','HWfng','ranger\x20setup','SMCpc','string','\x20VERIFIED','root','\x20INCOMPLETE','ranger\x20start','description','nXxTg','Scenario\x20number\x20to\x20edit\x20(1-based)','GBvED','with-deps','Skip\x20browser\x20authentication','Run\x20full\x20interactive\x20setup','allow-insecure-localhost','rmkzL','ranger\x20list','YknFZ','pYMNO','Alias\x20for\x20--mcp-bootstrap','.env','OCmoc','You\x20must\x20specify\x20an\x20env\x20subcommand','start\x20[token]','model','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','HwSID','NAJRL','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Feature\x20review\x20ID','add-scenario','feature\x20resume','ranger\x20feature\x20restore','NbvSu','arRbN','ceuPq','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','Authenticate\x20via\x20MCP\x20proxy','HorIo','DsjdQ','report','Restore\x20a\x20soft-deleted\x20feature\x20review','ranger\x20env\x20update','tokenOrSubcommand','imXBx','delete','profile\x20config\x20list','alias','test_output','rrdWk','iftGQ','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','FQoeq','xzMUQ','notes','parse','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','FgicZ','oSxKn','VupBC','--scenario','ecEgj','value','task','PUaei','3720390SqMiQV','rODhj','not_configured','env-name','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','scope','mrKjt','ZjIqI','dbxIC','headed','test','length','rWAUn','ZUqAm','dry-run','usage','IpssY','\x0aError:\x20','eFfvr','DvgtJ','enable','DTdLz','TrLNm','profiles','Manage\x20profile\x20configuration','positional','EcWXZ','create\x20<name>','ucDeQ','xafZH','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','Install\x20skills\x20for\x20OpenCode','dekxj','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','280220lqNnEP','debug-outcome','kDXEP','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','startsWith','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','GxtRL','clhVf','Config\x20key','feature\x20list','partial','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','Authenticate\x20with\x20Ranger','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','Yzcdu','LFNiV','KWtkQ','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','list\x20<profile>','cOZav','profile\x20config\x20reset','UgMSm','eXBVn','setup:deps','umpac','zJJmg','ZxznI','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','12848gpiEao','hook:disable','502110FDhbNR','woAby','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','disable','cYzak','trackCommandError','kCGCW','1315eqsdXK','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','uASFJ','ranger\x20go','checklist','delete\x20[id]','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','\x20BLOCKED','claude','HSvmR','RGBCd','Unknown\x20command','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','TxHdj','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','gLehM','Feature\x20review\x20ID\x20to\x20restore','wDMxr','aaWvi','XxAHN','EXbvj','YgvNC','QaJvM','BILNi','Profile\x20name','list\x20<env>','IRBTf','auth','Lxwyk','ranger\x20feature\x20add-checklist-item','yjMdk','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','ZXCro','feature\x20show','ranger','get-review\x20[id]','7237rxAFzf','cGJDl','RHyVf','\x20PARTIAL','debug-address-comments','CJtgl','uQlEm','Config\x20value','ZHagt','create','GJjhS','ranger\x20feature\x20delete','Documentation:\x0a','cGpRD','organizationName','aBPjc','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','edswp','ITAeg','\x20FAILED','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','profile','JsPKH','ranger\x20delete','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','set\x20<profile>\x20<key>\x20<value>','2758784OKiIMC','number','includes','jOoJg','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account;\x20the\x20CLI\x20suggests\x20your\x0a`git\x20config\x20user.email`\x20as\x20the\x20default\x20name.\x20For\x20CI\x20/\x20background\x20agents\x20and\x0aother\x20setup\x20options,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aDeprecated\x20(exit\x201\x20with\x20a\x20redirect\x20message):\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20→\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20to\x20refresh\x20auth\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20→\x20no\x20longer\x20needed;\x20Ranger\x20manages\x20session\x20state\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20→\x20run\x20`ranger\x20profile\x20add\x20<name>`;\x20old\x20dirs\x20stay\x20readable\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','tLARE','LqfLe','ranger\x20profile\x20use','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','name','CjVsk','ranger\x20config\x20get','ranger\x20use','wpYqX','update\x20<profile-name>','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','paeCx','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','exclude-scenario','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','error','ranger\x20resume','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','include-deleted','url','uNpKn','message','Scenario\x20description','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','Initialize\x20Ranger\x20in\x20your\x20project','ranger\x20profile\x20ls','Remove\x20a\x20config\x20value','Npbip','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','feature\x20delete','feature\x20add-checklist-item','opencode','oTjbz','bemKn','58EfgjGo','DzUdK','ijuFC'];_0x47d0=function(){return _0x2349df;};return _0x47d0();}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'](_0x403ed5(0x289),async _0x2caf49=>{const _0x5b4a6e=_0x403ed5,_0x5db8cf=getCurrentCollector();_0x5db8cf&&await _0x5db8cf[_0x5b4a6e(0x358)](_0x2caf49),process['exitCode']=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aDeprecated\x20(now\x20exit\x201\x20with\x20a\x20redirect):\x20`profile\x20update`,\x20`profile\x20encrypt-auth`,\x0a`profile\x20migrate`,\x20`setup\x20--ci`.\x20Run\x20`ranger\x20profile\x20add\x20<name>`\x20to\x20set\x20up\x20a\x0afresh\x20profile.\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x403ed5(0x1f0),PROFILE_CONFIG_HELP=_0x403ed5(0x368);function warnRenamed(_0x13c2f7,_0x14738a){const _0x1ec237=_0x403ed5;console[_0x1ec237(0x200)]('\x0a'+_0x13c2f7+'\x20is\x20now\x20'+_0x14738a+'\x0a');}function argUsed(_0x5c0af7){const _0x5025bb=_0x403ed5;return rawArgs['some'](_0x40e290=>_0x40e290===_0x5c0af7||_0x40e290[_0x5025bb(0x339)](_0x5c0af7+'='));}function warnFlagRenamed(_0x6cac41,_0x4913db,_0x185cdc){const _0x3859ee={'CjDFN':function(_0x207e7f,_0x50ac3c,_0x291fd9){return _0x207e7f(_0x50ac3c,_0x291fd9);}};argUsed(_0x4913db)&&_0x3859ee['CjDFN'](warnRenamed,_0x6cac41+'\x20'+_0x4913db,_0x6cac41+'\x20'+_0x185cdc);}async function runGoCommand(_0x54faeb,_0x3c4398=![]){const _0x28ea3b=_0x403ed5,_0x2d0828={'PbseA':function(_0x5f5dd7,_0x3fd940,_0x45bff5){return _0x5f5dd7(_0x3fd940,_0x45bff5);},'tuhUC':function(_0x1bef2c,_0x3f845a,_0x44c11b,_0x1a4eab){return _0x1bef2c(_0x3f845a,_0x44c11b,_0x1a4eab);},'YlQAc':_0x28ea3b(0x35d),'iAIMC':_0x28ea3b(0x2a2),'gLehM':'--item','qbKqQ':function(_0x4f86a5){return _0x4f86a5();},'xPHyU':_0x28ea3b(0x336),'imXBx':function(_0x2cd40c,_0x47895f){return _0x2cd40c+_0x47895f;},'pEhfl':_0x28ea3b(0x2d5),'HyRLB':function(_0x4dfcad,_0x22d13c){return _0x4dfcad===_0x22d13c;},'ianLc':'incomplete','eXBVn':function(_0x413918,_0x5d41a5){return _0x413918===_0x5d41a5;},'QsNms':function(_0x43699e,_0x738858){return _0x43699e===_0x738858;},'HnGai':_0x28ea3b(0x391)};_0x3c4398&&_0x2d0828['PbseA'](warnRenamed,_0x28ea3b(0x262),_0x28ea3b(0x35d));_0x2d0828['tuhUC'](warnFlagRenamed,_0x2d0828['YlQAc'],'--env','--profile'),_0x2d0828[_0x28ea3b(0x273)](warnFlagRenamed,_0x28ea3b(0x35d),_0x2d0828['iAIMC'],'--notes'),warnFlagRenamed('ranger\x20go',_0x2d0828[_0x28ea3b(0x369)],_0x28ea3b(0x30e));const _0x5bf4e1=await _0x2d0828['qbKqQ'](loadRangerConfig),_0x42495f=isByokEnabled(),_0x261867=_0x54faeb['model'],_0x508b89=_0x5bf4e1[_0x28ea3b(0x2ea)],_0x444005=await verifyFeature({'featureId':_0x54faeb[_0x28ea3b(0x226)],'profile':_0x54faeb[_0x28ea3b(0x393)]??_0x54faeb[_0x28ea3b(0x276)]??process[_0x28ea3b(0x276)]['RANGER_PROFILE'],'notes':_0x54faeb['notes']??_0x54faeb[_0x28ea3b(0x311)],'scenario':_0x54faeb[_0x28ea3b(0x26d)]??_0x54faeb['item'],'startPath':_0x54faeb[_0x28ea3b(0x24a)],'baseUrl':_0x54faeb[_0x28ea3b(0x2bf)],'debugOutcome':_0x54faeb[_0x2d0828['xPHyU']],'debugAddressComments':_0x54faeb[_0x28ea3b(0x382)],'headed':_0x54faeb[_0x28ea3b(0x31c)],'byokEnabled':_0x42495f,'flagVerifyModel':_0x261867,'configVerifyModel':_0x508b89});console[_0x28ea3b(0x2a8)](_0x2d0828[_0x28ea3b(0x2fe)]('\x0a','='[_0x28ea3b(0x23b)](0x3c))),console['log'](_0x444005[_0x28ea3b(0x260)]===_0x28ea3b(0x296)?_0x2d0828['pEhfl']:_0x2d0828[_0x28ea3b(0x242)](_0x444005['evaluation'],_0x2d0828['ianLc'])?_0x28ea3b(0x2d7):_0x2d0828[_0x28ea3b(0x34b)](_0x444005[_0x28ea3b(0x260)],'partial')?_0x28ea3b(0x381):_0x2d0828[_0x28ea3b(0x2c1)](_0x444005['evaluation'],_0x28ea3b(0x237))?_0x28ea3b(0x361):_0x2d0828[_0x28ea3b(0x29f)]),console['log']('='['repeat'](0x3c)),console['log'](_0x28ea3b(0x236)+_0x444005['summary']),console['log']('Evaluation:\x20'+_0x444005['evaluation']),console['log']('Reason:\x20'+_0x444005['evaluationReason']),_0x444005[_0x28ea3b(0x274)]?.[_0x28ea3b(0x31e)]&&(console['log']('\x0aIssues:'),_0x444005[_0x28ea3b(0x274)][_0x28ea3b(0x24f)]((_0xca6325,_0x4927b5)=>{const _0x3b0b07=_0x28ea3b;console['log']('\x0a'+(_0x4927b5+0x1)+_0x3b0b07(0x2c0)+_0xca6325['severity']+']\x20'+_0xca6325['description']);})),process[_0x28ea3b(0x2bc)](_0x2d0828[_0x28ea3b(0x242)](_0x444005['evaluation'],_0x28ea3b(0x296))?0x0:0x1);}export function buildParser(_0x3c3137){const _0x4c411e=_0x403ed5,_0x1c7a14={'kDXEP':'name','VupBC':'string','uASFJ':_0x4c411e(0x29b),'HorIo':'array','dUeno':_0x4c411e(0x27e),'fWNuW':'checklist','VODPa':function(_0x5f0d50,_0x125a52){return _0x5f0d50+_0x125a52;},'GcQHr':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','cGJDl':'ranger\x20create','RxfCi':function(_0x5eb289,_0x3d55c3,_0x12d171){return _0x5eb289(_0x3d55c3,_0x12d171);},'PvoPw':_0x4c411e(0x387),'wOgzE':'boolean','LFNiV':'number','DriHp':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','ExVWe':_0x4c411e(0x281),'KWtkQ':_0x4c411e(0x27f),'wRkim':'list','nAAev':_0x4c411e(0x2ef),'jOoJg':_0x4c411e(0x275),'FnvlP':'resume','aNIgx':_0x4c411e(0x2f0),'YknFZ':'New\x20scenario\x20description','uQlEm':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','FBhWH':_0x4c411e(0x1fe),'Npbip':_0x4c411e(0x2ff),'RtfQf':_0x4c411e(0x28c),'PUaei':'skip-auth','dbxIC':_0x4c411e(0x272),'SMCpc':'user','CjVsk':_0x4c411e(0x338),'IpssY':_0x4c411e(0x205),'uZcrw':_0x4c411e(0x23f),'eFfvr':'force','hZRdL':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','wmoyn':_0x4c411e(0x2e0),'IRBTf':_0x4c411e(0x203),'KwhHS':_0x4c411e(0x265),'fIDSI':'mcp','yfBAi':_0x4c411e(0x1fb),'rUVXU':_0x4c411e(0x212),'rWAUn':_0x4c411e(0x22b),'EXbvj':'scope','MZWqN':'Base\x20URL\x20of\x20the\x20running\x20app','hjjsk':function(_0x3351a9,_0x32ec1d,_0x104b94){return _0x3351a9(_0x32ec1d,_0x104b94);},'HRhjh':function(_0x307d43,_0x43bb67,_0x4fb6f2){return _0x307d43(_0x43bb67,_0x4fb6f2);},'oTjbz':function(_0xc4cadc,_0x48a3b5,_0x3cdaf2){return _0xc4cadc(_0x48a3b5,_0x3cdaf2);},'EezEv':'Ranger\x20API\x20token\x20(rngr_...)','kCGCW':function(_0x27abbc,_0x5e59fd){return _0x27abbc(_0x5e59fd);},'Yzcdu':function(_0x162a2d,_0x514d33){return _0x162a2d(_0x514d33);},'RKzmw':function(_0x188a3f,_0x3de2a6){return _0x188a3f!==_0x3de2a6;},'HWfng':_0x4c411e(0x2df),'swaet':_0x4c411e(0x379),'ojFBW':'profiles','mMwKG':_0x4c411e(0x22c),'fZrkr':_0x4c411e(0x30a),'mRwyW':_0x4c411e(0x2dd),'tLARE':'token','iFwTC':function(_0x2a5bc7,_0x3461a1,_0x220b54){return _0x2a5bc7(_0x3461a1,_0x220b54);},'ZzOAX':'start','cmViL':_0x4c411e(0x218),'LFNRh':'Skip\x20Chromium\x20browser\x20installation','DsjdQ':_0x4c411e(0x332),'VAHBH':'project','SnoZh':_0x4c411e(0x21c),'UoAOj':_0x4c411e(0x2c7),'Lxwyk':'profile\x20use','rRfef':function(_0x453a22,_0xae8cde,_0x2b4bc0){return _0x453a22(_0xae8cde,_0x2b4bc0);},'BuSYR':_0x4c411e(0x24b),'iftGQ':'profile\x20update','qvAdG':'Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','gOtke':_0x4c411e(0x279),'KDHol':function(_0x512368,_0x51c4f9,_0x3e6a55){return _0x512368(_0x51c4f9,_0x3e6a55);},'nOode':_0x4c411e(0x393),'RHyVf':_0x4c411e(0x372),'CocAx':_0x4c411e(0x397),'IAFxb':'get\x20<profile>\x20<key>','nAMgu':'Get\x20a\x20config\x20value','tlhjZ':'List\x20all\x20config\x20for\x20a\x20profile','NIldS':_0x4c411e(0x20c),'AMbju':'reset\x20<profile>','WHUGd':_0x4c411e(0x209),'vfhgD':_0x4c411e(0x1fd),'oVapQ':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','EcWXZ':_0x4c411e(0x20e),'FiQkP':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','DTdLz':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','LqfLe':_0x4c411e(0x257),'zVpCD':function(_0x938b30,_0x12362a,_0x5655be,_0xbf6373){return _0x938b30(_0x12362a,_0x5655be,_0xbf6373);},'juiON':_0x4c411e(0x346),'xzMUQ':_0x4c411e(0x26f),'ymaeh':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','RbkIL':'Add\x20profile\x20configuration','zXiMd':'use\x20<profile-name>','PNxhJ':'Switch\x20to\x20using\x20a\x20specific\x20profile','rrdWk':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','zJJmg':_0x4c411e(0x1fa),'NAJRL':'Update\x20authentication\x20for\x20an\x20existing\x20profile','ZXCro':_0x4c411e(0x21f),'CUYnt':'You\x20must\x20specify\x20a\x20profile\x20subcommand','lvpgq':_0x4c411e(0x28f),'BMyEu':'update','DzUdK':_0x4c411e(0x2cf),'pDzAQ':_0x4c411e(0x285),'GiXQd':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','rODhj':'scenario','iCevs':'base-url','gISxv':_0x4c411e(0x2eb),'ZxznI':_0x4c411e(0x2a6),'TxHdj':_0x4c411e(0x336),'mDSIN':_0x4c411e(0x33f),'vkjYg':'blocked','wjZiz':'task','RZlMJ':function(_0x72d342,_0x51c322,_0x34abf3){return _0x72d342(_0x51c322,_0x34abf3);},'UjIlZ':function(_0x1ca90a,_0x1896be){return _0x1ca90a(_0x1896be);},'lERta':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','PKNpt':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','dzFYz':function(_0x547705,_0x600724,_0x2903f){return _0x547705(_0x600724,_0x2903f);},'BILNi':_0x4c411e(0x2d8),'ZaTdi':_0x4c411e(0x2d2),'arRbN':'env','SEuND':_0x4c411e(0x350),'Mmdgx':_0x4c411e(0x202),'uZwNE':_0x4c411e(0x286),'edswp':_0x4c411e(0x308),'jrkvD':'start-path','CJtgl':_0x4c411e(0x31c),'UELmB':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','khuoK':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','OAsLz':_0x4c411e(0x245),'KRYsf':_0x4c411e(0x316),'GIbNs':'Name\x20of\x20the\x20environment','HSvmR':_0x4c411e(0x1f3),'LeqBQ':function(_0x148ea2,_0x433f50,_0x5bca0f){return _0x148ea2(_0x433f50,_0x5bca0f);},'ZSDSK':_0x4c411e(0x310),'cGpRD':'ranger\x20config\x20set','qlSXG':_0x4c411e(0x297),'xpTsZ':_0x4c411e(0x224),'qsPwP':'ranger\x20config\x20list','rfRHB':'ranger\x20profile\x20config\x20list','EvAnh':_0x4c411e(0x2c2),'pTyHi':_0x4c411e(0x1f7),'pbqED':_0x4c411e(0x238),'qrVzN':_0x4c411e(0x27a),'ERDFL':'ranger\x20env\x20ls','ucDeQ':_0x4c411e(0x20b),'USrzP':_0x4c411e(0x2fc),'OTbKl':'update\x20<env-name>','TrLNm':'description','QaJvM':_0x4c411e(0x267),'aBPjc':'feature\x20create','IcOyc':_0x4c411e(0x37b),'gtICP':function(_0x5edb17,_0x1d0e04,_0x2ba070){return _0x5edb17(_0x1d0e04,_0x2ba070);},'eqsFV':'ranger\x20feature\x20resume','EKuTU':_0x4c411e(0x201),'lDxPp':_0x4c411e(0x2f1),'nJFkf':'ranger\x20feature\x20get-feedback','GQXjM':_0x4c411e(0x28e),'XxAHN':_0x4c411e(0x395),'ZItpK':_0x4c411e(0x210),'wHBBq':_0x4c411e(0x2f2),'ZjIqI':_0x4c411e(0x2be),'MkyHz':_0x4c411e(0x252),'gxZtv':'ranger\x20feature\x20list','RIpYY':_0x4c411e(0x377),'GJjhS':_0x4c411e(0x27d),'PfNXy':'get-feedback\x20[id]','LmaXh':_0x4c411e(0x35f),'nNTYI':_0x4c411e(0x35b),'oSxKn':function(_0x490c3d,_0x163707,_0x290818){return _0x490c3d(_0x163707,_0x290818);},'EnkfS':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','uBIvA':_0x4c411e(0x356),'gksjX':_0x4c411e(0x2c8),'nXxTg':_0x4c411e(0x334),'QAMWu':'session-id','aluvH':function(_0x110003,_0x4db575,_0xaeffa5){return _0x110003(_0x4db575,_0xaeffa5);},'xafZH':function(_0x13f9a3,_0x1e2451){return _0x13f9a3||_0x1e2451;},'SbjDa':_0x4c411e(0x32e),'YfjwL':_0x4c411e(0x2b9),'RySMA':'List\x20all\x20feature\x20reviews','ETHKP':'show\x20[id]','TGpEo':_0x4c411e(0x298),'eefMc':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','zrrJQ':_0x4c411e(0x258),'DSVob':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','kSOLW':_0x4c411e(0x20a),'MnsYa':'setup-ci\x20<token>','uNpKn':'clean','wUbKe':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','TJODw':_0x4c411e(0x317),'OayJg':'Print\x20the\x20current\x20CLI\x20access\x20token','Ybgas':_0x4c411e(0x375),'JsPKH':_0x4c411e(0x2e9),'RpcpL':_0x4c411e(0x255),'umpac':'config','LAQZr':_0x4c411e(0x226),'SaHKB':function(_0x5a6655,_0x1ae075){return _0x5a6655+_0x1ae075;},'BuAjC':_0x4c411e(0x38a),'woAby':_0x4c411e(0x305),'HdLMM':'help'};return _0x1c7a14[_0x4c411e(0x2ce)](_0x2d484f,_0x3c3137??process['argv']['slice'](0x2))['scriptName'](_0x4c411e(0x37c))[_0x4c411e(0x322)](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x1c7a14['SbjDa'],_0x1c7a14[_0x4c411e(0x278)],_0x3ebd4b=>{const _0x352dbb=_0x4c411e;return _0x3ebd4b[_0x352dbb(0x32c)](_0x1c7a14[_0x352dbb(0x337)],{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option']('description',{'type':_0x1c7a14['VupBC'],'alias':'d','description':_0x1c7a14[_0x352dbb(0x35c)]})['option'](_0x352dbb(0x26d),{'type':_0x1c7a14[_0x352dbb(0x2f8)],'alias':'c','description':_0x1c7a14['dUeno']})['option'](_0x1c7a14['fWNuW'],{'type':_0x352dbb(0x232),'hidden':!![]});},async _0x3db333=>{const _0x379674=_0x4c411e;if(!_0x3db333[_0x379674(0x1f5)]){console[_0x379674(0x200)](_0x1c7a14['VODPa'](_0x1c7a14['GcQHr'],'Example:\x20ranger\x20create\x20my-feature')),process['exit'](0x1);return;}warnFlagRenamed(_0x1c7a14[_0x379674(0x37f)],_0x379674(0x267),_0x379674(0x30e));const _0x540703=_0x3db333[_0x379674(0x26d)]||_0x3db333[_0x379674(0x35e)];await _0x1c7a14['RxfCi'](withTelemetry,_0x1c7a14['PvoPw'],()=>featureCreate(_0x3db333[_0x379674(0x1f5)],{'description':_0x3db333['description'],'scenarios':_0x540703}));})['command']('list',_0x1c7a14['RySMA'],_0xb6d860=>{const _0x2ef1e5=_0x4c411e;return _0xb6d860[_0x2ef1e5(0x244)](_0x2ef1e5(0x2d0),{'type':_0x1c7a14[_0x2ef1e5(0x2a9)],'description':_0x2ef1e5(0x2be)})[_0x2ef1e5(0x244)]('limit',{'type':_0x1c7a14['LFNiV'],'alias':'l','description':_0x1c7a14['DriHp'],'default':0xa})[_0x2ef1e5(0x244)](_0x1c7a14['ExVWe'],{'type':_0x2ef1e5(0x399),'alias':'o','description':_0x1c7a14[_0x2ef1e5(0x345)],'default':0x0})[_0x2ef1e5(0x244)]('include-deleted',{'type':_0x1c7a14[_0x2ef1e5(0x2a9)],'alias':'d','description':_0x2ef1e5(0x2cb),'default':![]});},async _0x4799a1=>{const _0x34713d=_0x4c411e;await _0x1c7a14['RxfCi'](withTelemetry,_0x1c7a14['wRkim'],()=>featureList({'currentBranch':_0x4799a1[_0x34713d(0x2d0)],'limit':_0x4799a1[_0x34713d(0x252)],'offset':_0x4799a1['offset'],'includeDeleted':_0x4799a1['include-deleted']}));})[_0x4c411e(0x23a)](_0x1c7a14['ETHKP'],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x1392cf=>{const _0x4a7694=_0x4c411e;return _0x1392cf[_0x4a7694(0x32c)]('id',{'type':_0x4a7694(0x2d4),'description':_0x1c7a14[_0x4a7694(0x25b)]});},async _0x429290=>{await withTelemetry('show',()=>featureShow(_0x429290['id']));})[_0x4c411e(0x23a)](_0x4c411e(0x2b0),_0x1c7a14['TGpEo'],_0x9308ed=>{const _0x5d4d91=_0x4c411e;return _0x9308ed[_0x5d4d91(0x32c)]('id',{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14[_0x5d4d91(0x1ef)]});},async _0x47269d=>{const _0x4f7969=_0x4c411e;await withTelemetry(_0x1c7a14[_0x4f7969(0x259)],()=>featureResume(_0x47269d['id']));})[_0x4c411e(0x23a)]('add-scenario\x20<description>',_0x4c411e(0x2b7),_0x4b1e01=>{const _0x4cfc69=_0x4c411e;return _0x4b1e01['positional']('description',{'type':_0x1c7a14[_0x4cfc69(0x30d)],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':'string','description':_0x4cfc69(0x268)});},async _0x521412=>{const _0x115939=_0x4c411e;await withTelemetry(_0x1c7a14['aNIgx'],()=>featureAddScenario(_0x521412[_0x115939(0x2d9)],_0x521412['id']));})['command']('edit-scenario\x20<description>',_0x1c7a14['eefMc'],_0x45b915=>{const _0x3ff1df=_0x4c411e;return _0x45b915['positional']('description',{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14[_0x3ff1df(0x2e3)],'demandOption':!![]})['option']('scenario',{'type':_0x3ff1df(0x399),'description':_0x3ff1df(0x2db),'demandOption':!![]})[_0x3ff1df(0x244)]('id',{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14[_0x3ff1df(0x384)]});},async _0x280f88=>{const _0x4231d9=_0x4c411e;await withTelemetry(_0x4231d9(0x239),()=>featureEditScenario(_0x280f88['description'],{'id':_0x280f88['id'],'scenario':_0x280f88['scenario']}));})[_0x4c411e(0x23a)](_0x1c7a14['zrrJQ'],_0x4c411e(0x1ff),_0x456f1a=>{const _0x4952d8=_0x4c411e;return _0x456f1a['positional']('id',{'type':_0x4952d8(0x2d4),'description':'Feature\x20review\x20ID'})[_0x4952d8(0x244)](_0x1c7a14['FBhWH'],{'type':_0x1c7a14[_0x4952d8(0x2f8)],'description':_0x4952d8(0x20f)})[_0x4952d8(0x244)]('json',{'type':'boolean','description':_0x4952d8(0x340),'default':![]});},async _0x13548f=>{const _0x1538d7=_0x4c411e,_0x36da89=_0x13548f['exclude-scenario'],_0x3bc68e=_0x36da89?_0x36da89['map'](_0x570534=>Number(_0x570534)):undefined;await withTelemetry(_0x1538d7(0x2fa),()=>featureReportPrDescription(_0x13548f['id'],{'excludeScenarios':_0x3bc68e,'json':_0x13548f['json']}));})[_0x4c411e(0x23a)](_0x4c411e(0x37d),'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x47aa58=>{return _0x47aa58['positional']('id',{'type':_0x1c7a14['VupBC'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4cd210=>{await withTelemetry('get-review',()=>featureGetReview(_0x4cd210['id']));})['command'](_0x1c7a14['LmaXh'],_0x1c7a14['DSVob'],_0x567064=>{const _0x39b97b=_0x4c411e;return _0x567064['positional']('id',{'type':_0x1c7a14[_0x39b97b(0x30d)],'description':_0x39b97b(0x2ef)});},async _0x2b4d02=>{const _0xa96d3d=_0x4c411e;await withTelemetry(_0x1c7a14[_0xa96d3d(0x20d)],()=>featureDelete(_0x2b4d02['id']));})[_0x4c411e(0x23a)](_0x4c411e(0x26a),_0x4c411e(0x2fb),_0x2f61cf=>{const _0x331bd7=_0x4c411e;return _0x2f61cf[_0x331bd7(0x32c)]('id',{'type':_0x1c7a14[_0x331bd7(0x30d)],'description':_0x331bd7(0x36a),'demandOption':!![]});},async _0x47aa2b=>{await withTelemetry('restore',()=>featureRestore(_0x47aa2b['id']));})['command']('setup\x20[tokenOrSubcommand]',_0x1c7a14['kSOLW'],_0x127644=>{const _0x26651a=_0x4c411e,_0x290b82={'ijuFC':function(_0x4e5697,_0x1533dc,_0x5bab0c){return _0x1c7a14['hjjsk'](_0x4e5697,_0x1533dc,_0x5bab0c);},'iJCbk':'mcp-bootstrap','ZHagt':function(_0x88651d,_0x5e24d3,_0x4638a6){return _0x1c7a14['HRhjh'](_0x88651d,_0x5e24d3,_0x4638a6);},'HwSID':_0x26651a(0x222),'OCmoc':function(_0x21d8fb,_0x40bed5,_0x51e8c4){return _0x1c7a14['oTjbz'](_0x21d8fb,_0x40bed5,_0x51e8c4);},'udNHl':_0x26651a(0x34c),'VqinH':_0x26651a(0x21b),'wDMxr':_0x1c7a14['EezEv'],'AxXpF':'mcp','gpsNn':_0x26651a(0x2cd),'ZRvlE':function(_0x1dbae2,_0x18d3c1){return _0x1dbae2(_0x18d3c1);},'HCBwu':'setup:login','ITAeg':'ranger','uvhCA':function(_0x18f8fe){return _0x18f8fe();},'GBvED':_0x1c7a14[_0x26651a(0x2b5)],'FgicZ':function(_0x4c0cd9,_0x25cda6){const _0x392b86=_0x26651a;return _0x1c7a14[_0x392b86(0x359)](_0x4c0cd9,_0x25cda6);},'dwhaf':function(_0x3a7a3e,_0x26a42b){const _0x3b61b2=_0x26651a;return _0x1c7a14[_0x3b61b2(0x343)](_0x3a7a3e,_0x26a42b);},'IYdVS':function(_0x4d50bf,_0x578fc8){return _0x1c7a14['RKzmw'](_0x4d50bf,_0x578fc8);},'ZUqAm':_0x1c7a14['SMCpc'],'YOnXP':function(_0x3c96b0,_0xa80926){return _0x3c96b0+_0xa80926;}};return _0x127644['usage'](_0x26651a(0x396))['positional']('tokenOrSubcommand',{'type':_0x1c7a14['VupBC'],'description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})[_0x26651a(0x23a)](_0x26651a(0x250),_0x1c7a14[_0x26651a(0x2d1)],_0x4c7386=>{const _0x47ede9=_0x26651a;return _0x4c7386['option']('token',{'type':'string','description':'Ranger\x20API\x20token'})['option'](_0x1c7a14['RtfQf'],{'type':_0x1c7a14[_0x47ede9(0x2a9)],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x1c7a14['PUaei'],{'type':'boolean','description':_0x1c7a14[_0x47ede9(0x31b)],'default':![]})['option'](_0x47ede9(0x2dd),{'type':_0x47ede9(0x2cd),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})[_0x47ede9(0x244)](_0x47ede9(0x318),{'type':_0x1c7a14[_0x47ede9(0x30d)],'choices':[_0x1c7a14[_0x47ede9(0x2d3)]],'hidden':!![],'description':_0x1c7a14[_0x47ede9(0x1f6)]})['option'](_0x1c7a14[_0x47ede9(0x323)],{'type':_0x1c7a14[_0x47ede9(0x30d)],'description':_0x1c7a14['uZcrw']})['option'](_0x1c7a14[_0x47ede9(0x325)],{'type':_0x1c7a14[_0x47ede9(0x2a9)],'description':_0x1c7a14['hZRdL'],'default':![]})['option']('opencode',{'type':_0x1c7a14['wOgzE'],'description':_0x47ede9(0x22b),'default':![]})['option'](_0x1c7a14['wmoyn'],{'type':_0x47ede9(0x2cd),'description':_0x1c7a14[_0x47ede9(0x374)],'default':![]})[_0x47ede9(0x244)](_0x1c7a14['KwhHS'],{'type':_0x1c7a14['wOgzE'],'description':_0x47ede9(0x22e),'default':![]})['option'](_0x1c7a14['fIDSI'],{'type':'boolean','description':_0x47ede9(0x2e5),'default':![]});},async _0x51ef89=>{const _0x11cd84=_0x26651a;(_0x51ef89['mcp-bootstrap']||_0x51ef89[_0x11cd84(0x280)])&&await _0x290b82[_0x11cd84(0x217)](withTelemetry,_0x290b82[_0x11cd84(0x249)],()=>mcpBootstrap()),await _0x290b82[_0x11cd84(0x386)](withTelemetry,_0x290b82[_0x11cd84(0x2ec)],_0x2017c7=>start(_0x51ef89[_0x11cd84(0x21b)],{'skipChromium':_0x51ef89[_0x11cd84(0x28c)],'skipAuth':_0x51ef89[_0x11cd84(0x251)],'withDeps':_0x51ef89[_0x11cd84(0x2dd)],'scope':_0x51ef89[_0x11cd84(0x318)],'url':_0x51ef89[_0x11cd84(0x205)],'force':_0x51ef89['force'],'opencode':_0x51ef89[_0x11cd84(0x212)],'allowInsecureLocalhost':_0x51ef89[_0x11cd84(0x2e0)]},_0x2017c7));})['command'](_0x26651a(0x221),_0x26651a(0x29e),_0x244639=>{const _0x1fba43=_0x26651a;return _0x244639['option'](_0x1fba43(0x2dd),{'type':'boolean','description':_0x1c7a14[_0x1fba43(0x220)],'default':![]});},async _0x151421=>{const _0x1a3227=_0x26651a;await _0x290b82[_0x1a3227(0x2e7)](withTelemetry,_0x290b82['udNHl'],()=>ensureChromium(_0x151421[_0x1a3227(0x2dd)]));})['command']('login',_0x26651a(0x341),_0x2c8367=>{const _0xaba187=_0x26651a;return _0x2c8367['option'](_0x290b82['VqinH'],{'type':'string','description':_0x290b82[_0xaba187(0x36b)]})['option'](_0x290b82['AxXpF'],{'type':_0x290b82['gpsNn'],'description':_0xaba187(0x2f7),'default':![]});},async _0x503de6=>{const _0xe2cc77={'dpUfx':function(_0x5bd223){return _0x5bd223();},'NiXtG':function(_0x12083c,_0x3e8514){return _0x290b82['ZRvlE'](_0x12083c,_0x3e8514);},'FFrpC':function(_0x44a052,_0x1f7dcd){return _0x44a052(_0x1f7dcd);}};await withTelemetry(_0x290b82['HCBwu'],async()=>{const _0x1ff3b1=_0x331d;if(_0x503de6['mcp']){await _0xe2cc77[_0x1ff3b1(0x271)](mcpBootstrap);const _0x5d33d9=await _0xe2cc77[_0x1ff3b1(0x271)](refreshCliToken);if(!_0x5d33d9)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x38f3cc=await _0xe2cc77['NiXtG'](getCurrentUser,_0x5d33d9);if(!_0x38f3cc[_0x1ff3b1(0x29d)])throw new Error(_0x1ff3b1(0x28d)+_0x38f3cc[_0x1ff3b1(0x200)]);console['log'](_0x1ff3b1(0x282)+_0x38f3cc['user'][_0x1ff3b1(0x38c)]);return;}await _0xe2cc77['FFrpC'](authenticate,_0x503de6['token']);});})[_0x26651a(0x23a)]('skills',_0x1c7a14[_0x26651a(0x2c4)],_0x5c62f2=>{const _0x4b0a69=_0x26651a;return _0x5c62f2[_0x4b0a69(0x244)]('scope',{'type':'string','choices':[_0x4b0a69(0x247),'project'],'description':_0x4b0a69(0x2cc)})['option'](_0x1c7a14['rUVXU'],{'type':_0x1c7a14[_0x4b0a69(0x2a9)],'description':_0x1c7a14[_0x4b0a69(0x31f)],'default':![]});},async _0x29da8c=>{await withTelemetry('setup:skills',async()=>{const _0x1faf96=_0x331d,_0xaa0e87=_0x29da8c[_0x1faf96(0x318)];if(_0x29da8c['opencode']){const _0x45b94b=await ensureOpencodePluginConfig(_0xaa0e87);_0x45b94b&&await installSkill(_0x290b82[_0x1faf96(0x390)],{'level':_0x45b94b['scope'],'cliVersion':_0x290b82['uvhCA'](getCurrentVersion),'platform':_0x290b82[_0x1faf96(0x2dc)]});}else await _0x290b82[_0x1faf96(0x30b)](ensureClaudePlugin,_0xaa0e87),await _0x290b82['dwhaf'](ensureClaudeSkills,_0xaa0e87);});})[_0x26651a(0x23a)](_0x1c7a14[_0x26651a(0x277)],'Set\x20up\x20a\x20local\x20browser\x20profile',_0x4c2821=>{const _0x689125=_0x26651a;return _0x4c2821[_0x689125(0x244)](_0x1c7a14['EXbvj'],{'type':_0x1c7a14['VupBC'],'choices':['user'],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x689125(0x244)](_0x1c7a14[_0x689125(0x323)],{'type':_0x689125(0x2d4),'description':_0x1c7a14['MZWqN']})[_0x689125(0x244)](_0x1c7a14[_0x689125(0x312)],{'type':_0x1c7a14['wOgzE'],'description':_0x689125(0x2de),'default':![]})[_0x689125(0x244)](_0x1c7a14[_0x689125(0x325)],{'type':'boolean','description':_0x1c7a14['hZRdL'],'default':![]})['option'](_0x1c7a14['wmoyn'],{'type':_0x689125(0x2cd),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x2db621=>{const _0x2608fb=_0x26651a,_0x5471a6=_0x2db621['scope'];_0x5471a6!==undefined&&_0x290b82['IYdVS'](_0x5471a6,_0x290b82[_0x2608fb(0x320)])&&(console[_0x2608fb(0x200)](_0x290b82['YOnXP']('ranger\x20setup\x20profiles\x20--scope='+_0x5471a6+'\x20is\x20no\x20longer\x20supported.\x20'+_0x2608fb(0x2f6),_0x2608fb(0x225))),process[_0x2608fb(0x2bc)](0x1)),await withTelemetry('setup:profiles',_0x75aff6=>ensureLocalEnv({'url':_0x2db621['url'],'force':_0x2db621[_0x2608fb(0x266)],'allowInsecureLocalhost':_0x2db621['allow-insecure-localhost'],'scope':_0x2608fb(0x247)},_0x75aff6));})[_0x26651a(0x244)](_0x1c7a14[_0x26651a(0x299)],{'type':_0x1c7a14['wOgzE'],'description':_0x26651a(0x392),'default':![]})['option']('scope',{'type':_0x1c7a14['VupBC'],'choices':[_0x1c7a14[_0x26651a(0x2d3)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x26651a(0x205),{'type':_0x1c7a14[_0x26651a(0x30d)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x26651a(0x244)](_0x1c7a14['eFfvr'],{'type':_0x1c7a14[_0x26651a(0x2a9)],'description':_0x1c7a14['hZRdL'],'default':![]})['option']('opencode',{'type':_0x1c7a14[_0x26651a(0x2a9)],'description':_0x1c7a14['rWAUn'],'default':![]})['option']('allow-insecure-localhost',{'type':_0x1c7a14['wOgzE'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option'](_0x26651a(0x265),{'type':_0x26651a(0x2cd),'description':_0x1c7a14['mMwKG'],'default':![]})[_0x26651a(0x244)](_0x1c7a14['PUaei'],{'type':'boolean','description':_0x1c7a14['fZrkr'],'default':![]})['option'](_0x1c7a14['mRwyW'],{'type':_0x1c7a14['wOgzE'],'description':_0x26651a(0x1fb),'default':![]})['option'](_0x1c7a14[_0x26651a(0x1f1)],{'type':_0x26651a(0x2d4),'hidden':!![],'description':'API\x20token'});},async _0x54d1c6=>{const _0x2e5d63=_0x4c411e,_0x569f87=_0x54d1c6[_0x2e5d63(0x2fd)],_0xf2b09a=_0x54d1c6[_0x2e5d63(0x21b)]??_0x569f87;_0x54d1c6[_0x1c7a14['KwhHS']]&&await withTelemetry(_0x1c7a14['KwhHS'],()=>mcpBootstrap()),await _0x1c7a14['iFwTC'](withTelemetry,_0x1c7a14['ZzOAX'],_0x1c82aa=>start(_0xf2b09a,{'skipChromium':_0x54d1c6[_0x2e5d63(0x28c)],'skipAuth':_0x54d1c6['skip-auth'],'withDeps':_0x54d1c6[_0x2e5d63(0x2dd)],'scope':_0x54d1c6['scope'],'url':_0x54d1c6['url'],'force':_0x54d1c6[_0x2e5d63(0x266)],'opencode':_0x54d1c6['opencode'],'allowInsecureLocalhost':_0x54d1c6['allow-insecure-localhost']},_0x1c82aa));})['command'](_0x1c7a14[_0x4c411e(0x29c)],'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0xb718ca=>{const _0x213316=_0x4c411e;return _0xb718ca[_0x213316(0x32c)](_0x1c7a14['tLARE'],{'type':'string','description':_0x1c7a14[_0x213316(0x24c)],'demandOption':!![]})['option'](_0x213316(0x393),{'type':_0x213316(0x2d4),'description':_0x213316(0x2a4)})[_0x213316(0x244)]('base-url',{'type':'string','description':_0x213316(0x1f4)})['option'](_0x1c7a14[_0x213316(0x299)],{'type':_0x1c7a14['wOgzE'],'description':_0x1c7a14['LFNRh'],'default':![]});},async _0x24ac49=>{const _0x1e7e7a=_0x4c411e;await _0x1c7a14['hjjsk'](withTelemetry,'setup-ci',_0x25fd6e=>setupCi(_0x24ac49['token'],{'profile':_0x24ac49['profile'],'baseUrl':_0x24ac49[_0x1e7e7a(0x2bf)],'skipChromium':_0x24ac49[_0x1e7e7a(0x28c)]},_0x25fd6e));})['command']('login',_0x4c411e(0x342),()=>{},async()=>{await _0x1c7a14['oTjbz'](withTelemetry,'login',()=>login());})['command'](_0x4c411e(0x21c),'Install\x20Ranger\x20skills',_0x3685d9=>{const _0x1d6f86=_0x4c411e;return _0x3685d9[_0x1d6f86(0x244)](_0x1c7a14['rUVXU'],{'type':_0x1c7a14['wOgzE'],'description':_0x1c7a14[_0x1d6f86(0x2f9)],'default':![]})['option'](_0x1c7a14[_0x1d6f86(0x36e)],{'type':_0x1c7a14[_0x1d6f86(0x30d)],'choices':[_0x1c7a14['SMCpc'],_0x1c7a14['VAHBH']],'description':'Install\x20scope\x20for\x20skills'});},async _0x11f989=>{const _0x50fc38=_0x4c411e,_0x2481ef=_0x1c7a14['Yzcdu'](Boolean,_0x11f989['opencode']);await _0x1c7a14[_0x50fc38(0x213)](withTelemetry,_0x1c7a14['SnoZh'],()=>skillup({'autoInstall':_0x11f989['scope'],'platform':_0x2481ef?'opencode':_0x50fc38(0x362)}));})['command'](_0x1c7a14[_0x4c411e(0x206)],'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{await withTelemetry('clean',()=>clean());})['command']([_0x1c7a14[_0x4c411e(0x2b2)],_0x4c411e(0x32a)],'Manage\x20profiles',_0x5f09c1=>{const _0x9b42f2=_0x4c411e,_0x28bf95={'zVWLv':'profile-name','ALTQw':_0x9b42f2(0x2d4),'yRlBt':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','DMLzh':_0x1c7a14[_0x9b42f2(0x2b4)],'rcWWP':_0x9b42f2(0x251),'YlOle':_0x9b42f2(0x2cd),'JYZrW':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','DxlFJ':'url','vQPKk':_0x1c7a14[_0x9b42f2(0x32d)],'NVDRq':_0x1c7a14[_0x9b42f2(0x325)],'mrKjt':_0x9b42f2(0x2b6),'dQGOD':_0x9b42f2(0x33a),'TMAVw':_0x9b42f2(0x2e0),'xcpTm':_0x9b42f2(0x366),'GxtRL':'setup-header','ERKss':_0x1c7a14['FiQkP'],'wpYqX':_0x1c7a14[_0x9b42f2(0x36e)],'cTllK':'project','aaWvi':_0x1c7a14[_0x9b42f2(0x328)],'ISbPo':_0x1c7a14[_0x9b42f2(0x1f2)],'DvgtJ':function(_0x487d3a,_0x2efcf3,_0x1f2ba7,_0x565cda){return _0x1c7a14['zVpCD'](_0x487d3a,_0x2efcf3,_0x1f2ba7,_0x565cda);},'lDKfs':_0x1c7a14[_0x9b42f2(0x380)],'YxEMY':_0x1c7a14['juiON'],'KlmAk':_0x1c7a14[_0x9b42f2(0x307)],'xkolv':'save-creds','UqwsK':_0x1c7a14['ymaeh'],'lcAOK':'profile\x20migrate','NiSVY':_0x1c7a14[_0x9b42f2(0x2b2)],'ecEgj':function(_0x1f49cf,_0xd3680e,_0x40215c){const _0x104e30=_0x9b42f2;return _0x1c7a14[_0x104e30(0x254)](_0x1f49cf,_0xd3680e,_0x40215c);},'pYMNO':'profile\x20config\x20set','xekWP':_0x9b42f2(0x23e)};return _0x5f09c1[_0x9b42f2(0x322)](PROFILE_HELP)[_0x9b42f2(0x23a)]('add\x20<profile-name>',_0x1c7a14[_0x9b42f2(0x2b8)],_0x3df2d9=>{const _0x333bc4=_0x9b42f2;return _0x3df2d9[_0x333bc4(0x32c)](_0x28bf95['zVWLv'],{'type':_0x28bf95[_0x333bc4(0x25c)],'description':_0x28bf95['yRlBt'],'demandOption':!![]})[_0x333bc4(0x244)]('ci',{'type':_0x333bc4(0x2cd),'description':_0x28bf95['DMLzh'],'default':![]})['option'](_0x28bf95['rcWWP'],{'type':_0x28bf95['YlOle'],'description':_0x28bf95[_0x333bc4(0x228)],'default':![]})[_0x333bc4(0x244)](_0x28bf95['DxlFJ'],{'type':_0x28bf95[_0x333bc4(0x25c)],'description':_0x28bf95[_0x333bc4(0x26e)]})[_0x333bc4(0x244)](_0x28bf95['NVDRq'],{'type':_0x333bc4(0x2cd),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x333bc4(0x244)](_0x28bf95[_0x333bc4(0x319)],{'type':_0x28bf95['ALTQw'],'description':_0x28bf95[_0x333bc4(0x2ca)]})[_0x333bc4(0x244)](_0x28bf95['TMAVw'],{'type':_0x28bf95['YlOle'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option']('safe-mode',{'type':_0x28bf95['YlOle'],'description':_0x28bf95['xcpTm'],'default':![]})[_0x333bc4(0x244)](_0x28bf95[_0x333bc4(0x33b)],{'type':'string','array':!![],'description':_0x28bf95['ERKss']})['option'](_0x28bf95[_0x333bc4(0x1f9)],{'type':'string','choices':[_0x333bc4(0x247),_0x28bf95['cTllK']],'description':_0x28bf95[_0x333bc4(0x36c)]})['option'](_0x28bf95['ISbPo'],{'type':_0x28bf95['YlOle'],'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x4c9898=>{const _0x42a3d6=_0x9b42f2;await _0x28bf95[_0x42a3d6(0x326)](withTelemetry,'profile\x20add',_0xfb568f=>addEnv(_0x4c9898[_0x42a3d6(0x24b)],{'ci':_0x4c9898['ci'],'skipAuth':_0x4c9898[_0x42a3d6(0x251)],'url':_0x4c9898['url'],'force':_0x4c9898['force'],'cdpEndpoint':_0x4c9898[_0x42a3d6(0x2b6)],'allowInsecureLocalhost':_0x4c9898[_0x42a3d6(0x2e0)],'safeMode':_0x4c9898[_0x42a3d6(0x22f)],'setupHeader':_0x4c9898['setup-header'],'scope':_0x4c9898[_0x42a3d6(0x318)],'yes':_0x4c9898['yes']},_0xfb568f),{'isElectron':Boolean(_0x4c9898[_0x42a3d6(0x2b6)])});})[_0x9b42f2(0x23a)](_0x1c7a14['zXiMd'],_0x1c7a14['PNxhJ'],_0x12c577=>{const _0x2a108f=_0x9b42f2;return _0x12c577[_0x2a108f(0x32c)]('profile-name',{'type':'string','description':_0x1c7a14[_0x2a108f(0x2a3)],'demandOption':!![]});},async _0x23f828=>{const _0x543262=_0x9b42f2;await withTelemetry(_0x1c7a14[_0x543262(0x376)],()=>useEnv(_0x23f828['profile-name']));})['command']('encrypt-auth\x20<profile>',_0x1c7a14[_0x9b42f2(0x303)],_0x1dfb3b=>{const _0x251b7c=_0x9b42f2;return _0x1dfb3b[_0x251b7c(0x32c)]('profile',{'type':_0x28bf95[_0x251b7c(0x25c)],'description':_0x28bf95['lDKfs'],'demandOption':!![]});},async _0x266a18=>{await _0x1c7a14['rRfef'](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0x266a18['profile']));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{await withTelemetry('profile\x20ls',()=>envList());})[_0x9b42f2(0x23a)](_0x1c7a14[_0x9b42f2(0x34e)],_0x1c7a14[_0x9b42f2(0x2ed)],_0x1f5d1a=>{const _0x1cb418=_0x9b42f2;return _0x1f5d1a[_0x1cb418(0x32c)](_0x1c7a14['BuSYR'],{'type':_0x1cb418(0x2d4),'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})[_0x1cb418(0x244)](_0x1c7a14['wmoyn'],{'type':_0x1c7a14['wOgzE'],'description':_0x1cb418(0x331)});},async _0x572d54=>{const _0x1f2d26=_0x9b42f2;await withTelemetry(_0x1c7a14[_0x1f2d26(0x304)],_0x4980f=>updateEnv(_0x572d54[_0x1f2d26(0x24b)],_0x4980f,{'allowInsecureLocalhost':_0x572d54['allow-insecure-localhost']}));})['command']('login\x20<name>',![],_0x2631f0=>{const _0x26a0a2=_0x9b42f2;return _0x2631f0[_0x26a0a2(0x32c)](_0x1c7a14['kDXEP'],{'type':_0x1c7a14['VupBC'],'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x4532b5=>{const _0x58458=_0x9b42f2,_0x5139cd={'YgvNC':function(_0x2db697,_0x477105){return _0x2db697||_0x477105;},'cOZav':_0x1c7a14['qvAdG'],'NbvSu':function(_0x23f4ea,_0xdc6e13){return _0x23f4ea===_0xdc6e13;},'uADPX':_0x1c7a14[_0x58458(0x227)]};await _0x1c7a14[_0x58458(0x291)](withTelemetry,_0x58458(0x27c),async()=>{const _0x8065c3=_0x58458,_0x151683=process[_0x8065c3(0x276)]['RANGER_TEST_USERNAME'],_0x8167d6=process['env']['RANGER_TEST_PASSWORD'];_0x5139cd[_0x8065c3(0x36f)](!_0x151683,!_0x8167d6)&&(console['error'](_0x5139cd[_0x8065c3(0x348)]),process[_0x8065c3(0x2bc)](0x1));const _0x2c01cf=_0x4532b5[_0x8065c3(0x1f5)],_0x460487=await serverSideLogin(_0x2c01cf,{'force':!![]});_0x5139cd[_0x8065c3(0x2f3)](_0x460487[_0x8065c3(0x28f)],_0x8065c3(0x315))&&(console[_0x8065c3(0x200)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process['exit'](0x1)),_0x460487[_0x8065c3(0x28f)]===_0x5139cd['uADPX']&&(console[_0x8065c3(0x200)]('Login\x20failed:\x20'+(_0x460487['error']??_0x8065c3(0x241))),_0x460487[_0x8065c3(0x302)]&&console['error'](_0x460487['test_output']),process[_0x8065c3(0x2bc)](0x1)),console[_0x8065c3(0x2a8)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x2c01cf+'\x27.\x20Session\x20saved.');});})['command'](_0x9b42f2(0x2b1),_0x1c7a14[_0x9b42f2(0x37a)],_0x5f2ba6=>{const _0x1730be=_0x9b42f2;return _0x5f2ba6[_0x1730be(0x32c)](_0x1730be(0x24b),{'type':_0x28bf95[_0x1730be(0x25c)],'description':_0x1730be(0x360)})['option'](_0x1730be(0x250),{'type':'boolean','description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})[_0x1730be(0x244)]('dry-run',{'type':_0x28bf95['YlOle'],'description':_0x28bf95[_0x1730be(0x2c9)],'default':![]})[_0x1730be(0x244)](_0x1730be(0x257),{'type':_0x1730be(0x2cd),'alias':'y','description':_0x28bf95['KlmAk'],'default':![]})[_0x1730be(0x244)](_0x28bf95['xkolv'],{'type':_0x1730be(0x2cd),'description':_0x28bf95['UqwsK'],'default':![]});},async _0x147ac7=>{const _0x34b304=_0x9b42f2;await withTelemetry(_0x28bf95['lcAOK'],_0x46ca00=>migrateProfile({'profileName':_0x147ac7[_0x34b304(0x24b)],'all':_0x147ac7[_0x34b304(0x250)],'dryRun':_0x147ac7[_0x34b304(0x321)],'yes':_0x147ac7['yes'],'saveCreds':_0x147ac7[_0x34b304(0x269)]},_0x46ca00));})['command']('config',_0x9b42f2(0x32b),_0x4b1fcc=>{const _0x551e81=_0x9b42f2,_0x4d8e6a={'aLoxY':_0x1c7a14[_0x551e81(0x30d)],'JOhFy':'Config\x20key','Gizoa':function(_0x4d1dbf,_0x1334a7,_0x1aca09){return _0x4d1dbf(_0x1334a7,_0x1aca09);},'BErkp':function(_0x18b22c,_0x3549f0,_0x3b71df){return _0x18b22c(_0x3549f0,_0x3b71df);},'cYzak':_0x551e81(0x246),'yjMdk':_0x1c7a14['nOode'],'iMTtg':_0x1c7a14['RHyVf']};return _0x4b1fcc['usage'](PROFILE_CONFIG_HELP)[_0x551e81(0x23a)](_0x1c7a14['CocAx'],'Set\x20a\x20config\x20value',_0x4edff7=>{const _0xfcf8fb=_0x551e81;return _0x4edff7[_0xfcf8fb(0x32c)](_0x28bf95[_0xfcf8fb(0x23d)],{'type':_0x28bf95[_0xfcf8fb(0x25c)],'description':_0x28bf95['lDKfs'],'demandOption':!![]})[_0xfcf8fb(0x32c)]('key',{'type':_0x28bf95['ALTQw'],'description':_0xfcf8fb(0x38e),'demandOption':!![]})[_0xfcf8fb(0x32c)]('value',{'type':_0xfcf8fb(0x2d4),'description':'Config\x20value','demandOption':!![]});},async _0x299a98=>{const _0x4a52f5=_0x551e81;await _0x28bf95[_0x4a52f5(0x30f)](withTelemetry,_0x28bf95[_0x4a52f5(0x2e4)],()=>configSet(_0x299a98['profile'],_0x299a98[_0x4a52f5(0x2c6)],_0x299a98[_0x4a52f5(0x310)]));})['command'](_0x1c7a14[_0x551e81(0x234)],_0x1c7a14[_0x551e81(0x261)],_0x45d0e5=>{const _0x4b18b2=_0x551e81;return _0x45d0e5['positional']('profile',{'type':_0x4d8e6a[_0x4b18b2(0x2ac)],'description':'Profile\x20name','demandOption':!![]})['positional']('key',{'type':_0x4d8e6a['aLoxY'],'description':_0x4d8e6a[_0x4b18b2(0x294)],'demandOption':!![]});},async _0x3e65b6=>{const _0x4744d7=_0x551e81;await _0x4d8e6a[_0x4744d7(0x22d)](withTelemetry,'profile\x20config\x20get',()=>configGet(_0x3e65b6['profile'],_0x3e65b6['key']));})['command'](_0x551e81(0x347),_0x1c7a14['tlhjZ'],_0x17e737=>{const _0x52e083=_0x551e81;return _0x17e737[_0x52e083(0x32c)](_0x28bf95[_0x52e083(0x23d)],{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x12eb9f=>{const _0x5a9323=_0x551e81;await _0x4d8e6a['BErkp'](withTelemetry,_0x5a9323(0x300),()=>configList(_0x12eb9f[_0x5a9323(0x393)]));})['command']('unset\x20<profile>\x20<key>',_0x1c7a14[_0x551e81(0x219)],_0x51c004=>{const _0x222316=_0x551e81;return _0x51c004[_0x222316(0x32c)](_0x28bf95[_0x222316(0x23d)],{'type':'string','description':_0x222316(0x372),'demandOption':!![]})[_0x222316(0x32c)](_0x222316(0x2c6),{'type':_0x28bf95[_0x222316(0x25c)],'description':_0x28bf95[_0x222316(0x27b)],'demandOption':!![]});},async _0x1fd440=>{const _0x5c8365=_0x551e81;await _0x4d8e6a['Gizoa'](withTelemetry,_0x4d8e6a[_0x5c8365(0x357)],()=>configUnset(_0x1fd440['profile'],_0x1fd440[_0x5c8365(0x2c6)]));})['command'](_0x1c7a14['AMbju'],_0x1c7a14[_0x551e81(0x2a1)],_0x4b3833=>{const _0x187355=_0x551e81;return _0x4b3833[_0x187355(0x32c)](_0x4d8e6a[_0x187355(0x378)],{'type':_0x4d8e6a['aLoxY'],'description':_0x4d8e6a['iMTtg'],'demandOption':!![]});},async _0x10502f=>{const _0x42ff81=_0x551e81;await withTelemetry(_0x42ff81(0x349),()=>configReset(_0x10502f[_0x42ff81(0x393)]));})[_0x551e81(0x293)](0x1,_0x1c7a14[_0x551e81(0x2bd)]);})['demandCommand'](0x1,_0x1c7a14['CUYnt']);})['command'](_0x4c411e(0x28f),_0x1c7a14['wUbKe'],()=>{},async()=>{await withTelemetry(_0x1c7a14['lvpgq'],()=>status());})['command'](_0x1c7a14[_0x4c411e(0x2a7)],_0x1c7a14['TJODw'],()=>{},async()=>{const _0x282ace=_0x4c411e;await withTelemetry(_0x1c7a14[_0x282ace(0x2a7)],()=>update());})[_0x4c411e(0x23a)](_0x4c411e(0x2cf),_0x1c7a14['OayJg'],()=>{},async()=>{const _0x461f68=_0x4c411e,_0x2ee247={'bemKn':function(_0x544dec){return _0x544dec();},'SwxDV':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.'};await _0x1c7a14[_0x461f68(0x213)](withTelemetry,_0x1c7a14[_0x461f68(0x216)],async()=>{const _0xcf23e=_0x461f68,_0x515e49=await _0x2ee247[_0xcf23e(0x214)](getToken);if(!_0x515e49)throw new Error(_0x2ee247[_0xcf23e(0x223)]);console['log'](_0x515e49);});})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x5aef3b=>{const _0x240e7d=_0x4c411e;return _0x5aef3b['option'](_0x240e7d(0x226),{'type':_0x1c7a14[_0x240e7d(0x30d)],'description':'Optional\x20feature\x20ID'})[_0x240e7d(0x244)](_0x1c7a14[_0x240e7d(0x2b2)],{'type':_0x240e7d(0x2d4),'description':_0x1c7a14['pDzAQ']})[_0x240e7d(0x244)](_0x240e7d(0x308),{'type':'string','description':_0x1c7a14[_0x240e7d(0x2bb)]})[_0x240e7d(0x244)](_0x1c7a14['rODhj'],{'type':_0x240e7d(0x399),'description':'Scenario\x20index\x20(1-based)'})[_0x240e7d(0x244)]('start-path',{'type':_0x1c7a14['VupBC'],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option'](_0x1c7a14[_0x240e7d(0x26c)],{'type':'string','description':_0x1c7a14['gISxv']})['option']('model',{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14[_0x240e7d(0x34f)]})[_0x240e7d(0x244)]('headed',{'type':'boolean','description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})['option'](_0x1c7a14[_0x240e7d(0x367)],{'type':_0x1c7a14[_0x240e7d(0x30d)],'hidden':!![],'choices':[_0x240e7d(0x296),_0x1c7a14['mDSIN'],_0x1c7a14[_0x240e7d(0x233)],_0x1c7a14['gOtke'],'incomplete']})['option']('debug-address-comments',{'type':_0x240e7d(0x2cd),'hidden':!![]})[_0x240e7d(0x244)]('env',{'type':_0x1c7a14[_0x240e7d(0x30d)],'hidden':!![]})['option'](_0x1c7a14['wjZiz'],{'type':'string','hidden':!![]})[_0x240e7d(0x244)](_0x240e7d(0x286),{'type':_0x1c7a14['LFNiV'],'hidden':!![]});},async _0x23f187=>{await _0x1c7a14['kCGCW'](runGoCommand,_0x23f187);})[_0x4c411e(0x23a)](_0x1c7a14['Ybgas'],![],_0x2ed5ed=>{const _0x26c0f9=_0x4c411e;return _0x2ed5ed['command']('encrypt\x20<profile>',![],_0x5a9d11=>{const _0xc8989b=_0x331d;return _0x5a9d11['positional']('profile',{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14[_0xc8989b(0x380)],'demandOption':!![]});},async _0x550653=>{_0x1c7a14['RZlMJ'](warnRenamed,'ranger\x20auth\x20encrypt','ranger\x20profile\x20encrypt-auth'),await _0x1c7a14['UjIlZ'](authEncrypt,_0x550653['profile']);})[_0x26c0f9(0x293)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})[_0x4c411e(0x23a)](_0x1c7a14[_0x4c411e(0x394)],![],_0x4aaab2=>{const _0x455714=_0x4c411e;return _0x4aaab2[_0x455714(0x32c)](_0x1c7a14['tLARE'],{'type':_0x1c7a14['VupBC'],'description':_0x455714(0x21e)})[_0x455714(0x244)](_0x1c7a14['RtfQf'],{'type':_0x455714(0x2cd),'description':_0x1c7a14[_0x455714(0x288)],'default':![]})[_0x455714(0x244)]('scope',{'type':'string','choices':[_0x1c7a14['SMCpc']],'hidden':!![],'description':_0x1c7a14[_0x455714(0x1f6)]})['option'](_0x1c7a14[_0x455714(0x323)],{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14['PKNpt']})[_0x455714(0x244)](_0x455714(0x266),{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x1c7a14[_0x455714(0x312)],{'type':'boolean','description':_0x455714(0x272),'default':![]})[_0x455714(0x244)](_0x1c7a14['mRwyW'],{'type':_0x455714(0x2cd),'description':_0x455714(0x2ee),'default':![]});},async _0x164e29=>{const _0x101aa0=_0x4c411e;_0x1c7a14[_0x101aa0(0x24e)](warnRenamed,_0x1c7a14[_0x101aa0(0x371)],_0x1c7a14['ZaTdi']),await withTelemetry(_0x1c7a14[_0x101aa0(0x2c3)],_0x4fb36f=>start(_0x164e29[_0x101aa0(0x21b)],{'skipChromium':_0x164e29['skip-chromium'],'skipAuth':_0x164e29[_0x101aa0(0x251)],'withDeps':_0x164e29['with-deps'],'scope':_0x164e29[_0x101aa0(0x318)],'url':_0x164e29['url'],'force':_0x164e29['force']},_0x4fb36f));})[_0x4c411e(0x23a)]('verify-feature',![],_0x25d11f=>{const _0x4fa1e3=_0x4c411e;return _0x25d11f['option'](_0x1c7a14[_0x4fa1e3(0x2f4)],{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14['SEuND']})['option'](_0x1c7a14[_0x4fa1e3(0x25e)],{'type':_0x1c7a14[_0x4fa1e3(0x30d)],'description':_0x1c7a14[_0x4fa1e3(0x25d)]})['option'](_0x1c7a14['uZwNE'],{'type':_0x1c7a14['LFNiV'],'description':'Scenario\x20index\x20(1-based)'})[_0x4fa1e3(0x244)]('profile',{'type':'string','hidden':!![]})['option'](_0x1c7a14[_0x4fa1e3(0x38f)],{'type':_0x4fa1e3(0x2d4),'hidden':!![]})['option']('scenario',{'type':_0x1c7a14['LFNiV'],'hidden':!![]})['option'](_0x1c7a14[_0x4fa1e3(0x2af)],{'type':_0x4fa1e3(0x2d4),'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})[_0x4fa1e3(0x244)]('base-url',{'type':_0x4fa1e3(0x2d4),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x4fa1e3(0x2ea),{'type':_0x4fa1e3(0x2d4),'hidden':!![]})['option'](_0x1c7a14[_0x4fa1e3(0x383)],{'type':_0x1c7a14['wOgzE'],'hidden':!![],'default':![]})['option'](_0x1c7a14['TxHdj'],{'type':'string','hidden':!![],'choices':['verified',_0x1c7a14['mDSIN'],_0x1c7a14[_0x4fa1e3(0x233)],'failed','incomplete']});},async _0x27ccae=>{await runGoCommand(_0x27ccae,!![]);})['command'](_0x1c7a14['RpcpL'],![],_0x5d17e8=>{const _0x39fcc5=_0x4c411e;return _0x5d17e8[_0x39fcc5(0x32c)](_0x39fcc5(0x316),{'type':_0x39fcc5(0x2d4),'description':_0x1c7a14[_0x39fcc5(0x231)],'demandOption':!![]})[_0x39fcc5(0x244)]('ci',{'type':_0x1c7a14[_0x39fcc5(0x2a9)],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x39fcc5(0x244)]('skip-auth',{'type':_0x1c7a14['wOgzE'],'description':_0x1c7a14[_0x39fcc5(0x287)],'default':![]});},async _0x15838f=>{const _0x301f82=_0x4c411e;_0x1c7a14['RxfCi'](warnRenamed,_0x1c7a14['OAsLz'],'ranger\x20profile\x20add'),await withTelemetry(_0x301f82(0x248),_0x372e39=>addEnv(_0x15838f[_0x301f82(0x316)],{'ci':_0x15838f['ci'],'skipAuth':_0x15838f['skip-auth']},_0x372e39));})['command']('use\x20<env-name>',![],_0x5dfbe7=>{const _0x40cf53=_0x4c411e;return _0x5dfbe7[_0x40cf53(0x32c)](_0x1c7a14['KRYsf'],{'type':'string','description':_0x1c7a14['GIbNs'],'demandOption':!![]});},async _0x584058=>{const _0x56b66c=_0x4c411e;warnRenamed(_0x56b66c(0x1f8),_0x1c7a14[_0x56b66c(0x363)]),await _0x1c7a14['LeqBQ'](withTelemetry,'use',()=>useEnv(_0x584058[_0x56b66c(0x316)]));})['command'](_0x1c7a14[_0x4c411e(0x34d)],![],_0x26cfdd=>{const _0x5d07b2=_0x4c411e,_0x50254b={'kCXXy':_0x1c7a14['arRbN'],'FQoeq':'key','paeCx':function(_0x15202d,_0x20596f,_0x17513f){const _0x58d3ad=_0x331d;return _0x1c7a14[_0x58d3ad(0x291)](_0x15202d,_0x20596f,_0x17513f);},'ishis':_0x1c7a14['pTyHi'],'ceuPq':_0x1c7a14['VupBC']};return _0x26cfdd[_0x5d07b2(0x23a)](_0x1c7a14['pbqED'],![],_0x4a5250=>{const _0x3a6f61=_0x5d07b2;return _0x4a5250[_0x3a6f61(0x32c)](_0x3a6f61(0x276),{'type':_0x3a6f61(0x2d4),'description':_0x3a6f61(0x224),'demandOption':!![]})['positional']('key',{'type':_0x1c7a14[_0x3a6f61(0x30d)],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional'](_0x1c7a14['ZSDSK'],{'type':_0x1c7a14[_0x3a6f61(0x30d)],'description':_0x3a6f61(0x385),'demandOption':!![]});},async _0x32be03=>{const _0x1620e5=_0x5d07b2;_0x1c7a14['RZlMJ'](warnRenamed,_0x1c7a14[_0x1620e5(0x38b)],_0x1620e5(0x270)),await withTelemetry(_0x1c7a14[_0x1620e5(0x29a)],()=>configSet(_0x32be03[_0x1620e5(0x276)],_0x32be03['key'],_0x32be03[_0x1620e5(0x310)]));})['command']('get\x20<env>\x20<key>',![],_0x539dcb=>{const _0xf5e31d=_0x5d07b2;return _0x539dcb['positional'](_0x50254b['kCXXy'],{'type':_0xf5e31d(0x2d4),'description':_0xf5e31d(0x224),'demandOption':!![]})[_0xf5e31d(0x32c)](_0x50254b['FQoeq'],{'type':'string','description':_0xf5e31d(0x33d),'demandOption':!![]});},async _0x23d8f6=>{const _0x459407=_0x5d07b2;_0x50254b['paeCx'](warnRenamed,_0x50254b[_0x459407(0x2ad)],'ranger\x20profile\x20config\x20get'),await _0x50254b[_0x459407(0x1fc)](withTelemetry,'config\x20get',()=>configGet(_0x23d8f6[_0x459407(0x276)],_0x23d8f6['key']));})[_0x5d07b2(0x23a)](_0x5d07b2(0x373),![],_0x38cd95=>{const _0x255aef=_0x5d07b2;return _0x38cd95[_0x255aef(0x32c)](_0x1c7a14[_0x255aef(0x2f4)],{'type':_0x255aef(0x2d4),'description':_0x1c7a14['xpTsZ'],'demandOption':!![]});},async _0x3f108e=>{const _0x293b63=_0x5d07b2;_0x1c7a14[_0x293b63(0x291)](warnRenamed,_0x1c7a14['qsPwP'],_0x1c7a14['rfRHB']),await withTelemetry(_0x1c7a14['EvAnh'],()=>configList(_0x3f108e[_0x293b63(0x276)]));})[_0x5d07b2(0x23a)](_0x5d07b2(0x2ab),![],_0x15ed19=>{const _0x291c9b=_0x5d07b2;return _0x15ed19['positional']('env',{'type':_0x50254b[_0x291c9b(0x2f5)],'description':_0x291c9b(0x224),'demandOption':!![]})['positional'](_0x50254b[_0x291c9b(0x306)],{'type':'string','description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x5d3562=>{const _0x5965c7=_0x5d07b2;warnRenamed('ranger\x20config\x20unset','ranger\x20profile\x20config\x20unset'),await withTelemetry('config\x20unset',()=>configUnset(_0x5d3562['env'],_0x5d3562[_0x5965c7(0x2c6)]));})[_0x5d07b2(0x293)](0x1,_0x1c7a14[_0x5d07b2(0x283)]);})['command'](_0x1c7a14['arRbN'],![],_0x234b4e=>{const _0x4a2c8a=_0x4c411e,_0x562107={'clhVf':function(_0xb98d86,_0x3556a1,_0x1c5f3f){return _0xb98d86(_0x3556a1,_0x1c5f3f);},'Enbfc':_0x1c7a14[_0x4a2c8a(0x25a)],'sAeUv':function(_0x733dc0,_0x334097,_0x56bb86){return _0x733dc0(_0x334097,_0x56bb86);}};return _0x234b4e['command']('ls',![],()=>{},async()=>{const _0x3b6335=_0x4a2c8a;warnRenamed(_0x1c7a14['ERDFL'],_0x1c7a14[_0x3b6335(0x32f)]),await withTelemetry(_0x3b6335(0x2a0),()=>envList());})['command'](_0x1c7a14[_0x4a2c8a(0x256)],![],_0x3fcb02=>{const _0x24242e=_0x4a2c8a;return _0x3fcb02[_0x24242e(0x32c)](_0x1c7a14['KRYsf'],{'type':_0x1c7a14['VupBC'],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x238027=>{const _0x561e06=_0x4a2c8a;_0x562107[_0x561e06(0x33c)](warnRenamed,_0x562107[_0x561e06(0x2ae)],'ranger\x20profile\x20update'),await _0x562107[_0x561e06(0x253)](withTelemetry,'env\x20update',_0x57db1b=>updateEnv(_0x238027['env-name'],_0x57db1b));})['demandCommand'](0x1,_0x4a2c8a(0x2e8));})[_0x4c411e(0x23a)](_0x1c7a14['LAQZr'],![],_0x12a6ad=>{const _0x41f27d=_0x4c411e,_0x161943={'pmRZd':_0x41f27d(0x2d0),'MozEG':_0x1c7a14[_0x41f27d(0x31a)],'ohNhC':_0x1c7a14['MkyHz'],'dekxj':_0x1c7a14[_0x41f27d(0x344)],'zpZZp':_0x41f27d(0x25f),'rmkzL':'Number\x20of\x20feature\x20reviews\x20to\x20skip','QgIoJ':'Include\x20soft-deleted\x20feature\x20reviews','bKEZd':_0x1c7a14['gxZtv'],'UgMSm':function(_0x493f8f,_0x3f886d,_0x3f2b7a){return _0x493f8f(_0x3f886d,_0x3f2b7a);},'rjScP':_0x41f27d(0x275),'WkezE':_0x1c7a14['RIpYY'],'KbhOT':_0x41f27d(0x211),'TEDmk':'Feature\x20review\x20ID\x20to\x20restore'};return _0x12a6ad['command']('create\x20<name>',![],_0x23c3a8=>{const _0x3260a1=_0x41f27d;return _0x23c3a8['positional'](_0x1c7a14['kDXEP'],{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x1c7a14[_0x3260a1(0x329)],{'type':'string','alias':'d','description':'Feature\x20review\x20description'})['option'](_0x1c7a14[_0x3260a1(0x21a)],{'type':_0x1c7a14['HorIo'],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0x1c7a14[_0x3260a1(0x314)],{'type':'array','hidden':!![]});},async _0x479696=>{const _0x521a22=_0x41f27d;warnRenamed(_0x521a22(0x28a),_0x521a22(0x2b3)),_0x1c7a14['zVpCD'](warnFlagRenamed,_0x521a22(0x2b3),_0x1c7a14[_0x521a22(0x370)],'--scenario');const _0x2dac26=_0x479696['scenario']||_0x479696[_0x521a22(0x35e)];await withTelemetry(_0x1c7a14[_0x521a22(0x38d)],()=>featureCreate(_0x479696['name'],{'description':_0x479696[_0x521a22(0x2d9)],'scenarios':_0x2dac26}));})[_0x41f27d(0x23a)](_0x41f27d(0x2a5),![],_0x48c73f=>{const _0x2b75e1=_0x41f27d;return _0x48c73f[_0x2b75e1(0x244)](_0x161943['pmRZd'],{'type':'boolean','description':_0x161943['MozEG']})[_0x2b75e1(0x244)](_0x161943['ohNhC'],{'type':_0x161943[_0x2b75e1(0x333)],'alias':'l','description':_0x161943['zpZZp'],'default':0xa})['option'](_0x2b75e1(0x281),{'type':'number','alias':'o','description':_0x161943[_0x2b75e1(0x2e1)],'default':0x0})['option'](_0x2b75e1(0x204),{'type':'boolean','alias':'d','description':_0x161943['QgIoJ'],'default':![]});},async _0xaee28=>{const _0xe6f9d1=_0x41f27d;warnRenamed(_0x161943['bKEZd'],_0xe6f9d1(0x2e2)),await _0x161943['UgMSm'](withTelemetry,_0xe6f9d1(0x33e),()=>featureList({'currentBranch':_0xaee28[_0xe6f9d1(0x2d0)],'limit':_0xaee28['limit'],'offset':_0xaee28[_0xe6f9d1(0x281)],'includeDeleted':_0xaee28[_0xe6f9d1(0x204)]}));})[_0x41f27d(0x23a)](_0x41f27d(0x295),![],_0x339903=>{const _0x7dbe95=_0x41f27d;return _0x339903[_0x7dbe95(0x32c)]('id',{'type':'string','description':_0x7dbe95(0x2ef)});},async _0x439167=>{const _0x42b8cf=_0x41f27d;warnRenamed('ranger\x20feature\x20show',_0x42b8cf(0x2ba)),await withTelemetry(_0x1c7a14['IcOyc'],()=>featureShow(_0x439167['id']));})[_0x41f27d(0x23a)]('resume\x20[id]',![],_0x3980e2=>{const _0x57baab=_0x41f27d;return _0x3980e2[_0x57baab(0x32c)]('id',{'type':'string','description':_0x161943[_0x57baab(0x23c)]});},async _0x8842e8=>{_0x1c7a14['gtICP'](warnRenamed,_0x1c7a14['eqsFV'],_0x1c7a14['EKuTU']),await withTelemetry(_0x1c7a14['lDxPp'],()=>featureResume(_0x8842e8['id']));})['command'](_0x1c7a14[_0x41f27d(0x388)],![],_0x34475e=>{const _0x1ce531=_0x41f27d;return _0x34475e[_0x1ce531(0x32c)](_0x1c7a14['TrLNm'],{'type':_0x1ce531(0x2d4),'description':_0x1ce531(0x208),'demandOption':!![]})['option']('id',{'type':_0x1ce531(0x2d4),'description':_0x1ce531(0x268)});},async _0x4e679e=>{const _0x2e3842=_0x41f27d;_0x161943[_0x2e3842(0x34a)](warnRenamed,_0x161943['WkezE'],_0x2e3842(0x230)),await withTelemetry(_0x161943['KbhOT'],()=>featureAddScenario(_0x4e679e[_0x2e3842(0x2d9)],_0x4e679e['id']));})[_0x41f27d(0x23a)](_0x1c7a14['PfNXy'],![],_0x378480=>{const _0x35bcff=_0x41f27d;return _0x378480['positional']('id',{'type':_0x1c7a14[_0x35bcff(0x30d)],'description':_0x1c7a14['uQlEm']});},async _0x4c42df=>{const _0x38d655=_0x41f27d;warnRenamed(_0x1c7a14['nJFkf'],_0x1c7a14[_0x38d655(0x284)]),await withTelemetry(_0x38d655(0x240),()=>featureGetReview(_0x4c42df['id']));})[_0x41f27d(0x23a)](_0x1c7a14['LmaXh'],![],_0x2f32ec=>{const _0x57dfb8=_0x41f27d;return _0x2f32ec[_0x57dfb8(0x32c)]('id',{'type':_0x1c7a14[_0x57dfb8(0x30d)],'description':_0x1c7a14['nAAev']});},async _0x462178=>{const _0x492e4f=_0x41f27d;warnRenamed(_0x492e4f(0x389),_0x1c7a14[_0x492e4f(0x36d)]),await _0x1c7a14['gtICP'](withTelemetry,_0x1c7a14['ZItpK'],()=>featureDelete(_0x462178['id']));})['command']('restore\x20<id>',![],_0x496055=>{const _0x106f15=_0x41f27d;return _0x496055['positional']('id',{'type':'string','description':_0x161943[_0x106f15(0x26b)],'demandOption':!![]});},async _0x170d83=>{const _0xaf5643=_0x41f27d;warnRenamed(_0x1c7a14[_0xaf5643(0x21d)],_0xaf5643(0x22a)),await withTelemetry('feature\x20restore',()=>featureRestore(_0x170d83['id']));})['demandCommand'](0x1,_0x41f27d(0x355));})[_0x4c411e(0x23a)](_0x4c411e(0x243),![],_0x2a73a3=>{const _0x4cf8a9=_0x4c411e,_0x1bc4cf={'RGBCd':_0x1c7a14[_0x4cf8a9(0x30d)],'fForB':_0x4cf8a9(0x35b)};return _0x2a73a3['command']('enable',_0x1c7a14[_0x4cf8a9(0x229)],_0xb22565=>{const _0x45d847=_0x4cf8a9;return _0xb22565['option'](_0x45d847(0x2c5),{'type':_0x1bc4cf[_0x45d847(0x364)],'description':_0x1bc4cf['fForB']});},async _0x50fa28=>{const _0x17eaac=_0x4cf8a9;await _0x1c7a14['rRfef'](withTelemetry,'hook:enable',()=>hook(_0x17eaac(0x327),_0x50fa28['session-id']));})[_0x4cf8a9(0x23a)](_0x1c7a14['uBIvA'],_0x1c7a14['gksjX'],_0x449661=>{const _0x104b14=_0x4cf8a9;return _0x449661[_0x104b14(0x244)]('session-id',{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14['nNTYI']});},async _0x446459=>{const _0x5aa63b=_0x4cf8a9;await _0x1c7a14[_0x5aa63b(0x30c)](withTelemetry,_0x5aa63b(0x352),()=>hook('disable',_0x446459['session-id']));})['option'](_0x1c7a14['kDXEP'],{'type':_0x1c7a14['VupBC'],'description':_0x1c7a14[_0x4cf8a9(0x2da)]})[_0x4cf8a9(0x244)](_0x1c7a14['QAMWu'],{'type':_0x4cf8a9(0x2d4),'description':_0x1c7a14['nNTYI']});},async _0x582782=>{const _0xb7bb66=_0x4c411e;_0x582782['name']&&await _0x1c7a14[_0xb7bb66(0x263)](hook,_0x582782[_0xb7bb66(0x1f5)],_0x582782[_0x1c7a14['QAMWu']]);})[_0x4c411e(0x293)](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()[_0x4c411e(0x292)](async(_0x4cb0af,_0x374497,_0x2086be)=>{const _0x446d9b=_0x4c411e,_0xd70981=sanitizeArgs(process[_0x446d9b(0x24d)]['slice'](0x2)),_0x54d00e=_0x1c7a14['aluvH'](getErrorType,_0x4cb0af,_0x374497);if(_0x4cb0af&&_0x4cb0af[_0x446d9b(0x1ee)](_0x446d9b(0x365))){const _0x31800e=process['argv'][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x31800e),console[_0x446d9b(0x200)]('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x4cb0af)console['error']('\x0a'+_0x4cb0af+'\x0a');else _0x374497&&console['error'](_0x446d9b(0x324)+_0x374497[_0x446d9b(0x207)]+'\x0a');}await _0x1c7a14['UjIlZ'](logDesirePath,{'rawCommand':_0xd70981,'errorMessage':_0x4cb0af||_0x374497?.['message'],'errorType':_0x54d00e});const _0xc06002=getCurrentCollector();_0xc06002&&await _0xc06002[_0x446d9b(0x358)](_0x374497||new Error(_0x1c7a14[_0x446d9b(0x330)](_0x4cb0af,'Unknown\x20error'))),process['exit'](0x1);})['epilogue'](_0x1c7a14['SaHKB'](_0x1c7a14['BuAjC']+'\x20\x20https://docs.ranger.net\x0a',_0x1c7a14[_0x4c411e(0x354)]))['help']()[_0x4c411e(0x301)](_0x1c7a14[_0x4c411e(0x2aa)],'h');}process[_0x403ed5(0x276)]['NODE_ENV']!==_0x403ed5(0x31d)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x403ed5(0x309)]());
|