@ranger-testing/ranger-cli 2.5.4-alpha.57338f5-12 → 2.5.4-alpha.5f9facb-17
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 -1
- 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 +15 -5
- package/build/skills/ranger/verify.md +15 -3
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ This walks you through everything interactively:
|
|
|
25
25
|
- **Authentication** -- opens your browser to log in (credentials stored in OS Keychain)
|
|
26
26
|
- **Chromium** -- installs the browser used for verification
|
|
27
27
|
- **Plugin** -- installs the Claude Code plugin (you choose user-level or project-level)
|
|
28
|
-
- **Profile** -- prompts for your app's URL, opens a browser to capture
|
|
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 _0x1d089a=_0x1b12;(function(_0x7fde95,_0x326fec){const _0x482b36=_0x1b12,_0x55c6bb=_0x7fde95();while(!![]){try{const _0x7f822=parseInt(_0x482b36(0x2c0))/0x1*(parseInt(_0x482b36(0x323))/0x2)+parseInt(_0x482b36(0x2de))/0x3+parseInt(_0x482b36(0x302))/0x4+-parseInt(_0x482b36(0x328))/0x5*(-parseInt(_0x482b36(0x30f))/0x6)+parseInt(_0x482b36(0x2f7))/0x7+-parseInt(_0x482b36(0x28e))/0x8+parseInt(_0x482b36(0x2f2))/0x9*(-parseInt(_0x482b36(0x1d7))/0xa);if(_0x7f822===_0x326fec)break;else _0x55c6bb['push'](_0x55c6bb['shift']());}catch(_0x2a7312){_0x55c6bb['push'](_0x55c6bb['shift']());}}}(_0x37ee,0x818a1));import _0x1634a3 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0xd95e12=_0x1b12,_0xee5231={'PhYCQ':'.env','vXDzY':function(_0x1131fc,_0x364a14){return _0x1131fc(_0x364a14);}};let _0x1078c5=process[_0xd95e12(0x1ef)]();const _0x3950a8=parse(_0x1078c5)['root'];while(_0x1078c5!==_0x3950a8){if(existsSync(join(_0x1078c5,_0xd95e12(0x206)))||existsSync(join(_0x1078c5,_0xee5231['PhYCQ'])))return _0x1078c5;_0x1078c5=_0xee5231['vXDzY'](dirname,_0x1078c5);}return process[_0xd95e12(0x1ef)]();}function _0x37ee(){const _0x21b781=['evaluation','ranger\x20feature\x20restore','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','add-checklist-item\x20<description>','avihn','sirBY','EJefQ','env\x20list','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','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aProfile\x20config.\x20Routes\x20automatically\x20based\x20on\x20where\x20the\x20profile\x20lives:\x0a\x20\x20-\x20Local\x20profiles\x20write\x20to\x20.ranger/<env>/settings.json\x0a\x20\x20-\x20Cloud\x20profiles\x20write\x20a\x20local\x20overlay\x20in\x20~/.ranger/projects.json\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x20(effective\x20value\x20for\x20cloud\x20profiles)\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20local\x20overrides\x20(cloud\x20profiles\x20only)\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override\x20for\x20cloud\x20profiles)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201','project','force','DUFOj','usage','hFbkg','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.','get-review\x20[id]','oDGQW','iLPcv','lCKFm','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','ehJza','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','ZdaGW','setup-ci\x20<token>','WTHoW','feature\x20show','CpfBp','OXtav','rwzjP','UcuZk','New\x20scenario\x20description','ranger\x20feature\x20list','resume','sMJso','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','value','argv','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','atAKC','MuQBL','number','YczMA','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','RHAkV','env','Add\x20profile\x20configuration','ennGZ','evaluationReason','You\x20must\x20specify\x20a\x20config\x20subcommand','tHOgg','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','PRaji','notes','KnKkR','Install\x20Ranger\x20skills','profile\x20config\x20set','feature\x20restore','ranger\x20profile\x20config\x20unset','test','setup:skills','jcggf','offset','add\x20env','4806304hgUSni','key','startsWith','dTLVD','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','feature\x20list','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Skip\x20Chromium\x20browser\x20installation','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','ranger\x20restore','json','ranger\x20feature\x20delete','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','qLMvq','Config\x20key\x20to\x20remove','SzJqh','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','ntKDj','pjdCO','ranger\x20create','uXKFc','Install\x20scope\x20for\x20skills','demandCommand','setup-header','Install\x20Chromium\x20browser\x20binary','\x20\x20https://docs.ranger.net\x0a','option','command','NODE_ENV','Restore\x20a\x20soft-deleted\x20feature\x20review','forEach','profile\x20update','incomplete','PwIIQ','FhoGU','ranger\x20feature\x20create','Login\x20failed:\x20','Install\x20scope\x20for\x20plugin\x20and\x20skills','profile\x20login','exclude-scenario','MkThN','yes','API\x20token','\x20is\x20now\x20','Feature\x20review\x20description','skip-auth','show\x20[id]','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','slice','Ranger\x20API\x20token\x20(rngr_...)','8475bMcXPF','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','QRyef','scriptName','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','NWuHX','url','CSsLp','current-branch','jmSSf','Klqie','cCaNR','get-feedback\x20[id]','.\x20[','create','CaSCc','DXAYX','You\x20must\x20specify\x20an\x20auth\x20subcommand','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','blocked','gkdEI','feature','base-url','UiIGP','.env','AwppE','UoLHb','ranger','Scenario\x20index\x20(1-based)','yNpTr','2773347rILfQc','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','Ivwww','VnCHp','Config\x20key','maPZn','Scenario\x20number\x20to\x20edit\x20(1-based)','model','AqkkV','Example:\x20ranger\x20create\x20my-feature','token','fjrhe','hiTar','limit','xwjYy','session-id','Include\x20soft-deleted\x20feature\x20reviews','profile-name','Unknown\x20command','qbMmE','9rGDYsb','SuXDg','--checklist','xywiu','AANcv','4668783kUSclJ','RupTQ','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','--env','hook:enable','RANGER_PROFILE','HwOYO','dXpMc','unset\x20<env>\x20<key>','Feature\x20review\x20ID','zeLnk','3507084JxddeQ','ranger\x20feature\x20add-checklist-item','hLIXF','aGEKq','YZgkh','ktRVU','RpcNw','profile\x20ls','Set\x20up\x20a\x20local\x20browser\x20profile','status','feature\x20add-checklist-item','FxDws','start-path','207702oBBJpB','BOTzj','alias','HnWBu','error','Profile\x20name','DHvGF','YxbNv','checklist','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','yizbw','YLqVg','Summary:\x20','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','rfTVo','OwZrd','LnkSV','string','ranger\x20config\x20list','DQixb','10VAyAQg','array','ranger\x20list','Environment\x20name','kbCnB','60VfWUmu','tokenOrSubcommand','FuAcl','eAsQK','List\x20all\x20profiles','scope','Lnevm','with-deps','MPwoB','YoLne','trackCommandError','summary','opencode','USHYY','Alias\x20for\x20--mcp-bootstrap','nZMwx','RbDsS','jDmNn','jRIRm','NwatB','NgZBT','feature\x20get-feedback','\x20BLOCKED','Set\x20a\x20config\x20value','fbpjH','all','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','hook','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','ranger\x20config\x20get','create\x20<name>','wBypp','Config\x20value','VbrtR','severity','MUCHc','AyXCh','dkWFU','wTxIq','print-access-token','ranger\x20add-scenario','JuGAx','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','fHzTQ','Scenario\x20description','ranger\x20env\x20update','TRokU','get\x20<profile>\x20<key>','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','hGxaP','OAzZd','vnzmT','cBQsV','Manage\x20profile\x20configuration','mKyPa','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Skip\x20interactive\x20confirmation\x20prompts.','cgSsf','strictCommands','include-deleted','ranger\x20profile\x20use','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','WpqrJ','HRIIo','PVHnw','cdp-endpoint','WufJT','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','ImZov','hiNpT','FDlCZ','yOxtb','cbBey','BPUmd','tAaWr','ranger\x20use','profile','help','feature\x20create','ZhvbM','BNZIT','Cfmec','Install\x20skills\x20for\x20OpenCode','includes','start','mjYBC','sVvZh','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','KHuGs','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','ranger\x20profile\x20config\x20get','UrmuI','JZnnH','debug-address-comments','Install\x20OS-level\x20dependencies\x20for\x20Chromium','\x0aIssues:','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','lfvDJ','FZGku','scenario','IGuOq','clean','snRRz','ZZxXF','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','report','17945870WQGNut','task','disable','name','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','MjUfZ','Vsdxd','debug-outcome','add-scenario\x20<description>','login','mcp','jPqeC','EXEgX','resume\x20[id]','ranger\x20profile\x20update','UaEhL','Feature\x20review\x20name','sHwtB','CRiPz','pfwIl','TrrOR','Ranger\x20API\x20token','yzezM','jEqiK','cwd','GZMpC','partial','FaPCu','ranger\x20go','save-creds','axTVl','verified','HUmms','Ragnx','wvJen','pHxbx','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','lzync','user','log','--task','Feature\x20review\x20ID\x20to\x20restore','CLfDC','boolean','some','JpFKe','Run\x20full\x20interactive\x20setup','.ranger','ANbOI','ranger\x20get-review','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','profile\x20config\x20get','ranger\x20start','CBoNT','exit','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','ranger\x20config\x20unset','bTfXd','Mrxou','yRCez','IaZPx','Reason:\x20','issues','enable','lfTOd','Name\x20of\x20the\x20profile\x20to\x20update','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','epilogue','env-name','update\x20<profile-name>','mcp-bootstrap','bmEny','ovJsR','JEZFc','skip-chromium','description','tDSAA','ranger\x20feature\x20get-feedback','✓\x20Authenticated\x20to\x20','skills','OQloE','set\x20<profile>\x20<key>\x20<value>','lnyVo','ioPLT','encrypt\x20<profile>','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','positional','length','RpuvX','list','allow-insecure-localhost','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','safe-mode','ImcKQ','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','GXasX','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','ADTgx','headed','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','Subcommand\x20or\x20API\x20token\x20(rngr_...)','delete\x20[id]','Wybzq','FlDZs','setup\x20[tokenOrSubcommand]','akjXu','login\x20<name>','failed','sHOPX','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','rMokr','ranger\x20auth\x20encrypt','Authenticate\x20via\x20MCP\x20proxy','EXsYL','delete','--scenario','QjAUi','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'];_0x37ee=function(){return _0x21b781;};return _0x37ee();}_0x1634a3['config']({'path':join(findProjectRoot(),_0x1d089a(0x2d8))});import _0x55b901 from'yargs/yargs';function _0x1b12(_0x58e95d,_0x26e6c4){_0x58e95d=_0x58e95d-0x173;const _0x37ee23=_0x37ee();let _0x1b1278=_0x37ee23[_0x58e95d];return _0x1b1278;}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';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 _0x155eaf=>{const _0x196395=getCurrentCollector();_0x196395&&await _0x196395['trackCommandError'](_0x155eaf),process['exitCode']=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x1d089a(0x256),PROFILE_CONFIG_HELP=_0x1d089a(0x257);function warnRenamed(_0x3e2b62,_0x441550){const _0x1cfa9a=_0x1d089a;console[_0x1cfa9a(0x313)]('\x0a'+_0x3e2b62+_0x1cfa9a(0x2b9)+_0x441550+'\x0a');}function argUsed(_0x3f9f6b){const _0x6b61ff=_0x1d089a;return rawArgs[_0x6b61ff(0x203)](_0x2b45b5=>_0x2b45b5===_0x3f9f6b||_0x2b45b5[_0x6b61ff(0x290)](_0x3f9f6b+'='));}function warnFlagRenamed(_0x4e42d0,_0x12613d,_0x4c1a8d){const _0xe622da=_0x1d089a,_0xff6281={'ntKDj':function(_0x291322,_0x2c544a,_0x52b1a6){return _0x291322(_0x2c544a,_0x52b1a6);}};argUsed(_0x12613d)&&_0xff6281[_0xe622da(0x29f)](warnRenamed,_0x4e42d0+'\x20'+_0x12613d,_0x4e42d0+'\x20'+_0x4c1a8d);}async function runGoCommand(_0x5e45f1,_0x4fcfb1=![]){const _0x54cdf8=_0x1d089a,_0x1eb477={'ZZxXF':function(_0x4578e4,_0x4ec0c4,_0x19efc0){return _0x4578e4(_0x4ec0c4,_0x19efc0);},'oDGQW':'ranger\x20verify-feature','OwZrd':_0x54cdf8(0x2fa),'RpcNw':_0x54cdf8(0x1f3),'VVivp':'--notes','sirBY':function(_0x63402e,_0x34df49,_0x494a5c,_0x1670af){return _0x63402e(_0x34df49,_0x494a5c,_0x1670af);},'ZziOc':'--item','BCceN':_0x54cdf8(0x24b),'rMokr':'debug-address-comments','rfTVo':'\x20VERIFIED','frjmo':function(_0x53c204,_0x3e5d82){return _0x53c204===_0x3e5d82;},'FAxHy':'incomplete','xvvwZ':'\x20INCOMPLETE','wgaCs':function(_0x5b55be,_0x15dcce){return _0x5b55be===_0x15dcce;},'sHOPX':_0x54cdf8(0x2d3),'hNqTn':_0x54cdf8(0x181),'ZdaGW':'\x20FAILED','FlDZs':_0x54cdf8(0x1cc),'MqcCL':function(_0x33a595,_0x1e14b0){return _0x33a595===_0x1e14b0;}};_0x4fcfb1&&_0x1eb477[_0x54cdf8(0x1d4)](warnRenamed,_0x1eb477[_0x54cdf8(0x25f)],'ranger\x20go');warnFlagRenamed('ranger\x20go',_0x1eb477[_0x54cdf8(0x31e)],'--profile'),warnFlagRenamed(_0x1eb477[_0x54cdf8(0x308)],_0x54cdf8(0x1ff),_0x1eb477['VVivp']),_0x1eb477[_0x54cdf8(0x253)](warnFlagRenamed,_0x1eb477['RpcNw'],_0x1eb477['ZziOc'],_0x1eb477['BCceN']);const _0x1a032e=await loadRangerConfig(),_0x40aa86=isByokEnabled(),_0x42b2cf=_0x5e45f1[_0x54cdf8(0x2e5)],_0x2b7699=_0x1a032e[_0x54cdf8(0x2e5)],_0x435d53=await verifyFeature({'featureId':_0x5e45f1['feature'],'profile':_0x5e45f1[_0x54cdf8(0x1b9)]??_0x5e45f1['env']??process['env'][_0x54cdf8(0x2fc)],'notes':_0x5e45f1[_0x54cdf8(0x283)]??_0x5e45f1['task'],'scenario':_0x5e45f1[_0x54cdf8(0x1d0)]??_0x5e45f1['item'],'startPath':_0x5e45f1[_0x54cdf8(0x30e)],'baseUrl':_0x5e45f1['base-url'],'debugOutcome':_0x5e45f1[_0x54cdf8(0x1de)],'debugAddressComments':_0x5e45f1[_0x1eb477[_0x54cdf8(0x246)]],'headed':_0x5e45f1['headed'],'byokEnabled':_0x40aa86,'flagVerifyModel':_0x42b2cf,'configVerifyModel':_0x2b7699});console[_0x54cdf8(0x1fe)]('\x0a'+'='['repeat'](0x3c)),console[_0x54cdf8(0x1fe)](_0x435d53['evaluation']==='verified'?_0x1eb477[_0x54cdf8(0x31d)]:_0x1eb477['frjmo'](_0x435d53['evaluation'],_0x1eb477['FAxHy'])?_0x1eb477['xvvwZ']:_0x1eb477['wgaCs'](_0x435d53['evaluation'],_0x54cdf8(0x1f1))?'\x20PARTIAL':_0x1eb477['frjmo'](_0x435d53[_0x54cdf8(0x24e)],_0x1eb477[_0x54cdf8(0x244)])?_0x1eb477['hNqTn']:_0x1eb477[_0x54cdf8(0x265)]),console['log']('='['repeat'](0x3c)),console['log'](_0x54cdf8(0x31b)+_0x435d53[_0x54cdf8(0x176)]),console[_0x54cdf8(0x1fe)]('Evaluation:\x20'+_0x435d53['evaluation']),console[_0x54cdf8(0x1fe)](_0x54cdf8(0x214)+_0x435d53[_0x54cdf8(0x27e)]),_0x435d53[_0x54cdf8(0x215)]?.[_0x54cdf8(0x22f)]&&(console['log'](_0x1eb477[_0x54cdf8(0x23f)]),_0x435d53[_0x54cdf8(0x215)][_0x54cdf8(0x2ac)]((_0x2fc813,_0x4c2d52)=>{const _0xf7fba2=_0x54cdf8;console[_0xf7fba2(0x1fe)]('\x0a'+(_0x4c2d52+0x1)+_0xf7fba2(0x2cd)+_0x2fc813[_0xf7fba2(0x18d)]+']\x20'+_0x2fc813[_0xf7fba2(0x223)]);})),process['exit'](_0x1eb477['MqcCL'](_0x435d53['evaluation'],_0x54cdf8(0x1f6))?0x0:0x1);}export function buildParser(_0x18fa0e){const _0x36b798=_0x1d089a,_0x5e219f={'YczMA':_0x36b798(0x320),'MkThN':'scenario','ImZov':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','phFBu':'checklist','ovJsR':'array','Wybzq':function(_0x3f8043,_0x4eede6){return _0x3f8043+_0x4eede6;},'eFuBe':_0x36b798(0x296),'akjXu':_0x36b798(0x2e7),'YoLne':function(_0x1e229e,_0x436a95,_0x29c1f2,_0x5086ee){return _0x1e229e(_0x436a95,_0x29c1f2,_0x5086ee);},'pHxbx':_0x36b798(0x2a1),'MPwoB':_0x36b798(0x24b),'CRiPz':_0x36b798(0x2ce),'djbwe':_0x36b798(0x2c8),'OAzZd':'boolean','BOTzj':_0x36b798(0x264),'lnyVo':'number','rwzjP':_0x36b798(0x1a7),'vnzmT':'Include\x20soft-deleted\x20feature\x20reviews','Klqie':function(_0x50cd87,_0x3df3ff,_0x1248f6){return _0x50cd87(_0x3df3ff,_0x1248f6);},'FhoGU':'show','uaqPM':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','lfvDJ':_0x36b798(0x26f),'DQixb':_0x36b798(0x223),'WufJT':'Scenario\x20description','CBoNT':'add-scenario','cgSsf':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','fHzTQ':function(_0x5bb7e8,_0x239b2b,_0x40f303){return _0x5bb7e8(_0x239b2b,_0x40f303);},'NduYk':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','Usioi':_0x36b798(0x298),'vfWeN':_0x36b798(0x1c6),'snRRz':_0x36b798(0x1d6),'qbMmE':function(_0x4cccb8,_0x3aca1f,_0x375d99){return _0x4cccb8(_0x3aca1f,_0x375d99);},'IbUHR':_0x36b798(0x300),'jIBoI':_0x36b798(0x200),'UrmuI':_0x36b798(0x21e),'jQQuD':'setup:all','AqkkV':'with-deps','lURIq':_0x36b798(0x2db),'Ragnx':function(_0x1731e2,_0x5d05c3){return _0x1731e2(_0x5d05c3);},'WnWpO':_0x36b798(0x28a),'sMJso':'scope','tDSAA':_0x36b798(0x2c6),'IaZPx':'Base\x20URL\x20of\x20the\x20running\x20app','OBYOz':'Skip\x20browser\x20authentication','FxDws':_0x36b798(0x232),'jDmNn':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','cbBey':'Ranger\x20API\x20token','MuQBL':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','USHYY':'skip-auth','VbrtR':'Skip\x20authentication','AANcv':_0x36b798(0x259),'jEqiK':_0x36b798(0x177),'pneOd':_0x36b798(0x1e1),'YxbNv':function(_0x1b3863){return _0x1b3863();},'RIjzk':_0x36b798(0x245),'NwatB':_0x36b798(0x2b3),'jVZdR':_0x36b798(0x205),'FuAcl':'deps','wAVMI':_0x36b798(0x2a6),'SAWAe':_0x36b798(0x1e0),'czskV':'Authenticate\x20with\x20Ranger','ZhvbM':_0x36b798(0x2c4),'SnKSv':_0x36b798(0x30a),'GXasX':_0x36b798(0x222),'afsDg':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','vNyjP':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','nZMwx':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','LnkSV':_0x36b798(0x2e8),'HwOYO':_0x36b798(0x2b8),'FaPCu':'profile','rqCQn':_0x36b798(0x295),'PvlwU':'setup-ci','HRIIo':'user','aMqFW':_0x36b798(0x2a3),'cBQsV':function(_0xeaa1b5,_0x34bc96){return _0xeaa1b5(_0x34bc96);},'yRCez':'skillup','LJkgi':function(_0x3e09da,_0x1bc61d,_0x17a02c){return _0x3e09da(_0x1bc61d,_0x17a02c);},'JZnnH':_0x36b798(0x2ef),'OVByw':_0x36b798(0x218),'bBwUj':'name','oykyR':_0x36b798(0x1f4),'SguyJ':_0x36b798(0x1c4),'EXEgX':_0x36b798(0x195),'lZpJD':_0x36b798(0x262),'HkvCo':'safe-mode','SzJqh':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','SkvDu':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','IJeTe':'profile\x20add','eAsQK':'Name\x20of\x20the\x20profile','PeONE':'profile\x20encrypt-auth','qtRcW':_0x36b798(0x2ad),'jgWTK':_0x36b798(0x2b4),'bTfXd':function(_0x242b82,_0x32ef7f,_0x1f24c3){return _0x242b82(_0x32ef7f,_0x1f24c3);},'cvJyL':_0x36b798(0x18b),'rzdga':_0x36b798(0x229),'MUCHc':'reset\x20<profile>','lwYmr':'add\x20<profile-name>','CaQYw':'use\x20<profile-name>','yizbw':'Switch\x20to\x20using\x20a\x20specific\x20profile','cxOHu':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','oURXk':_0x36b798(0x32c),'HgCRI':'Update\x20authentication\x20for\x20an\x20existing\x20profile','huTFA':'config','EXsYL':_0x36b798(0x1a0),'CaSCc':'You\x20must\x20specify\x20a\x20profile\x20subcommand','iLPcv':_0x36b798(0x30b),'foPcF':function(_0x1d0e89,_0xb31e60,_0x5b3ef8){return _0x1d0e89(_0xb31e60,_0x5b3ef8);},'BPUmd':function(_0x4528f6){return _0x4528f6();},'wvJen':function(_0x4439b4,_0x3a0c00,_0x5b29c9){return _0x4439b4(_0x3a0c00,_0x5b29c9);},'SjvSx':'feature','HnWBu':'Optional\x20feature\x20ID','XfCtP':_0x36b798(0x30e),'FZGku':_0x36b798(0x279),'ADTgx':'base-url','DXAYX':_0x36b798(0x25d),'XPHXC':_0x36b798(0x23a),'yzezM':_0x36b798(0x2c1),'Cfmec':_0x36b798(0x2d3),'TdiJi':_0x36b798(0x2ae),'BNZIT':_0x36b798(0x1ca),'xywiu':_0x36b798(0x27b),'WpqrJ':'item','xMtaN':_0x36b798(0x247),'Pezgm':_0x36b798(0x314),'HUmms':_0x36b798(0x22c),'zwkIj':_0x36b798(0x2d1),'RupTQ':_0x36b798(0x294),'LFFos':_0x36b798(0x1c1),'ennGZ':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','xwjYy':_0x36b798(0x2dc),'eWCBP':'model','atAKC':_0x36b798(0x1de),'STZvW':function(_0x3b5c50,_0x4a16d6,_0x41e251){return _0x3b5c50(_0x4a16d6,_0x41e251);},'gkdEI':_0x36b798(0x21c),'UoLHb':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','BKzeC':'ranger\x20profile\x20add','QRyef':_0x36b798(0x28d),'hiTar':_0x36b798(0x2e2),'RpuvX':_0x36b798(0x188),'UcuZk':'config\x20get','aGEKq':'Environment\x20name','SXsqk':_0x36b798(0x321),'QjAUi':_0x36b798(0x28f),'KHuGs':_0x36b798(0x29c),'jmSSf':'ranger\x20config\x20set','ovkKi':'list\x20<env>','VDAjr':_0x36b798(0x27f),'EHzRX':'ranger\x20env\x20ls','YCMBS':function(_0x45a388,_0x4648be,_0xd76dac){return _0x45a388(_0x4648be,_0xd76dac);},'hiNpT':function(_0x4e7888,_0x1e79aa,_0x5bdfbd){return _0x4e7888(_0x1e79aa,_0x5bdfbd);},'whAwc':'update\x20<env-name>','iLYCs':'You\x20must\x20specify\x20an\x20env\x20subcommand','kVyLC':function(_0x25ece1,_0x67b155,_0x1e30f6){return _0x25ece1(_0x67b155,_0x1e30f6);},'tHOgg':_0x36b798(0x2b1),'hGxaP':function(_0x1799a7,_0x3dcb55,_0x4b8584,_0x110a64){return _0x1799a7(_0x3dcb55,_0x4b8584,_0x110a64);},'VhixL':_0x36b798(0x1bb),'dkWFU':function(_0x4cb4a0,_0x5d4aad,_0x31383d){return _0x4cb4a0(_0x5d4aad,_0x31383d);},'WTHoW':_0x36b798(0x26e),'jxUAS':_0x36b798(0x325),'NWuHX':function(_0x9c0559,_0x21839f,_0x319b7b){return _0x9c0559(_0x21839f,_0x319b7b);},'zdsgZ':'ranger\x20feature\x20show','zeLnk':function(_0x3cce88,_0x554625,_0x382dae){return _0x3cce88(_0x554625,_0x382dae);},'bHVUL':_0x36b798(0x268),'PcfQr':_0x36b798(0x180),'dwYJI':'ranger\x20resume','fWRHI':function(_0x2dc7a9,_0x44fa03,_0x3f65aa){return _0x2dc7a9(_0x44fa03,_0x3f65aa);},'FxZru':'ranger\x20delete','uXKFc':_0x36b798(0x189),'kYvNo':_0x36b798(0x231),'oUWvn':_0x36b798(0x1e4),'XJqbb':_0x36b798(0x2cc),'TWZqO':_0x36b798(0x2fb),'CLfDC':function(_0x17d69e,_0x35cd0f,_0x427140){return _0x17d69e(_0x35cd0f,_0x427140);},'rCXxL':'hook:disable','IWJnd':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','fbpjH':_0x36b798(0x1d9),'tAaWr':_0x36b798(0x292),'LrDKm':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','OpgjA':_0x36b798(0x2ed),'JpFKe':function(_0x459d60,_0x2b2947){return _0x459d60(_0x2b2947);},'qLMvq':function(_0x4c69c0,_0x9e3af4,_0x190357){return _0x4c69c0(_0x9e3af4,_0x190357);},'dXpMc':_0x36b798(0x2f0),'ckHHI':function(_0x57df69,_0x5bfa90){return _0x57df69(_0x5bfa90);},'pAlxJ':'List\x20all\x20feature\x20reviews','iHkjn':_0x36b798(0x2bc),'RbDsS':'edit-scenario\x20<description>','zxcfP':'report\x20[id]','fOisE':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','dVoSo':'delete\x20[id]','AwfpH':_0x36b798(0x219),'eMiTH':_0x36b798(0x2ab),'lCKFm':_0x36b798(0x240),'Ivwww':'Initialize\x20Ranger\x20in\x20your\x20project','LiSrC':'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','SHrVf':_0x36b798(0x281),'maPZn':_0x36b798(0x285),'sHwtB':_0x36b798(0x233),'qkxNQ':'profiles','TRokU':_0x36b798(0x29e),'ytsrN':'update','KIaNz':'print-access-token','FDlCZ':_0x36b798(0x274),'jRIRm':'auth','lDSuh':'start\x20[token]','CpfBp':'verify-feature','GZMpC':'add\x20env\x20<env-name>','FTwxK':_0x36b798(0x186),'hLIXF':function(_0x4bf42d,_0x1edadd){return _0x4bf42d+_0x1edadd;},'maShS':'Documentation:\x0a'};return _0x5e219f['ckHHI'](_0x55b901,_0x18fa0e??process[_0x36b798(0x273)]['slice'](0x2))[_0x36b798(0x2c3)]('ranger')[_0x36b798(0x25b)](TOP_LEVEL_HELP)['version'](_0x5e219f['BPUmd'](getCurrentVersion))['command']('create\x20<name>',_0x36b798(0x318),_0xf599ee=>{const _0xe00fa0=_0x36b798;return _0xf599ee['positional']('name',{'type':_0x5e219f[_0xe00fa0(0x278)],'description':_0xe00fa0(0x1e7),'demandOption':!![]})[_0xe00fa0(0x2a8)](_0xe00fa0(0x223),{'type':_0x5e219f[_0xe00fa0(0x278)],'alias':'d','description':_0xe00fa0(0x2ba)})['option'](_0x5e219f['MkThN'],{'type':_0xe00fa0(0x324),'alias':'c','description':_0x5e219f['ImZov']})['option'](_0x5e219f['phFBu'],{'type':_0x5e219f['ovJsR'],'hidden':!![]});},async _0x2e15b8=>{const _0x3e5a5c=_0x36b798;if(!_0x2e15b8['name']){console['error'](_0x5e219f[_0x3e5a5c(0x23e)](_0x5e219f['eFuBe'],_0x5e219f[_0x3e5a5c(0x241)])),process[_0x3e5a5c(0x20d)](0x1);return;}_0x5e219f[_0x3e5a5c(0x174)](warnFlagRenamed,_0x5e219f[_0x3e5a5c(0x1fa)],_0x3e5a5c(0x2f4),_0x5e219f[_0x3e5a5c(0x173)]);const _0x124b77=_0x2e15b8[_0x3e5a5c(0x1d0)]||_0x2e15b8['checklist'];await withTelemetry(_0x5e219f[_0x3e5a5c(0x1e9)],()=>featureCreate(_0x2e15b8[_0x3e5a5c(0x1da)],{'description':_0x2e15b8['description'],'scenarios':_0x124b77}));})['command']('list',_0x5e219f['pAlxJ'],_0x4c8913=>{const _0x711f14=_0x36b798;return _0x4c8913['option'](_0x5e219f['djbwe'],{'type':_0x5e219f['OAzZd'],'description':_0x5e219f[_0x711f14(0x310)]})[_0x711f14(0x2a8)](_0x711f14(0x2eb),{'type':_0x711f14(0x277),'alias':'l','description':_0x711f14(0x238),'default':0xa})[_0x711f14(0x2a8)](_0x711f14(0x28c),{'type':_0x5e219f[_0x711f14(0x22a)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x711f14(0x2a8)](_0x5e219f[_0x711f14(0x26b)],{'type':_0x711f14(0x202),'alias':'d','description':_0x5e219f[_0x711f14(0x19e)],'default':![]});},async _0x16ddda=>{const _0x1589b9=_0x36b798;await _0x5e219f['Klqie'](withTelemetry,'list',()=>featureList({'currentBranch':_0x16ddda['current-branch'],'limit':_0x16ddda['limit'],'offset':_0x16ddda[_0x1589b9(0x28c)],'includeDeleted':_0x16ddda['include-deleted']}));})['command'](_0x5e219f['iHkjn'],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0xc8de31=>{const _0x785f19=_0x36b798;return _0xc8de31['positional']('id',{'type':_0x5e219f[_0x785f19(0x278)],'description':_0x785f19(0x300)});},async _0x569dce=>{const _0x4dfe34=_0x36b798;await _0x5e219f['Klqie'](withTelemetry,_0x5e219f[_0x4dfe34(0x2b0)],()=>featureShow(_0x569dce['id']));})['command'](_0x36b798(0x1e4),_0x36b798(0x22d),_0x15896c=>{return _0x15896c['positional']('id',{'type':'string','description':_0x5e219f['uaqPM']});},async _0xc899e6=>{const _0x567429=_0x36b798;await withTelemetry(_0x5e219f[_0x567429(0x1ce)],()=>featureResume(_0xc899e6['id']));})['command'](_0x36b798(0x1df),'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x1adf37=>{const _0x427fb3=_0x36b798;return _0x1adf37['positional'](_0x5e219f[_0x427fb3(0x322)],{'type':_0x5e219f['YczMA'],'description':_0x5e219f[_0x427fb3(0x1af)],'demandOption':!![]})[_0x427fb3(0x2a8)]('id',{'type':_0x5e219f['YczMA'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x5f0117=>{const _0x2752c2=_0x36b798;await withTelemetry(_0x5e219f[_0x2752c2(0x20c)],()=>featureAddScenario(_0x5f0117['description'],_0x5f0117['id']));})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x17b)],_0x36b798(0x2bd),_0x3ec893=>{const _0xa2e0c7=_0x36b798;return _0x3ec893[_0xa2e0c7(0x22e)](_0x5e219f[_0xa2e0c7(0x322)],{'type':_0x5e219f[_0xa2e0c7(0x278)],'description':_0xa2e0c7(0x26d),'demandOption':!![]})[_0xa2e0c7(0x2a8)](_0x5e219f['MkThN'],{'type':_0xa2e0c7(0x277),'description':_0xa2e0c7(0x2e4),'demandOption':!![]})['option']('id',{'type':_0x5e219f[_0xa2e0c7(0x278)],'description':_0x5e219f[_0xa2e0c7(0x1a5)]});},async _0x4f9e47=>{const _0x3002ac=_0x36b798;await _0x5e219f[_0x3002ac(0x196)](withTelemetry,'edit-scenario',()=>featureEditScenario(_0x4f9e47['description'],{'id':_0x4f9e47['id'],'scenario':_0x4f9e47['scenario']}));})[_0x36b798(0x2a9)](_0x5e219f['zxcfP'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x23a286=>{const _0x240d3b=_0x36b798;return _0x23a286[_0x240d3b(0x22e)]('id',{'type':_0x5e219f['YczMA'],'description':'Feature\x20review\x20ID'})['option'](_0x240d3b(0x2b5),{'type':_0x240d3b(0x324),'description':_0x5e219f['NduYk']})[_0x240d3b(0x2a8)](_0x5e219f['Usioi'],{'type':_0x5e219f[_0x240d3b(0x19d)],'description':_0x5e219f['vfWeN'],'default':![]});},async _0xed8142=>{const _0x1747d5=_0x36b798,_0x162505=_0xed8142['exclude-scenario'],_0x51dcee=_0x162505?_0x162505['map'](_0x7ad2c8=>Number(_0x7ad2c8)):undefined;await _0x5e219f[_0x1747d5(0x2ca)](withTelemetry,_0x5e219f[_0x1747d5(0x1d3)],()=>featureReportPrDescription(_0xed8142['id'],{'excludeScenarios':_0x51dcee,'json':_0xed8142['json']}));})['command'](_0x36b798(0x25e),_0x5e219f['fOisE'],_0x7c9651=>{const _0x525ab8=_0x36b798;return _0x7c9651[_0x525ab8(0x22e)]('id',{'type':_0x5e219f[_0x525ab8(0x278)],'description':_0x5e219f[_0x525ab8(0x1a5)]});},async _0x1c8af5=>{await _0x5e219f['qbMmE'](withTelemetry,'get-review',()=>featureGetReview(_0x1c8af5['id']));})['command'](_0x5e219f['dVoSo'],_0x5e219f['AwfpH'],_0x4d1626=>{return _0x4d1626['positional']('id',{'type':'string','description':_0x5e219f['IbUHR']});},async _0x31531d=>{const _0x5d9eb0=_0x36b798;await withTelemetry(_0x5d9eb0(0x24a),()=>featureDelete(_0x31531d['id']));})['command']('restore\x20<id>',_0x5e219f['eMiTH'],_0x18effc=>{const _0x42fac1=_0x36b798;return _0x18effc['positional']('id',{'type':_0x42fac1(0x320),'description':_0x5e219f['jIBoI'],'demandOption':!![]});},async _0x21171=>{await _0x5e219f['Klqie'](withTelemetry,'restore',()=>featureRestore(_0x21171['id']));})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x261)],_0x5e219f[_0x36b798(0x2e0)],_0x35c9f5=>{const _0x4a49c5=_0x36b798,_0x23fd86={'mjYBC':'string','cOMga':_0x5e219f[_0x4a49c5(0x1b5)],'KxaUz':_0x4a49c5(0x222),'pjdCO':_0x5e219f[_0x4a49c5(0x276)],'HedYa':_0x5e219f[_0x4a49c5(0x178)],'OQloE':_0x5e219f['VbrtR'],'oNOfK':_0x5e219f[_0x4a49c5(0x2e6)],'yOxtb':_0x4a49c5(0x1cb),'jcggf':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','Vsdxd':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','UaEhL':_0x5e219f[_0x4a49c5(0x2f6)],'PwIIQ':_0x5e219f[_0x4a49c5(0x19d)],'JuGAx':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','zcxyt':_0x5e219f[_0x4a49c5(0x1ee)],'dTLVD':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','yNpTr':_0x4a49c5(0x232),'Lnevm':_0x5e219f[_0x4a49c5(0x17c)],'KuAJo':_0x4a49c5(0x21e),'JEZFc':_0x5e219f['pneOd'],'TrrOR':'setup:deps','MjUfZ':_0x4a49c5(0x2bf),'iREYu':function(_0x313415){return _0x5e219f['YxbNv'](_0x313415);},'uGhyf':function(_0x262d89){const _0x52d2e4=_0x4a49c5;return _0x5e219f[_0x52d2e4(0x316)](_0x262d89);},'hFbkg':_0x5e219f['RIjzk'],'wARwk':_0x5e219f[_0x4a49c5(0x270)],'sVvZh':_0x4a49c5(0x1fd),'dkQtD':_0x4a49c5(0x258),'tDlDt':_0x5e219f[_0x4a49c5(0x17e)],'EdzxG':function(_0x4a54b0,_0x4085e5){return _0x4a54b0!==_0x4085e5;},'axTVl':function(_0x3d872c,_0x331c92,_0x5466ab){const _0x5374aa=_0x4a49c5;return _0x5e219f[_0x5374aa(0x2f1)](_0x3d872c,_0x331c92,_0x5466ab);}};return _0x35c9f5['usage']('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')[_0x4a49c5(0x22e)](_0x4a49c5(0x329),{'type':_0x5e219f['YczMA'],'description':_0x4a49c5(0x23c)})[_0x4a49c5(0x2a9)]('all',_0x5e219f['jVZdR'],_0x28f519=>{const _0x34ff09=_0x4a49c5;return _0x28f519['option']('token',{'type':_0x23fd86[_0x34ff09(0x1c2)],'description':_0x23fd86['cOMga']})[_0x34ff09(0x2a8)](_0x23fd86['KxaUz'],{'type':_0x34ff09(0x202),'description':_0x23fd86[_0x34ff09(0x2a0)],'default':![]})['option'](_0x23fd86['HedYa'],{'type':'boolean','description':_0x23fd86[_0x34ff09(0x228)],'default':![]})['option'](_0x23fd86['oNOfK'],{'type':'boolean','description':_0x23fd86[_0x34ff09(0x1b4)],'default':![]})['option'](_0x34ff09(0x32d),{'type':_0x34ff09(0x320),'choices':['user'],'hidden':!![],'description':_0x23fd86[_0x34ff09(0x28b)]})[_0x34ff09(0x2a8)]('url',{'type':_0x23fd86['mjYBC'],'description':_0x23fd86[_0x34ff09(0x1dd)]})['option'](_0x23fd86[_0x34ff09(0x1e6)],{'type':_0x23fd86['PwIIQ'],'description':_0x23fd86[_0x34ff09(0x194)],'default':![]})[_0x34ff09(0x2a8)](_0x23fd86['zcxyt'],{'type':_0x34ff09(0x202),'description':_0x23fd86['dTLVD'],'default':![]})['option'](_0x23fd86[_0x34ff09(0x2dd)],{'type':_0x23fd86[_0x34ff09(0x2af)],'description':_0x23fd86[_0x34ff09(0x32e)],'default':![]})['option'](_0x23fd86['KuAJo'],{'type':'boolean','description':_0x34ff09(0x2df),'default':![]})[_0x34ff09(0x2a8)](_0x23fd86[_0x34ff09(0x221)],{'type':_0x23fd86['PwIIQ'],'description':_0x34ff09(0x179),'default':![]});},async _0x325b1d=>{const _0x477962=_0x4a49c5;(_0x325b1d[_0x5e219f[_0x477962(0x1c8)]]||_0x325b1d['mcp'])&&await withTelemetry(_0x477962(0x21e),()=>mcpBootstrap()),await withTelemetry(_0x5e219f['jQQuD'],_0x596008=>start(_0x325b1d[_0x477962(0x2e8)],{'skipChromium':_0x325b1d[_0x477962(0x222)],'skipAuth':_0x325b1d[_0x477962(0x2bb)],'withDeps':_0x325b1d['with-deps'],'scope':_0x325b1d['scope'],'url':_0x325b1d['url'],'force':_0x325b1d['force'],'opencode':_0x325b1d[_0x477962(0x177)],'allowInsecureLocalhost':_0x325b1d['allow-insecure-localhost']},_0x596008));})['command'](_0x5e219f[_0x4a49c5(0x32a)],_0x5e219f['wAVMI'],_0xee38ce=>{const _0xbdeeb2=_0x4a49c5;return _0xee38ce[_0xbdeeb2(0x2a8)](_0x5e219f[_0xbdeeb2(0x2e6)],{'type':_0x5e219f[_0xbdeeb2(0x19d)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0x1261cc=>{const _0x476ca0=_0x4a49c5;await withTelemetry(_0x23fd86[_0x476ca0(0x1eb)],()=>ensureChromium(_0x1261cc['with-deps']));})['command'](_0x5e219f['SAWAe'],_0x5e219f['czskV'],_0x277981=>{const _0xc3b92d=_0x4a49c5;return _0x277981[_0xc3b92d(0x2a8)](_0xc3b92d(0x2e8),{'type':_0x23fd86[_0xc3b92d(0x1c2)],'description':_0x23fd86[_0xc3b92d(0x1dc)]})[_0xc3b92d(0x2a8)](_0x23fd86[_0xc3b92d(0x221)],{'type':_0x23fd86[_0xc3b92d(0x2af)],'description':_0xc3b92d(0x248),'default':![]});},async _0x3334aa=>{const _0x1db24e=_0x4a49c5;await _0x5e219f[_0x1db24e(0x2f1)](withTelemetry,'setup:login',async()=>{const _0x5d358c=_0x1db24e;if(_0x3334aa[_0x5d358c(0x1e1)]){await _0x23fd86['iREYu'](mcpBootstrap);const _0x5a25d9=await _0x23fd86['uGhyf'](refreshCliToken);if(!_0x5a25d9)throw new Error(_0x23fd86[_0x5d358c(0x25c)]);const _0x2523f3=await getCurrentUser(_0x5a25d9);if(!_0x2523f3['success'])throw new Error(_0x5d358c(0x187)+_0x2523f3[_0x5d358c(0x313)]);console[_0x5d358c(0x1fe)](_0x5d358c(0x226)+_0x2523f3[_0x5d358c(0x1fd)]['organizationName']);return;}await authenticate(_0x3334aa[_0x5d358c(0x2e8)]);});})[_0x4a49c5(0x2a9)](_0x4a49c5(0x227),_0x5e219f[_0x4a49c5(0x1bc)],_0x47d435=>{const _0x27112f=_0x4a49c5;return _0x47d435[_0x27112f(0x2a8)](_0x23fd86['wARwk'],{'type':_0x23fd86[_0x27112f(0x1c2)],'choices':[_0x23fd86[_0x27112f(0x1c3)],_0x23fd86['dkQtD']],'description':_0x23fd86['tDlDt']})['option'](_0x23fd86['zcxyt'],{'type':_0x27112f(0x202),'description':_0x23fd86[_0x27112f(0x291)],'default':![]});},async _0x1c912e=>{const _0x2ee6bd={'wBypp':function(_0x2aad2b,_0x2c7303){return _0x2aad2b(_0x2c7303);},'SuXDg':function(_0x5a8b40,_0x2658d6,_0x2ddedc){return _0x5a8b40(_0x2658d6,_0x2ddedc);},'FfpVk':_0x5e219f['lURIq'],'lWiGP':function(_0x370d95){return _0x370d95();},'ANbOI':function(_0x1b0c26,_0x168555){const _0x4618a7=_0x1b12;return _0x5e219f[_0x4618a7(0x1f8)](_0x1b0c26,_0x168555);}};await withTelemetry(_0x5e219f['WnWpO'],async()=>{const _0x3c725a=_0x1b12,_0x143e36=_0x1c912e[_0x3c725a(0x32d)];if(_0x1c912e['opencode']){const _0x495559=await _0x2ee6bd[_0x3c725a(0x18a)](ensureOpencodePluginConfig,_0x143e36);_0x495559&&await _0x2ee6bd[_0x3c725a(0x2f3)](installSkill,_0x2ee6bd['FfpVk'],{'level':_0x495559['scope'],'cliVersion':_0x2ee6bd['lWiGP'](getCurrentVersion),'platform':'opencode'});}else await _0x2ee6bd[_0x3c725a(0x207)](ensureClaudePlugin,_0x143e36),await ensureClaudeSkills(_0x143e36);});})['command']('profiles',_0x5e219f['SnKSv'],_0x32600d=>{const _0x5e6af2=_0x4a49c5;return _0x32600d[_0x5e6af2(0x2a8)](_0x5e219f['sMJso'],{'type':_0x5e219f['YczMA'],'choices':['user'],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x5e219f['tDSAA'],{'type':'string','description':_0x5e219f[_0x5e6af2(0x213)]})['option']('skip-auth',{'type':_0x5e6af2(0x202),'description':_0x5e219f['OBYOz'],'default':![]})['option'](_0x5e6af2(0x259),{'type':'boolean','description':_0x5e6af2(0x29a),'default':![]})['option'](_0x5e219f[_0x5e6af2(0x30d)],{'type':_0x5e219f[_0x5e6af2(0x19d)],'description':_0x5e219f['jDmNn'],'default':![]});},async _0x118a66=>{const _0x12f2bc=_0x4a49c5,_0x3bff92=_0x118a66['scope'];_0x3bff92!==undefined&&_0x23fd86['EdzxG'](_0x3bff92,_0x12f2bc(0x1fd))&&(console['error']('ranger\x20setup\x20profiles\x20--scope='+_0x3bff92+'\x20is\x20no\x20longer\x20supported.\x20'+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now\x20(cloud\x20profiles\x20make\x20'+'project-scope\x20setup\x20obsolete).\x20Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.'),process['exit'](0x1)),await _0x23fd86[_0x12f2bc(0x1f5)](withTelemetry,'setup:profiles',_0x15ae8d=>ensureLocalEnv({'url':_0x118a66[_0x12f2bc(0x2c6)],'force':_0x118a66['force'],'allowInsecureLocalhost':_0x118a66[_0x12f2bc(0x232)],'scope':_0x12f2bc(0x1fd)},_0x15ae8d));})[_0x4a49c5(0x2a8)](_0x5e219f[_0x4a49c5(0x237)],{'type':_0x4a49c5(0x202),'description':_0x4a49c5(0x1a3),'default':![]})['option']('scope',{'type':_0x5e219f['YczMA'],'choices':[_0x4a49c5(0x1fd)],'hidden':!![],'description':_0x5e219f['afsDg']})['option']('url',{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x5e219f['AANcv'],{'type':'boolean','description':_0x4a49c5(0x29a),'default':![]})[_0x4a49c5(0x2a8)]('opencode',{'type':_0x5e219f[_0x4a49c5(0x19d)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x4a49c5(0x232),{'type':_0x5e219f[_0x4a49c5(0x19d)],'description':_0x4a49c5(0x1aa),'default':![]})['option'](_0x5e219f['UrmuI'],{'type':_0x5e219f['OAzZd'],'description':_0x5e219f['vNyjP'],'default':![]})[_0x4a49c5(0x2a8)](_0x5e219f[_0x4a49c5(0x178)],{'type':_0x5e219f[_0x4a49c5(0x19d)],'description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})[_0x4a49c5(0x2a8)]('with-deps',{'type':'boolean','description':_0x5e219f[_0x4a49c5(0x17a)],'default':![]})['option'](_0x5e219f[_0x4a49c5(0x31f)],{'type':_0x5e219f[_0x4a49c5(0x278)],'hidden':!![],'description':_0x5e219f[_0x4a49c5(0x2fd)]});},async _0x419f1f=>{const _0x16a8dc=_0x36b798,_0x18fd3c=_0x419f1f['tokenOrSubcommand'],_0x10c9ac=_0x419f1f[_0x16a8dc(0x2e8)]??_0x18fd3c;_0x419f1f[_0x5e219f[_0x16a8dc(0x1c8)]]&&await withTelemetry(_0x16a8dc(0x21e),()=>mcpBootstrap()),await withTelemetry(_0x16a8dc(0x1c1),_0x2a4f4f=>start(_0x10c9ac,{'skipChromium':_0x419f1f[_0x16a8dc(0x222)],'skipAuth':_0x419f1f['skip-auth'],'withDeps':_0x419f1f['with-deps'],'scope':_0x419f1f['scope'],'url':_0x419f1f['url'],'force':_0x419f1f['force'],'opencode':_0x419f1f['opencode'],'allowInsecureLocalhost':_0x419f1f['allow-insecure-localhost']},_0x2a4f4f));})[_0x36b798(0x2a9)](_0x36b798(0x266),_0x5e219f['LiSrC'],_0x51ca3b=>{const _0x1000df=_0x36b798;return _0x51ca3b['positional'](_0x5e219f[_0x1000df(0x31f)],{'type':_0x1000df(0x320),'description':_0x1000df(0x1ec),'demandOption':!![]})[_0x1000df(0x2a8)](_0x5e219f[_0x1000df(0x1f2)],{'type':_0x1000df(0x320),'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})[_0x1000df(0x2a8)](_0x1000df(0x2d6),{'type':_0x5e219f['YczMA'],'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x1000df(0x2a8)](_0x5e219f['GXasX'],{'type':'boolean','description':_0x5e219f['rqCQn'],'default':![]});},async _0x513f41=>{const _0xc2ad4e=_0x36b798;await withTelemetry(_0x5e219f['PvlwU'],_0x5aa851=>setupCi(_0x513f41[_0xc2ad4e(0x2e8)],{'profile':_0x513f41[_0xc2ad4e(0x1b9)],'baseUrl':_0x513f41[_0xc2ad4e(0x2d6)],'skipChromium':_0x513f41[_0xc2ad4e(0x222)]},_0x5aa851));})[_0x36b798(0x2a9)]('login',_0x5e219f['SHrVf'],()=>{},async()=>{const _0x49c6a8=_0x36b798;await withTelemetry(_0x49c6a8(0x1e0),()=>login());})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x212)],_0x5e219f[_0x36b798(0x2e3)],_0x5f0e1b=>{const _0x4b10b8=_0x36b798;return _0x5f0e1b[_0x4b10b8(0x2a8)](_0x5e219f['jEqiK'],{'type':_0x5e219f['OAzZd'],'description':_0x4b10b8(0x1bf),'default':![]})['option'](_0x5e219f[_0x4b10b8(0x270)],{'type':'string','choices':[_0x5e219f['HRIIo'],'project'],'description':_0x5e219f['aMqFW']});},async _0x1a55fb=>{const _0x59e9bb=_0x36b798,_0x4924d5=_0x5e219f[_0x59e9bb(0x19f)](Boolean,_0x1a55fb[_0x59e9bb(0x177)]);await withTelemetry(_0x5e219f[_0x59e9bb(0x212)],()=>skillup({'autoInstall':_0x1a55fb[_0x59e9bb(0x32d)],'platform':_0x4924d5?_0x59e9bb(0x177):'claude'}));})['command'](_0x36b798(0x1d2),_0x5e219f[_0x36b798(0x1e8)],()=>{},async()=>{await withTelemetry('clean',()=>clean());})[_0x36b798(0x2a9)]([_0x5e219f['FaPCu'],_0x5e219f['qkxNQ']],'Manage\x20profiles',_0x439ec7=>{const _0x2a1686=_0x36b798,_0x465d66={'TmsrK':'skip-auth','AwppE':_0x2a1686(0x31c),'OXtav':_0x5e219f[_0x2a1686(0x1e3)],'Dgnit':_0x5e219f['OAzZd'],'RHAkV':_0x5e219f['lZpJD'],'UBPXS':_0x5e219f['HkvCo'],'fjrhe':_0x5e219f[_0x2a1686(0x29d)],'CSsLp':_0x5e219f['SkvDu'],'uPPYz':_0x2a1686(0x258),'UiIGP':_0x2a1686(0x185),'sruDO':function(_0x46a02e,_0x51e307,_0xfe1530,_0x3f18b9){return _0x46a02e(_0x51e307,_0xfe1530,_0x3f18b9);},'AyXCh':_0x5e219f['IJeTe'],'emfyG':'cdp-endpoint','mKyPa':'string','tGdnZ':_0x5e219f[_0x2a1686(0x32b)],'NgZBT':function(_0x429715,_0x4235c5,_0x47fa1e){return _0x429715(_0x4235c5,_0x47fa1e);},'VnCHp':_0x5e219f['PeONE'],'pMETM':function(_0x1c0b03,_0x431242,_0x298765){return _0x5e219f['fHzTQ'](_0x1c0b03,_0x431242,_0x298765);},'ZHarr':_0x5e219f['qtRcW'],'LCFga':'unknown\x20error','TjgqV':_0x5e219f['jgWTK'],'ImcKQ':function(_0x5ea4fc,_0x2577f7,_0x1fa236){return _0x5ea4fc(_0x2577f7,_0x1fa236);},'aVkQz':_0x2a1686(0x286),'lBped':_0x2a1686(0x28f),'EJefQ':function(_0x1a5a34,_0x25d7b7,_0x15d8f0){return _0x5e219f['bTfXd'](_0x1a5a34,_0x25d7b7,_0x15d8f0);},'Mrxou':'profile\x20config\x20list','AkBjq':'profile\x20config\x20reset','DUFOj':_0x5e219f['cvJyL'],'jPqeC':_0x5e219f['rzdga'],'VOkFP':'Get\x20a\x20config\x20value','BFmlF':'list\x20<profile>','bmEny':'List\x20all\x20config\x20for\x20a\x20profile','YLqVg':_0x5e219f[_0x2a1686(0x18e)],'VJVBO':_0x2a1686(0x250)};return _0x439ec7[_0x2a1686(0x25b)](PROFILE_HELP)[_0x2a1686(0x2a9)](_0x5e219f['lwYmr'],_0x2a1686(0x27c),_0x5583ab=>{const _0x24ee1b=_0x2a1686;return _0x5583ab['positional']('profile-name',{'type':_0x24ee1b(0x320),'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x24ee1b(0x21a),'default':![]})[_0x24ee1b(0x2a8)](_0x465d66['TmsrK'],{'type':'boolean','description':_0x465d66[_0x24ee1b(0x2d9)],'default':![]})[_0x24ee1b(0x2a8)]('url',{'type':_0x24ee1b(0x320),'description':_0x465d66[_0x24ee1b(0x26a)]})['option']('force',{'type':_0x465d66['Dgnit'],'description':_0x24ee1b(0x29a),'default':![]})[_0x24ee1b(0x2a8)]('cdp-endpoint',{'type':'string','description':_0x465d66[_0x24ee1b(0x27a)]})['option'](_0x24ee1b(0x232),{'type':_0x465d66['Dgnit'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x24ee1b(0x2a8)](_0x465d66['UBPXS'],{'type':_0x465d66['Dgnit'],'description':_0x465d66[_0x24ee1b(0x2e9)],'default':![]})['option'](_0x24ee1b(0x2a5),{'type':_0x24ee1b(0x320),'array':!![],'description':_0x465d66[_0x24ee1b(0x2c7)]})[_0x24ee1b(0x2a8)](_0x24ee1b(0x32d),{'type':'string','choices':[_0x24ee1b(0x1fd),_0x465d66['uPPYz']],'description':_0x465d66[_0x24ee1b(0x2d7)]})[_0x24ee1b(0x2a8)](_0x24ee1b(0x2b7),{'type':_0x465d66['Dgnit'],'alias':'y','description':_0x24ee1b(0x1db),'default':![]});},async _0x5c7259=>{const _0x2bbc83=_0x2a1686;await _0x465d66['sruDO'](withTelemetry,_0x465d66[_0x2bbc83(0x18f)],_0x48eeb7=>addEnv(_0x5c7259['profile-name'],{'ci':_0x5c7259['ci'],'skipAuth':_0x5c7259['skip-auth'],'url':_0x5c7259['url'],'force':_0x5c7259[_0x2bbc83(0x259)],'cdpEndpoint':_0x5c7259[_0x2bbc83(0x1ae)],'allowInsecureLocalhost':_0x5c7259['allow-insecure-localhost'],'safeMode':_0x5c7259[_0x2bbc83(0x234)],'setupHeader':_0x5c7259[_0x2bbc83(0x2a5)],'scope':_0x5c7259[_0x2bbc83(0x32d)],'yes':_0x5c7259['yes']},_0x48eeb7),{'isElectron':Boolean(_0x5c7259[_0x465d66['emfyG']])});})[_0x2a1686(0x2a9)](_0x5e219f['CaQYw'],_0x5e219f[_0x2a1686(0x319)],_0x232e46=>{const _0x4fc6ee=_0x2a1686;return _0x232e46['positional'](_0x4fc6ee(0x2ef),{'type':_0x465d66[_0x4fc6ee(0x1a1)],'description':_0x465d66['tGdnZ'],'demandOption':!![]});},async _0x22bf73=>{const _0x46809b=_0x2a1686;await _0x5e219f['LJkgi'](withTelemetry,'profile\x20use',()=>useEnv(_0x22bf73[_0x46809b(0x2ef)]));})[_0x2a1686(0x2a9)]('encrypt-auth\x20<profile>',_0x5e219f['cxOHu'],_0x197636=>{const _0x342324=_0x2a1686;return _0x197636[_0x342324(0x22e)](_0x342324(0x1b9),{'type':_0x465d66[_0x342324(0x1a1)],'description':_0x342324(0x314),'demandOption':!![]});},async _0x2453a4=>{const _0x5a58f0=_0x2a1686;await _0x465d66[_0x5a58f0(0x17f)](withTelemetry,_0x465d66[_0x5a58f0(0x2e1)],()=>authEncrypt(_0x2453a4['profile']));})[_0x2a1686(0x2a9)]('ls',_0x5e219f['oURXk'],()=>{},async()=>{const _0x529dc0=_0x2a1686;await withTelemetry(_0x529dc0(0x309),()=>envList());})[_0x2a1686(0x2a9)](_0x2a1686(0x21d),_0x5e219f['HgCRI'],_0x6068c8=>{const _0xa71068=_0x2a1686;return _0x6068c8['positional'](_0x5e219f['JZnnH'],{'type':'string','description':_0x5e219f['OVByw'],'demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0x5e219f[_0xa71068(0x19d)],'description':_0xa71068(0x1aa)});},async _0x362629=>{const _0x3cad67=_0x2a1686;await _0x465d66['pMETM'](withTelemetry,_0x465d66['ZHarr'],_0x4e6a97=>updateEnv(_0x362629['profile-name'],_0x4e6a97,{'allowInsecureLocalhost':_0x362629[_0x3cad67(0x232)]}));})[_0x2a1686(0x2a9)](_0x2a1686(0x242),![],_0x4d712a=>{const _0x4dc11c=_0x2a1686;return _0x4d712a['positional'](_0x5e219f['bBwUj'],{'type':_0x4dc11c(0x320),'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0xd55d09=>{await withTelemetry(_0x465d66['TjgqV'],async()=>{const _0x959bdf=_0x1b12,_0x1b7cb8=process['env']['RANGER_TEST_USERNAME'],_0x2ecbe8=process[_0x959bdf(0x27b)]['RANGER_TEST_PASSWORD'];(!_0x1b7cb8||!_0x2ecbe8)&&(console['error'](_0x959bdf(0x1d5)),process[_0x959bdf(0x20d)](0x1));const _0x491e18=_0xd55d09['name'],_0x3a14d9=await serverSideLogin(_0x491e18,{'force':!![]});_0x3a14d9[_0x959bdf(0x30b)]==='not_configured'&&(console['error'](_0x959bdf(0x20e)),process['exit'](0x1)),_0x3a14d9['status']==='failed'&&(console[_0x959bdf(0x313)](_0x959bdf(0x2b2)+(_0x3a14d9[_0x959bdf(0x313)]??_0x465d66['LCFga'])),_0x3a14d9['test_output']&&console['error'](_0x3a14d9['test_output']),process[_0x959bdf(0x20d)](0x1)),console['log']('✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27'+_0x491e18+'\x27.\x20Session\x20written\x20to\x20cloud\x20profile.');});})[_0x2a1686(0x2a9)]('migrate\x20[profile-name]','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)',_0x3c72c0=>{const _0x46565e=_0x2a1686;return _0x3c72c0['positional'](_0x5e219f[_0x46565e(0x1c9)],{'type':_0x5e219f['YczMA'],'description':_0x46565e(0x271)})[_0x46565e(0x2a8)](_0x46565e(0x184),{'type':'boolean','description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})['option']('dry-run',{'type':_0x46565e(0x202),'description':_0x46565e(0x2f9),'default':![]})['option'](_0x46565e(0x2b7),{'type':'boolean','alias':'y','description':_0x46565e(0x1a4),'default':![]})[_0x46565e(0x2a8)](_0x5e219f['oykyR'],{'type':_0x5e219f['OAzZd'],'description':_0x5e219f['SguyJ'],'default':![]});},async _0x3ad2d1=>{await _0x465d66['NgZBT'](withTelemetry,'profile\x20migrate',_0x488d17=>migrateProfile({'profileName':_0x3ad2d1['profile-name'],'all':_0x3ad2d1['all'],'dryRun':_0x3ad2d1['dry-run'],'yes':_0x3ad2d1['yes'],'saveCreds':_0x3ad2d1['save-creds']},_0x488d17));})['command'](_0x5e219f['huTFA'],_0x5e219f[_0x2a1686(0x249)],_0x449629=>{const _0x45718a=_0x2a1686,_0x1e63a1={'avihn':'profile','ioPLT':_0x45718a(0x320),'vJbqo':_0x465d66[_0x45718a(0x25a)]};return _0x449629['usage'](PROFILE_CONFIG_HELP)['command'](_0x465d66[_0x45718a(0x1e2)],_0x45718a(0x182),_0x356a5f=>{const _0x45278d=_0x45718a;return _0x356a5f['positional'](_0x1e63a1[_0x45278d(0x252)],{'type':'string','description':'Profile\x20name','demandOption':!![]})['positional']('key',{'type':_0x1e63a1[_0x45278d(0x22b)],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional']('value',{'type':_0x1e63a1[_0x45278d(0x22b)],'description':_0x1e63a1['vJbqo'],'demandOption':!![]});},async _0x1150ae=>{const _0xce743e=_0x45718a;await _0x465d66[_0xce743e(0x235)](withTelemetry,_0x465d66['aVkQz'],()=>configSet(_0x1150ae['profile'],_0x1150ae['key'],_0x1150ae['value']));})[_0x45718a(0x2a9)](_0x45718a(0x19a),_0x465d66['VOkFP'],_0x25a292=>{const _0x25d729=_0x45718a;return _0x25a292['positional']('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]})[_0x25d729(0x22e)](_0x465d66['lBped'],{'type':_0x465d66['mKyPa'],'description':_0x25d729(0x2e2),'demandOption':!![]});},async _0x735026=>{const _0x577ea0=_0x45718a;await _0x465d66['ImcKQ'](withTelemetry,_0x577ea0(0x20a),()=>configGet(_0x735026[_0x577ea0(0x1b9)],_0x735026['key']));})[_0x45718a(0x2a9)](_0x465d66['BFmlF'],_0x465d66[_0x45718a(0x21f)],_0x2f58fb=>{const _0x535fd7=_0x45718a;return _0x2f58fb['positional']('profile',{'type':_0x465d66['mKyPa'],'description':_0x535fd7(0x314),'demandOption':!![]});},async _0x2c09c8=>{const _0x4b1b5e=_0x45718a;await _0x465d66[_0x4b1b5e(0x254)](withTelemetry,_0x465d66[_0x4b1b5e(0x211)],()=>configList(_0x2c09c8[_0x4b1b5e(0x1b9)]));})[_0x45718a(0x2a9)]('unset\x20<profile>\x20<key>','Remove\x20a\x20config\x20value',_0x2ea1a4=>{const _0x30e791=_0x45718a;return _0x2ea1a4['positional'](_0x30e791(0x1b9),{'type':_0x465d66[_0x30e791(0x1a1)],'description':_0x30e791(0x314),'demandOption':!![]})['positional'](_0x465d66['lBped'],{'type':_0x465d66['mKyPa'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x11b08f=>{const _0x3ef3fa=_0x45718a;await _0x465d66['ImcKQ'](withTelemetry,'profile\x20config\x20unset',()=>configUnset(_0x11b08f[_0x3ef3fa(0x1b9)],_0x11b08f['key']));})[_0x45718a(0x2a9)](_0x465d66[_0x45718a(0x31a)],_0x45718a(0x1a2),_0x45c527=>{const _0x3012ab=_0x45718a;return _0x45c527[_0x3012ab(0x22e)](_0x1e63a1[_0x3012ab(0x252)],{'type':_0x1e63a1['ioPLT'],'description':'Profile\x20name','demandOption':!![]});},async _0x4f13c0=>{const _0x14089d=_0x45718a;await withTelemetry(_0x465d66['AkBjq'],()=>configReset(_0x4f13c0[_0x14089d(0x1b9)]));})[_0x45718a(0x2a4)](0x1,_0x465d66['VJVBO']);})['demandCommand'](0x1,_0x5e219f[_0x2a1686(0x2cf)]);})['command'](_0x5e219f[_0x36b798(0x260)],_0x5e219f[_0x36b798(0x199)],()=>{},async()=>{const _0x54da32=_0x36b798;await _0x5e219f[_0x54da32(0x2f1)](withTelemetry,_0x5e219f['iLPcv'],()=>status());})[_0x36b798(0x2a9)](_0x5e219f['ytsrN'],_0x36b798(0x1cd),()=>{},async()=>{await _0x5e219f['foPcF'](withTelemetry,'update',()=>update());})[_0x36b798(0x2a9)](_0x5e219f['KIaNz'],'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x5c7e14=_0x36b798;await _0x5e219f[_0x5c7e14(0x1f9)](withTelemetry,_0x5c7e14(0x192),async()=>{const _0x94d883=_0x5c7e14,_0x5a5820=await _0x5e219f[_0x94d883(0x1b6)](getToken);if(!_0x5a5820)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console['log'](_0x5a5820);});})['command']('go',_0x5e219f[_0x36b798(0x1b3)],_0x10a5f7=>{const _0x262256=_0x36b798;return _0x10a5f7[_0x262256(0x2a8)](_0x5e219f['SjvSx'],{'type':_0x262256(0x320),'description':_0x5e219f[_0x262256(0x312)]})['option'](_0x262256(0x1b9),{'type':'string','description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x262256(0x2a8)]('notes',{'type':_0x262256(0x320),'description':_0x262256(0x19b)})['option']('scenario',{'type':_0x5e219f['lnyVo'],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x5e219f['XfCtP'],{'type':_0x262256(0x320),'description':_0x5e219f[_0x262256(0x1cf)]})['option'](_0x5e219f[_0x262256(0x239)],{'type':_0x5e219f[_0x262256(0x278)],'description':_0x262256(0x1b0)})['option'](_0x262256(0x2e5),{'type':_0x5e219f[_0x262256(0x278)],'description':_0x5e219f[_0x262256(0x2d0)]})['option'](_0x5e219f['XPHXC'],{'type':'boolean','description':_0x5e219f[_0x262256(0x1ed)],'default':![]})[_0x262256(0x2a8)]('debug-outcome',{'type':_0x5e219f[_0x262256(0x278)],'hidden':!![],'choices':[_0x262256(0x1f6),_0x262256(0x1f1),_0x5e219f[_0x262256(0x1be)],'failed',_0x5e219f['TdiJi']]})[_0x262256(0x2a8)](_0x5e219f[_0x262256(0x1bd)],{'type':_0x5e219f[_0x262256(0x19d)],'hidden':!![]})['option'](_0x5e219f[_0x262256(0x2f5)],{'type':_0x262256(0x320),'hidden':!![]})['option'](_0x262256(0x1d8),{'type':_0x5e219f['YczMA'],'hidden':!![]})[_0x262256(0x2a8)](_0x5e219f[_0x262256(0x1ab)],{'type':_0x5e219f['lnyVo'],'hidden':!![]});},async _0x253273=>{await runGoCommand(_0x253273);})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x17d)],![],_0x589dc0=>{const _0x4df737=_0x36b798,_0x510004={'YZgkh':_0x5e219f['Pezgm']};return _0x589dc0[_0x4df737(0x2a9)](_0x5e219f[_0x4df737(0x1f7)],![],_0x185d88=>{const _0x4728e4=_0x4df737;return _0x185d88['positional']('profile',{'type':_0x4728e4(0x320),'description':_0x510004[_0x4728e4(0x306)],'demandOption':!![]});},async _0x10b76f=>{warnRenamed(_0x5e219f['xMtaN'],'ranger\x20profile\x20encrypt-auth'),await authEncrypt(_0x10b76f['profile']);})[_0x4df737(0x2a4)](0x1,_0x5e219f['zwkIj']);},()=>{})['command'](_0x5e219f['lDSuh'],![],_0x5f055e=>{const _0x276a71=_0x36b798;return _0x5f055e['positional']('token',{'type':'string','description':_0x276a71(0x24d)})[_0x276a71(0x2a8)](_0x276a71(0x222),{'type':_0x276a71(0x202),'description':_0x5e219f[_0x276a71(0x276)],'default':![]})['option']('scope',{'type':_0x5e219f['YczMA'],'choices':[_0x5e219f[_0x276a71(0x1ac)]],'hidden':!![],'description':_0x5e219f['afsDg']})['option'](_0x5e219f[_0x276a71(0x224)],{'type':_0x5e219f[_0x276a71(0x278)],'description':_0x5e219f[_0x276a71(0x2f8)]})['option'](_0x5e219f[_0x276a71(0x2f6)],{'type':_0x5e219f[_0x276a71(0x19d)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x5e219f['USHYY'],{'type':'boolean','description':_0x5e219f[_0x276a71(0x18c)],'default':![]})['option'](_0x276a71(0x32f),{'type':_0x276a71(0x202),'description':_0x276a71(0x1cb),'default':![]});},async _0x190342=>{const _0x900b96=_0x36b798;warnRenamed(_0x900b96(0x20b),'ranger\x20setup'),await withTelemetry(_0x5e219f['LFFos'],_0x36bc6b=>start(_0x190342['token'],{'skipChromium':_0x190342[_0x900b96(0x222)],'skipAuth':_0x190342[_0x900b96(0x2bb)],'withDeps':_0x190342['with-deps'],'scope':_0x190342[_0x900b96(0x32d)],'url':_0x190342[_0x900b96(0x2c6)],'force':_0x190342['force']},_0x36bc6b));})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x269)],![],_0xb41e25=>{const _0x3c4ec6=_0x36b798;return _0xb41e25[_0x3c4ec6(0x2a8)](_0x5e219f[_0x3c4ec6(0x2f5)],{'type':_0x3c4ec6(0x320),'description':_0x5e219f[_0x3c4ec6(0x27d)]})['option']('task',{'type':'string','description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})[_0x3c4ec6(0x2a8)](_0x5e219f[_0x3c4ec6(0x1ab)],{'type':'number','description':_0x5e219f[_0x3c4ec6(0x2ec)]})[_0x3c4ec6(0x2a8)](_0x5e219f['FaPCu'],{'type':_0x3c4ec6(0x320),'hidden':!![]})[_0x3c4ec6(0x2a8)](_0x3c4ec6(0x283),{'type':'string','hidden':!![]})['option'](_0x5e219f[_0x3c4ec6(0x2b6)],{'type':_0x3c4ec6(0x277),'hidden':!![]})['option'](_0x5e219f['XfCtP'],{'type':_0x3c4ec6(0x320),'description':_0x5e219f['FZGku']})['option'](_0x5e219f[_0x3c4ec6(0x239)],{'type':_0x3c4ec6(0x320),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x3c4ec6(0x2a8)](_0x5e219f['eWCBP'],{'type':'string','hidden':!![]})['option'](_0x3c4ec6(0x23a),{'type':_0x5e219f[_0x3c4ec6(0x19d)],'hidden':!![],'default':![]})['option'](_0x5e219f[_0x3c4ec6(0x275)],{'type':_0x3c4ec6(0x320),'hidden':!![],'choices':['verified',_0x3c4ec6(0x1f1),_0x5e219f['Cfmec'],_0x3c4ec6(0x243),_0x3c4ec6(0x2ae)]});},async _0x412238=>{await _0x5e219f['STZvW'](runGoCommand,_0x412238,!![]);})[_0x36b798(0x2a9)](_0x5e219f[_0x36b798(0x1f0)],![],_0x354384=>{const _0x2e3662=_0x36b798;return _0x354384['positional'](_0x5e219f['gkdEI'],{'type':_0x5e219f[_0x2e3662(0x278)],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x2e3662(0x2a8)]('ci',{'type':_0x5e219f['OAzZd'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x2e3662(0x2a8)]('skip-auth',{'type':_0x5e219f['OAzZd'],'description':_0x5e219f[_0x2e3662(0x2da)],'default':![]});},async _0x5bd0f7=>{const _0x553cfd=_0x36b798;warnRenamed('ranger\x20add\x20env',_0x5e219f['BKzeC']),await withTelemetry(_0x5e219f[_0x553cfd(0x2c2)],_0x4e0bc5=>addEnv(_0x5bd0f7[_0x553cfd(0x21c)],{'ci':_0x5bd0f7['ci'],'skipAuth':_0x5bd0f7['skip-auth']},_0x4e0bc5));})[_0x36b798(0x2a9)]('use\x20<env-name>',![],_0x4ae155=>{const _0x4cde14=_0x36b798;return _0x4ae155[_0x4cde14(0x22e)](_0x5e219f[_0x4cde14(0x2d4)],{'type':'string','description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x3e87de=>{const _0x360b1c=_0x36b798;_0x5e219f[_0x360b1c(0x196)](warnRenamed,_0x360b1c(0x1b8),_0x360b1c(0x1a8)),await withTelemetry('use',()=>useEnv(_0x3e87de[_0x360b1c(0x21c)]));})[_0x36b798(0x2a9)](_0x5e219f['huTFA'],![],_0xc5cd3=>{const _0x34eb97=_0x36b798,_0x308776={'pfwIl':_0x5e219f['YczMA'],'ytLUZ':_0x34eb97(0x326),'IGuOq':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','cCaNR':_0x34eb97(0x272),'YjHEP':'Config\x20value','lzync':_0x5e219f[_0x34eb97(0x2c9)],'DHvGF':function(_0x237d15,_0x52c972,_0x11edd6){const _0x3d2f53=_0x34eb97;return _0x5e219f[_0x3d2f53(0x196)](_0x237d15,_0x52c972,_0x11edd6);},'KnKkR':function(_0x2a701b,_0x8616ff,_0x492e7f){return _0x2a701b(_0x8616ff,_0x492e7f);},'ZZgIw':'config\x20unset'};return _0xc5cd3[_0x34eb97(0x2a9)]('set\x20<env>\x20<key>\x20<value>',![],_0x296fbc=>{const _0x48c720=_0x34eb97;return _0x296fbc['positional'](_0x48c720(0x27b),{'type':_0x308776[_0x48c720(0x1ea)],'description':_0x308776['ytLUZ'],'demandOption':!![]})['positional']('key',{'type':'string','description':_0x308776[_0x48c720(0x1d1)],'demandOption':!![]})['positional'](_0x308776[_0x48c720(0x2cb)],{'type':_0x308776[_0x48c720(0x1ea)],'description':_0x308776['YjHEP'],'demandOption':!![]});},async _0x4bde48=>{const _0x5e6de4=_0x34eb97;warnRenamed(_0x308776[_0x5e6de4(0x1fc)],'ranger\x20profile\x20config\x20set'),await _0x308776[_0x5e6de4(0x315)](withTelemetry,'config\x20set',()=>configSet(_0x4bde48['env'],_0x4bde48[_0x5e6de4(0x28f)],_0x4bde48['value']));})['command']('get\x20<env>\x20<key>',![],_0x117a4f=>{const _0x521b43=_0x34eb97;return _0x117a4f['positional'](_0x5e219f[_0x521b43(0x2f5)],{'type':'string','description':'Environment\x20name','demandOption':!![]})[_0x521b43(0x22e)]('key',{'type':'string','description':_0x5e219f[_0x521b43(0x2ea)],'demandOption':!![]});},async _0xbb0c7a=>{const _0x32518b=_0x34eb97;warnRenamed(_0x5e219f[_0x32518b(0x230)],_0x32518b(0x1c7)),await _0x5e219f['wvJen'](withTelemetry,_0x5e219f[_0x32518b(0x26c)],()=>configGet(_0xbb0c7a[_0x32518b(0x27b)],_0xbb0c7a[_0x32518b(0x28f)]));})['command'](_0x5e219f['ovkKi'],![],_0x322216=>{const _0x1056f5=_0x34eb97;return _0x322216[_0x1056f5(0x22e)](_0x5e219f[_0x1056f5(0x2f5)],{'type':'string','description':_0x5e219f['aGEKq'],'demandOption':!![]});},async _0x5f1041=>{warnRenamed(_0x5e219f['SXsqk'],'ranger\x20profile\x20config\x20list'),await withTelemetry('config\x20list',()=>configList(_0x5f1041['env']));})[_0x34eb97(0x2a9)](_0x34eb97(0x2ff),![],_0x5bada8=>{const _0x31a40d=_0x34eb97;return _0x5bada8['positional']('env',{'type':_0x5e219f['YczMA'],'description':_0x5e219f[_0x31a40d(0x305)],'demandOption':!![]})[_0x31a40d(0x22e)](_0x5e219f[_0x31a40d(0x24c)],{'type':'string','description':_0x5e219f[_0x31a40d(0x1c5)],'demandOption':!![]});},async _0x1c1ef2=>{const _0x149dc6=_0x34eb97;_0x308776[_0x149dc6(0x284)](warnRenamed,_0x149dc6(0x20f),_0x149dc6(0x288)),await _0x308776['KnKkR'](withTelemetry,_0x308776['ZZgIw'],()=>configUnset(_0x1c1ef2[_0x149dc6(0x27b)],_0x1c1ef2[_0x149dc6(0x28f)]));})['demandCommand'](0x1,_0x5e219f['VDAjr']);})['command']('env',![],_0x227c6c=>{const _0x51422a=_0x36b798,_0x426b53={'MkWVQ':'Name\x20of\x20the\x20environment\x20to\x20update'};return _0x227c6c['command']('ls',![],()=>{},async()=>{const _0x15fc77=_0x1b12;warnRenamed(_0x5e219f['EHzRX'],'ranger\x20profile\x20ls'),await _0x5e219f['YCMBS'](withTelemetry,_0x15fc77(0x255),()=>envList());})[_0x51422a(0x2a9)](_0x5e219f['whAwc'],![],_0x50dc4a=>{const _0x1fb2c3=_0x51422a;return _0x50dc4a['positional'](_0x1fb2c3(0x21c),{'type':_0x1fb2c3(0x320),'description':_0x426b53['MkWVQ'],'demandOption':!![]});},async _0xa6a58f=>{const _0x3d9ba2=_0x51422a;warnRenamed(_0x3d9ba2(0x198),_0x3d9ba2(0x1e5)),await _0x5e219f[_0x3d9ba2(0x1b2)](withTelemetry,'env\x20update',_0x45bd7d=>updateEnv(_0xa6a58f['env-name'],_0x45bd7d));})['demandCommand'](0x1,_0x5e219f['iLYCs']);})[_0x36b798(0x2a9)](_0x36b798(0x2d5),![],_0x3f00c2=>{const _0x43b1d4=_0x36b798,_0x3b836b={'qslRw':'current-branch','tynFc':_0x43b1d4(0x264),'cSsEU':_0x5e219f['lnyVo'],'lfTOd':_0x43b1d4(0x1a7),'jCjHe':_0x5e219f['OAzZd'],'wTxIq':_0x5e219f[_0x43b1d4(0x278)],'ehJza':function(_0xf8c4d3,_0x4169ff,_0x5d1abc){return _0xf8c4d3(_0x4169ff,_0x5d1abc);},'PVHnw':_0x5e219f['dwYJI'],'PRaji':function(_0x4b5d4a,_0x3e9ba6,_0xaf2029){return _0x4b5d4a(_0x3e9ba6,_0xaf2029);},'xCZQP':_0x43b1d4(0x30c),'FmiWS':_0x5e219f[_0x43b1d4(0x1a5)],'kimWQ':function(_0x186093,_0x58be65,_0x3ca110){return _0x5e219f['fWRHI'](_0x186093,_0x58be65,_0x3ca110);},'QlLCv':_0x5e219f['FxZru']};return _0x3f00c2['command'](_0x5e219f[_0x43b1d4(0x2a2)],![],_0xb6dbd0=>{const _0x455840=_0x43b1d4;return _0xb6dbd0[_0x455840(0x22e)](_0x455840(0x1da),{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x5e219f[_0x455840(0x322)],{'type':'string','alias':'d','description':_0x455840(0x2ba)})['option'](_0x455840(0x317),{'type':_0x5e219f[_0x455840(0x220)],'alias':'c','description':_0x5e219f[_0x455840(0x1b1)]})[_0x455840(0x2a8)](_0x5e219f['MkThN'],{'type':_0x455840(0x324),'hidden':!![]});},async _0x56edfe=>{const _0x117d3a=_0x43b1d4;_0x5e219f['kVyLC'](warnRenamed,_0x5e219f[_0x117d3a(0x280)],'ranger\x20create'),_0x5e219f[_0x117d3a(0x19c)](warnFlagRenamed,_0x5e219f['pHxbx'],'--checklist',_0x5e219f[_0x117d3a(0x173)]);const _0x469377=_0x56edfe['scenario']||_0x56edfe['checklist'];await _0x5e219f['LJkgi'](withTelemetry,_0x5e219f['VhixL'],()=>featureCreate(_0x56edfe['name'],{'description':_0x56edfe['description'],'scenarios':_0x469377}));})['command'](_0x5e219f['kYvNo'],![],_0x1c2d1e=>{const _0x3f98a7=_0x43b1d4;return _0x1c2d1e['option'](_0x3b836b['qslRw'],{'type':_0x3f98a7(0x202),'description':_0x3b836b['tynFc']})[_0x3f98a7(0x2a8)](_0x3f98a7(0x2eb),{'type':'number','alias':'l','description':_0x3f98a7(0x238),'default':0xa})[_0x3f98a7(0x2a8)](_0x3f98a7(0x28c),{'type':_0x3b836b['cSsEU'],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x3f98a7(0x2a8)](_0x3b836b[_0x3f98a7(0x217)],{'type':_0x3b836b['jCjHe'],'alias':'d','description':_0x3f98a7(0x2ee),'default':![]});},async _0x58e098=>{const _0x26305f=_0x43b1d4;_0x5e219f[_0x26305f(0x190)](warnRenamed,_0x5e219f[_0x26305f(0x267)],_0x5e219f['jxUAS']),await _0x5e219f[_0x26305f(0x2c5)](withTelemetry,_0x26305f(0x293),()=>featureList({'currentBranch':_0x58e098['current-branch'],'limit':_0x58e098[_0x26305f(0x2eb)],'offset':_0x58e098[_0x26305f(0x28c)],'includeDeleted':_0x58e098['include-deleted']}));})['command']('show\x20[id]',![],_0x37f534=>{const _0x1155f0=_0x43b1d4;return _0x37f534[_0x1155f0(0x22e)]('id',{'type':_0x3b836b['wTxIq'],'description':'Feature\x20review\x20ID'});},async _0x2d414c=>{const _0x428711=_0x43b1d4;warnRenamed(_0x5e219f['zdsgZ'],'ranger\x20show'),await _0x5e219f[_0x428711(0x301)](withTelemetry,_0x5e219f['bHVUL'],()=>featureShow(_0x2d414c['id']));})['command'](_0x5e219f['oUWvn'],![],_0xb1e8ef=>{const _0x4c989a=_0x43b1d4;return _0xb1e8ef['positional']('id',{'type':'string','description':_0x4c989a(0x236)});},async _0x5239f1=>{const _0x4b268b=_0x43b1d4;_0x3b836b['ehJza'](warnRenamed,'ranger\x20feature\x20resume',_0x3b836b[_0x4b268b(0x1ad)]),await withTelemetry('feature\x20resume',()=>featureResume(_0x5239f1['id']));})['command'](_0x43b1d4(0x251),![],_0x8b81f9=>{const _0x146346=_0x43b1d4;return _0x8b81f9[_0x146346(0x22e)](_0x5e219f[_0x146346(0x322)],{'type':_0x146346(0x320),'description':_0x146346(0x197),'demandOption':!![]})['option']('id',{'type':_0x5e219f['YczMA'],'description':_0x146346(0x1fb)});},async _0x3e2e55=>{const _0x39e13b=_0x43b1d4;_0x3b836b['ehJza'](warnRenamed,_0x39e13b(0x303),_0x39e13b(0x193)),await _0x3b836b[_0x39e13b(0x282)](withTelemetry,_0x3b836b['xCZQP'],()=>featureAddScenario(_0x3e2e55['description'],_0x3e2e55['id']));})[_0x43b1d4(0x2a9)](_0x5e219f['XJqbb'],![],_0x21f954=>{const _0xd863c4=_0x43b1d4;return _0x21f954['positional']('id',{'type':_0x3b836b[_0xd863c4(0x191)],'description':_0x3b836b['FmiWS']});},async _0x4d2a08=>{const _0xe158ad=_0x43b1d4;_0x5e219f[_0xe158ad(0x210)](warnRenamed,_0xe158ad(0x225),_0xe158ad(0x208)),await withTelemetry(_0x5e219f['PcfQr'],()=>featureGetReview(_0x4d2a08['id']));})[_0x43b1d4(0x2a9)](_0x43b1d4(0x23d),![],_0x348925=>{return _0x348925['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x2b7dec=>{const _0x2a6c22=_0x43b1d4;_0x3b836b['kimWQ'](warnRenamed,_0x2a6c22(0x299),_0x3b836b['QlLCv']),await _0x3b836b[_0x2a6c22(0x282)](withTelemetry,'feature\x20delete',()=>featureDelete(_0x2b7dec['id']));})[_0x43b1d4(0x2a9)]('restore\x20<id>',![],_0x3c82cf=>{const _0xf1555c=_0x43b1d4;return _0x3c82cf['positional']('id',{'type':_0x5e219f['YczMA'],'description':_0xf1555c(0x200),'demandOption':!![]});},async _0x549666=>{const _0x23424a=_0x43b1d4;_0x3b836b[_0x23424a(0x263)](warnRenamed,_0x23424a(0x24f),_0x23424a(0x297)),await withTelemetry(_0x23424a(0x287),()=>featureRestore(_0x549666['id']));})[_0x43b1d4(0x2a4)](0x1,_0x43b1d4(0x2d2));})[_0x36b798(0x2a9)](_0x5e219f['FTwxK'],![],_0x211a4c=>{const _0xe9aa5b=_0x36b798,_0x35308a={'ktRVU':_0xe9aa5b(0x320),'kbCnB':'session-id','WEYoE':_0xe9aa5b(0x23b)};return _0x211a4c['command'](_0xe9aa5b(0x216),_0x5e219f['IWJnd'],_0x58be9d=>{const _0x3df774=_0xe9aa5b;return _0x58be9d['option'](_0x3df774(0x2ed),{'type':_0x35308a[_0x3df774(0x307)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x18b2da=>{const _0x3a62a5=_0xe9aa5b;await _0x5e219f['STZvW'](withTelemetry,_0x5e219f['TWZqO'],()=>hook(_0x3a62a5(0x216),_0x18b2da[_0x3a62a5(0x2ed)]));})['command'](_0x5e219f[_0xe9aa5b(0x183)],_0x5e219f[_0xe9aa5b(0x1b7)],_0x364a4c=>{const _0x3cf1d5=_0xe9aa5b;return _0x364a4c[_0x3cf1d5(0x2a8)](_0x35308a[_0x3cf1d5(0x327)],{'type':_0x35308a[_0x3cf1d5(0x307)],'description':_0x35308a['WEYoE']});},async _0x100566=>{const _0x1600e7=_0xe9aa5b;await _0x5e219f[_0x1600e7(0x201)](withTelemetry,_0x5e219f['rCXxL'],()=>hook(_0x1600e7(0x1d9),_0x100566[_0x1600e7(0x2ed)]));})[_0xe9aa5b(0x2a8)](_0x5e219f['bBwUj'],{'type':'string','description':_0xe9aa5b(0x209)})['option'](_0xe9aa5b(0x2ed),{'type':_0xe9aa5b(0x320),'description':_0x5e219f['LrDKm']});},async _0x488672=>{const _0xc5153f=_0x36b798;_0x488672['name']&&await hook(_0x488672[_0xc5153f(0x1da)],_0x488672[_0x5e219f['OpgjA']]);})[_0x36b798(0x2a4)](0x1,'You\x20must\x20specify\x20a\x20command')[_0x36b798(0x1a6)]()['fail'](async(_0x2faa24,_0x33963e,_0x6b9ea0)=>{const _0x387141=_0x36b798,_0x5a4f9a=_0x5e219f[_0x387141(0x204)](sanitizeArgs,process['argv'][_0x387141(0x2be)](0x2)),_0x425f2e=_0x5e219f[_0x387141(0x29b)](getErrorType,_0x2faa24,_0x33963e);if(_0x2faa24&&_0x2faa24[_0x387141(0x1c0)](_0x5e219f[_0x387141(0x2fe)])){const _0x292a02=process[_0x387141(0x273)][0x2];console[_0x387141(0x313)]('\x0aUnknown\x20command:\x20'+_0x292a02),console[_0x387141(0x313)](_0x387141(0x1a9));}else{if(_0x2faa24)console[_0x387141(0x313)]('\x0a'+_0x2faa24+'\x0a');else _0x33963e&&console['error']('\x0aError:\x20'+_0x33963e['message']+'\x0a');}await _0x5e219f['JpFKe'](logDesirePath,{'rawCommand':_0x5a4f9a,'errorMessage':_0x2faa24||_0x33963e?.['message'],'errorType':_0x425f2e});const _0x11755f=_0x5e219f[_0x387141(0x316)](getCurrentCollector);_0x11755f&&await _0x11755f[_0x387141(0x175)](_0x33963e||new Error(_0x2faa24||'Unknown\x20error')),process[_0x387141(0x20d)](0x1);})[_0x36b798(0x21b)](_0x5e219f[_0x36b798(0x304)](_0x5e219f['maShS'],_0x36b798(0x2a7))+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')['help']()[_0x36b798(0x311)](_0x36b798(0x1ba),'h');}process['env'][_0x1d089a(0x2aa)]!==_0x1d089a(0x289)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|
|
2
|
+
const _0x5a03f7=_0x39f4;(function(_0x3ac62f,_0x458241){const _0x22563f=_0x39f4,_0x18ccfb=_0x3ac62f();while(!![]){try{const _0x5d6bd8=-parseInt(_0x22563f(0x2cf))/0x1*(parseInt(_0x22563f(0x2a6))/0x2)+parseInt(_0x22563f(0x13a))/0x3*(-parseInt(_0x22563f(0x1e6))/0x4)+-parseInt(_0x22563f(0x277))/0x5+-parseInt(_0x22563f(0x2b4))/0x6*(parseInt(_0x22563f(0x27d))/0x7)+parseInt(_0x22563f(0x1bf))/0x8*(parseInt(_0x22563f(0x2a0))/0x9)+parseInt(_0x22563f(0x2dd))/0xa+-parseInt(_0x22563f(0x299))/0xb*(-parseInt(_0x22563f(0x254))/0xc);if(_0x5d6bd8===_0x458241)break;else _0x18ccfb['push'](_0x18ccfb['shift']());}catch(_0x231d19){_0x18ccfb['push'](_0x18ccfb['shift']());}}}(_0x134f,0xa2fb2));import _0x5dfa3e from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x5b86b9=_0x39f4,_0xb4d926={'BxbSl':function(_0x4f9b07,_0xd5b0){return _0x4f9b07(_0xd5b0);},'WgStA':function(_0x2fca13,_0x2f4d47){return _0x2fca13!==_0x2f4d47;},'nGajo':function(_0x7396d2,_0x6bf8e9,_0x1b238d){return _0x7396d2(_0x6bf8e9,_0x1b238d);},'sziMa':_0x5b86b9(0x2d9)};let _0x3c8ca6=process['cwd']();const _0x4c8c13=_0xb4d926['BxbSl'](parse,_0x3c8ca6)[_0x5b86b9(0x127)];while(_0xb4d926['WgStA'](_0x3c8ca6,_0x4c8c13)){if(existsSync(_0xb4d926['nGajo'](join,_0x3c8ca6,_0x5b86b9(0x249)))||_0xb4d926['BxbSl'](existsSync,join(_0x3c8ca6,_0xb4d926['sziMa'])))return _0x3c8ca6;_0x3c8ca6=_0xb4d926[_0x5b86b9(0x286)](dirname,_0x3c8ca6);}return process['cwd']();}_0x5dfa3e['config']({'path':join(findProjectRoot(),_0x5a03f7(0x2d9))});import _0x599020 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';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'](_0x5a03f7(0x2a4),async _0x52e23e=>{const _0x501718=getCurrentCollector();_0x501718&&await _0x501718['trackCommandError'](_0x52e23e),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=_0x5a03f7(0x2d7),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x1bed24,_0xfdb99){const _0x4dd663=_0x5a03f7;console[_0x4dd663(0x240)]('\x0a'+_0x1bed24+'\x20is\x20now\x20'+_0xfdb99+'\x0a');}function _0x39f4(_0x42fe8e,_0x4426ef){_0x42fe8e=_0x42fe8e-0x11f;const _0x134f9a=_0x134f();let _0x39f457=_0x134f9a[_0x42fe8e];return _0x39f457;}function argUsed(_0x5bf85a){const _0x204b58=_0x5a03f7;return rawArgs['some'](_0x5b5523=>_0x5b5523===_0x5bf85a||_0x5b5523[_0x204b58(0x1fa)](_0x5bf85a+'='));}function warnFlagRenamed(_0x4b0999,_0x566e7f,_0x2cfe45){const _0x5de131={'CcTPt':function(_0x1971cb,_0x4cb88c){return _0x1971cb(_0x4cb88c);},'nTzQI':function(_0x2c8b47,_0x31b79b,_0x35fb86){return _0x2c8b47(_0x31b79b,_0x35fb86);}};_0x5de131['CcTPt'](argUsed,_0x566e7f)&&_0x5de131['nTzQI'](warnRenamed,_0x4b0999+'\x20'+_0x566e7f,_0x4b0999+'\x20'+_0x2cfe45);}async function runGoCommand(_0x21ad94,_0x3831ba=![]){const _0x34f84d=_0x5a03f7,_0x3b2ace={'MpRBK':function(_0x1782e1,_0x1db27a){return _0x1782e1+_0x1db27a;},'nWqBh':function(_0x54ebc9,_0x175157,_0x538117){return _0x54ebc9(_0x175157,_0x538117);},'VSmcM':_0x34f84d(0x2d0),'gourW':function(_0x3fd82c,_0x3d4e7f,_0x25b5d1,_0x1735fc){return _0x3fd82c(_0x3d4e7f,_0x25b5d1,_0x1735fc);},'HbvpO':_0x34f84d(0x296),'NwsmW':'--item','RhNrn':function(_0x11778d){return _0x11778d();},'zcXKG':function(_0xa6dc48,_0x84d887){return _0xa6dc48(_0x84d887);},'CsYvN':_0x34f84d(0x1dd),'IGFqe':_0x34f84d(0x2d5),'HAtVM':_0x34f84d(0x1c1),'pQdZa':'\x20PARTIAL','FWzPt':'blocked','Goohv':_0x34f84d(0x17e),'mhIoW':_0x34f84d(0x1f9),'ZExiD':_0x34f84d(0x211)};_0x3831ba&&_0x3b2ace[_0x34f84d(0x1e8)](warnRenamed,'ranger\x20verify-feature',_0x3b2ace[_0x34f84d(0x25f)]);_0x3b2ace[_0x34f84d(0x204)](warnFlagRenamed,_0x34f84d(0x2d0),_0x34f84d(0x1c6),_0x3b2ace[_0x34f84d(0x201)]),warnFlagRenamed('ranger\x20go','--task','--notes'),warnFlagRenamed('ranger\x20go',_0x3b2ace[_0x34f84d(0x221)],_0x34f84d(0x1f6));const _0x377883=await loadRangerConfig(),_0x4fd64c=_0x3b2ace[_0x34f84d(0x28b)](isByokEnabled),_0x1ec6f4=_0x21ad94['model'],_0x1c6f93=_0x377883['model'],_0x405f1f=await _0x3b2ace[_0x34f84d(0x267)](verifyFeature,{'featureId':_0x21ad94[_0x34f84d(0x1ec)],'profile':_0x21ad94[_0x34f84d(0x1fc)]??_0x21ad94['env']??process['env'][_0x34f84d(0x19d)],'notes':_0x21ad94[_0x34f84d(0x152)]??_0x21ad94['task'],'scenario':_0x21ad94['scenario']??_0x21ad94['item'],'startPath':_0x21ad94[_0x3b2ace['CsYvN']],'baseUrl':_0x21ad94['base-url'],'debugOutcome':_0x21ad94[_0x3b2ace[_0x34f84d(0x2d3)]],'debugAddressComments':_0x21ad94['debug-address-comments'],'headed':_0x21ad94['headed'],'byokEnabled':_0x4fd64c,'flagVerifyModel':_0x1ec6f4,'configVerifyModel':_0x1c6f93});console[_0x34f84d(0x1a2)](_0x3b2ace['MpRBK']('\x0a','='['repeat'](0x3c))),console['log'](_0x405f1f[_0x34f84d(0x1d5)]===_0x34f84d(0x211)?_0x3b2ace[_0x34f84d(0x272)]:_0x405f1f[_0x34f84d(0x1d5)]==='incomplete'?'\x20INCOMPLETE':_0x405f1f[_0x34f84d(0x1d5)]===_0x34f84d(0x11f)?_0x3b2ace['pQdZa']:_0x405f1f['evaluation']===_0x3b2ace[_0x34f84d(0x2a9)]?_0x3b2ace['Goohv']:_0x34f84d(0x1ad)),console[_0x34f84d(0x1a2)]('='['repeat'](0x3c)),console[_0x34f84d(0x1a2)](_0x34f84d(0x26d)+_0x405f1f['summary']),console[_0x34f84d(0x1a2)]('Evaluation:\x20'+_0x405f1f['evaluation']),console[_0x34f84d(0x1a2)]('Reason:\x20'+_0x405f1f['evaluationReason']),_0x405f1f['issues']?.[_0x34f84d(0x2bc)]&&(console[_0x34f84d(0x1a2)](_0x3b2ace[_0x34f84d(0x2e5)]),_0x405f1f['issues']['forEach']((_0x5507e0,_0x49e1aa)=>{const _0x447e55=_0x34f84d;console[_0x447e55(0x1a2)]('\x0a'+_0x3b2ace['MpRBK'](_0x49e1aa,0x1)+'.\x20['+_0x5507e0[_0x447e55(0x1e2)]+']\x20'+_0x5507e0[_0x447e55(0x2b5)]);})),process['exit'](_0x405f1f[_0x34f84d(0x1d5)]===_0x3b2ace[_0x34f84d(0x2d1)]?0x0:0x1);}function _0x134f(){const _0x1f2188=['demandCommand','ranger\x20feature\x20add-checklist-item','XWPvY','log','UDwto','exit','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','WQzxF','JDFzw','RYYuL','hUJxH','skip-chromium','vUIIJ','setup-header','\x20FAILED','HAOfl','boolean','Install\x20Chromium\x20browser\x20binary','nJFhN','Feature\x20review\x20description','fkWPr','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','Name\x20of\x20the\x20environment\x20to\x20update','profiles','yNTCw','\x0aError:\x20','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','gmKHr','Switch\x20to\x20using\x20a\x20specific\x20profile','Kvyzj','Yiwct','JprWD','7898216iaXfgE','Skip\x20authentication','\x20VERIFIED','yes','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','--env','exclude-scenario','zNhUu','wYItk','Manage\x20profile\x20configuration','ranger\x20show','API\x20token','YCliw','not_configured','oJQEK','VEAQe','FnfSo','LYThJ','wzAtA','MqgRd','evaluation','DiPoY','Install\x20OS-level\x20dependencies\x20for\x20Chromium','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','List\x20all\x20profiles','iBbhD','feature\x20create','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','start-path','LEMIg','hciAb','MfRtv','CxFAr','severity','usage','SLPWN','pOHpW','4dUlaZi','lPKwU','nWqBh','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','save-creds','feature','SyEuL','yeSow','profile\x20migrate','edit-scenario\x20<description>','eSNRO','kxqzf','List\x20all\x20feature\x20reviews','Feature\x20review\x20ID','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','--scenario','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','incomplete','\x0aIssues:','startsWith','model','profile','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','dwkdS','PvXTh','aaNIU','HbvpO','ZPGek','start','gourW','emgZl','edit-scenario','with-deps','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','Onifs','claude','setup:profiles','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','scenario','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','YYwFx','verified','Scenario\x20index\x20(1-based)','Muthr','debug-address-comments','ranger\x20profile\x20config\x20unset','profile-name','cdp-endpoint','oPBxh','ranger\x20delete','Scenario\x20description','ALhuB','HsKCK','wVUpS','feature\x20restore','New\x20scenario\x20description','enable','NwsmW','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.','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','YLhfO','profile\x20config\x20get','pohLH','USBTX','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Restore\x20a\x20soft-deleted\x20feature\x20review','env','dry-run','WECdx','\x20is\x20no\x20longer\x20supported.\x20','LIGWr','sBpfl','OKBzd','UfsGg','yCDqZ','option','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','SyHVL','IPTNF','ranger\x20config\x20unset','Oyukb','tWNDI','Skip\x20interactive\x20confirmation\x20prompts.','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','env\x20list','bmxIj','VxSyW','error','jvqXx','Name\x20of\x20the\x20environment','all','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','icPfw','nyGIj','fail','set\x20<env>\x20<key>\x20<value>','.ranger','help','Remove\x20a\x20config\x20value','oYysR','MwGey','setup:deps','Name\x20of\x20the\x20profile','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','Nhlex','ranger\x20start','Skip\x20browser\x20authentication','11682612YzqvxX','json','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','setup-ci','nFaJP','ranger\x20profile\x20ls','MgKfL','ranger','key','KxHDP','VSmcM','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Feature\x20review\x20ID\x20to\x20restore','user','opencode','ranger\x20feature\x20delete','Environment\x20name','tudNo','zcXKG','UuByw','tJQCU','alpVT','You\x20must\x20specify\x20an\x20auth\x20subcommand','feature\x20resume','Summary:\x20','env\x20update','setup:all','delete\x20[id]','XqWoS','HAtVM','Ranger\x20API\x20token','add-scenario\x20<description>','task','FebNb','6404605rfSnef','fugMf','list\x20<env>','Set\x20a\x20config\x20value','gstFL','env-name','3227XAzKSa','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','url','zdUEq','get\x20<env>\x20<key>','alias','WiWIk','safe-mode','message','BxbSl','WtZpO','dUAnE','ranger\x20auth\x20encrypt','NgGit','RhNrn','xTWau','You\x20must\x20specify\x20a\x20config\x20subcommand','IlpvI','ranger\x20get-review','tokenOrSubcommand','DhGcw','BBLgb','config\x20get','Authenticate\x20via\x20MCP\x20proxy','ranger\x20add-scenario','--profile','HgjzW','TMVzS','11VUMHWl','nAtDV','Alias\x20for\x20--mcp-bootstrap','FQbAj','ldXkx','kLGiC','trackCommandError','9pUlTCP','mcp','include-deleted','ranger\x20add\x20env','unhandledRejection','--checklist','27388RKJVHM','oDzsf','CYgDb','FWzPt','setup:login','setup\x20[tokenOrSubcommand]','dIJDN','scope','disable','Config\x20key','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','tgyAX','test_output','Install\x20Ranger\x20skills','8628leAWQT','description','Install\x20scope\x20for\x20plugin\x20and\x20skills','gvlZK','koxQh','ranger\x20profile\x20add','ranger\x20feature\x20restore','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','length','OdKRZ','rEttZ','feature\x20delete','nKKHW','hook','update\x20<env-name>','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','profile\x20use','limit','xhRcQ','xbKNW','KJEib','skip-auth','parse','strictCommands','SAkeo','KteqH','XVNWB','1ncQYwD','ranger\x20go','ZExiD','ZHqIK','IGFqe','login\x20<name>','debug-outcome','IZVLg','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aDeprecated\x20(exit\x201\x20with\x20a\x20redirect\x20message):\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20→\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20to\x20refresh\x20auth\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20→\x20no\x20longer\x20needed;\x20Ranger\x20manages\x20session\x20state\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20→\x20run\x20`ranger\x20profile\x20add\x20<name>`;\x20old\x20dirs\x20stay\x20readable\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','.env','VpLiF','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','scriptName','8826640EoHvzI','profile\x20config\x20list','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','SzMNY','argv','wKoTz','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','restore','mhIoW','string','Set\x20up\x20a\x20local\x20browser\x20profile','profile\x20config\x20set','FeFqP','acygk','✓\x20Authenticated\x20to\x20','includes','qpZMg','MTixL','project','Dqxek','offset','partial','success','ranger\x20feature\x20create','XBPCH','session-id','trapV','positional','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','root','EuGyW','nVexi','RANGER_TEST_PASSWORD','Run\x20full\x20interactive\x20setup','token','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','lwHaj','failed','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','ogGnb','epilogue','Htstm','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','SFxGH','UfUxz','hook:disable','jMPOE','Feature\x20review\x20name','655167koOFtd','name','login','current-branch','config','add-scenario','PCOIR','report','DwYLM','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','base-url','dqofJ','oHUPM','mcp-bootstrap','get-feedback\x20[id]','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','ranger\x20create','config\x20set','allow-insecure-localhost','PHrRI','OeUXt','giQCn','YQQEi','notes','nnJDl','oUqVl','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','bmGzi','Manage\x20profiles','uQKOG','GcNRM','ykWaJ','WPNag','force','Authenticate\x20with\x20Ranger','blocked','get-review\x20[id]','ecHZE','zEvNy','lzQKp','PSdKG','ranger\x20setup\x20profiles\x20--scope=','profile\x20add','number','BSEsq','kPysQ','RegqQ','skillup','value','QBEAZ','bDlBF','nCVGm','zUngQ','list','Optional\x20feature\x20ID','qlFqh','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','VbSUP','NqWUb','Profile\x20name','vvuzG','status','DpXVY','setup:skills','jkHej','kgSqr','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','\x20BLOCKED','btcBp','PzvHq','DMbOH','sSLks','aVmKJ','wZxeA','gDOmE','yIpLQ','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','xqWqd','organizationName','ZljRI','array','feature\x20list','oLPWv','duInJ','create\x20<name>','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','command','DVrnr','ranger\x20resume','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','vbWEv','aJktk','Install\x20scope\x20for\x20skills','iHMaF','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','mBwVh','Khmcg','NBNBF','RANGER_PROFILE','sKVAT'];_0x134f=function(){return _0x1f2188;};return _0x134f();}export function buildParser(_0x3e85c1){const _0x5373b0=_0x5a03f7,_0x20aebf={'zdUEq':'string','YtLzs':'Feature\x20review\x20name','CYgDb':'Feature\x20review\x20description','xTWau':_0x5373b0(0x20e),'lGwTJ':_0x5373b0(0x1d8),'lqZwB':_0x5373b0(0x14a),'BSEsq':function(_0x52fcff,_0x2caca7,_0x49299f,_0x5bd05e){return _0x52fcff(_0x2caca7,_0x49299f,_0x5bd05e);},'VEAQe':_0x5373b0(0x14b),'tgyAX':function(_0x53f136,_0xe6e0d2,_0x131270){return _0x53f136(_0xe6e0d2,_0x131270);},'WiWIk':'create','yNTCw':'boolean','KLwmk':_0x5373b0(0x2c5),'VpLiF':_0x5373b0(0x1a5),'kOWSA':'offset','gJnlw':'Number\x20of\x20feature\x20reviews\x20to\x20skip','vbWEv':'include-deleted','MwBlI':'show','kgSqr':_0x5373b0(0x130),'rRvXf':'resume','VxSyW':_0x5373b0(0x21a),'iMuKT':function(_0x264975,_0x31c548,_0xbf86e3){return _0x264975(_0x31c548,_0xbf86e3);},'PJQDN':_0x5373b0(0x13f),'PvXTh':_0x5373b0(0x2b5),'DpXVY':_0x5373b0(0x21f),'koxQh':_0x5373b0(0x166),'Nhlex':'Scenario\x20number\x20to\x20edit\x20(1-based)','nnJDl':_0x5373b0(0x199),'XifcR':_0x5373b0(0x206),'trapV':'Feature\x20review\x20ID','ihjSD':'exclude-scenario','aJktk':_0x5373b0(0x18b),'Muthr':'json','wZxeA':function(_0x3035dd,_0x5efe2c,_0x468634){return _0x3035dd(_0x5efe2c,_0x468634);},'HgjzW':function(_0x3ecbba,_0x495e1c,_0x451b72){return _0x3ecbba(_0x495e1c,_0x451b72);},'fvYLQ':'get-review','KteqH':'delete','sKVAT':'with-deps','dLxjp':'scope','ykWaJ':_0x5373b0(0x2b6),'FeFqP':'opencode','xhRcQ':_0x5373b0(0x27e),'IPTNF':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','gvlZK':_0x5373b0(0x253),'oYysR':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','uduXk':_0x5373b0(0x2c9),'jMPOE':_0x5373b0(0x1c5),'UfsGg':_0x5373b0(0x29b),'KBstn':_0x5373b0(0x24e),'gAznW':_0x5373b0(0x2a1),'hKfmH':_0x5373b0(0x294),'ybBxB':_0x5373b0(0x25c),'pohLH':function(_0x4aec1e,_0x4c8695){return _0x4aec1e!==_0x4c8695;},'LYThJ':_0x5373b0(0x290),'XlONZ':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','tJQCU':_0x5373b0(0x12b),'duInJ':'deps','ldXkx':'skills','zbPtE':'profiles','PzvHq':_0x5373b0(0x1aa),'TMVzS':_0x5373b0(0x262),'PHrRI':_0x5373b0(0x228),'DNgsv':_0x5373b0(0x1f7),'qSxRm':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','DiPoY':_0x5373b0(0x2e3),'yeSow':'token','lekQJ':_0x5373b0(0x1cc),'USBTX':'mcp-bootstrap','lzQKp':function(_0x548a4d,_0xf37364,_0x36a852){return _0x548a4d(_0xf37364,_0x36a852);},'Htstm':function(_0xf4f4c7,_0x241355,_0x4f0720){return _0xf4f4c7(_0x241355,_0x4f0720);},'oNVej':_0x5373b0(0x273),'bYzOk':'base-url','daESz':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','emgZl':'Skip\x20Chromium\x20browser\x20installation','wKoTz':_0x5373b0(0x258),'Kvyzj':'Install\x20skills\x20for\x20OpenCode','ogGnb':'project','dwkdS':_0x5373b0(0x197),'FebNb':function(_0x30beeb,_0x19cb15){return _0x30beeb(_0x19cb15);},'xqWqd':function(_0x268a3e,_0x56f3b5,_0x1a28b6){return _0x268a3e(_0x56f3b5,_0x1a28b6);},'IAQoJ':'clean','FQbAj':_0x5373b0(0x12d),'tjLRI':_0x5373b0(0x257),'WsyYz':_0x5373b0(0x15c),'ecHZE':_0x5373b0(0x217),'mLDrs':_0x5373b0(0x235),'iYFrb':'setup-header','GlOvm':_0x5373b0(0x2bb),'rYKoK':_0x5373b0(0x2c4),'NgGit':function(_0x53c913,_0x116f0e,_0x237f86){return _0x53c913(_0x116f0e,_0x237f86);},'DKiIG':'profile\x20ls','oZNyv':_0x5373b0(0x216),'oPBxh':function(_0x4cb1c7,_0x135b52,_0x5f34a7){return _0x4cb1c7(_0x135b52,_0x5f34a7);},'BESQl':'profile\x20update','VbSUP':_0x5373b0(0x13b),'XWPvY':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','wpDbu':'yes','ZljRI':_0x5373b0(0x23b),'DhGcw':_0x5373b0(0x25d),'qkLDm':'Config\x20value','sBpfl':'Profile\x20name','oLoSf':'set\x20<profile>\x20<key>\x20<value>','BBLgb':'get\x20<profile>\x20<key>','QBEAZ':'Get\x20a\x20config\x20value','DFtLS':'list\x20<profile>','voQpq':'List\x20all\x20config\x20for\x20a\x20profile','YLhfO':'unset\x20<profile>\x20<key>','IZVLg':_0x5373b0(0x24b),'IrfXq':'reset\x20<profile>','ALhuB':_0x5373b0(0x208),'lwHaj':function(_0x23bfce,_0x2143c8,_0x26db49){return _0x23bfce(_0x2143c8,_0x26db49);},'FzHvM':function(_0x13ed65,_0x1dcff6){return _0x13ed65===_0x1dcff6;},'DMbOH':_0x5373b0(0x1b4),'pubSU':'profile\x20login','YCliw':_0x5373b0(0x2e8),'JPCLI':_0x5373b0(0x1c4),'acygk':'Update\x20authentication\x20for\x20an\x20existing\x20profile','PuziH':_0x5373b0(0x2d4),'mrdAT':'migrate\x20[profile-name]','GRvbg':'Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','aNmmj':_0x5373b0(0x13e),'MfRtv':_0x5373b0(0x1ca),'HAOfl':'update','giQCn':_0x5373b0(0x1ec),'ARXJE':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','WtZpO':_0x5373b0(0x212),'JDFzw':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','vvuzG':'headed','QatHJ':_0x5373b0(0x2b0),'iBbhD':'verified','tudNo':_0x5373b0(0x11f),'aVmKJ':_0x5373b0(0x15e),'bmxIj':_0x5373b0(0x214),'tdgHC':function(_0x3faa8a,_0x565ecf){return _0x3faa8a(_0x565ecf);},'iHMaF':_0x5373b0(0x1fc),'OKBzd':function(_0x271360,_0x228fd1,_0xc21a43){return _0x271360(_0x228fd1,_0xc21a43);},'xGirj':'ranger\x20profile\x20encrypt-auth','MgKfL':_0x5373b0(0x26b),'dPRxs':_0x5373b0(0x1e9),'xfTdN':'url','Ckata':'Skip\x20authentication','ZPGek':_0x5373b0(0x1d7),'SFxGH':_0x5373b0(0x252),'sSLks':_0x5373b0(0x203),'zEvNy':'env','LIGWr':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','wOsbj':'notes','qlFqh':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','xbKNW':'model','LEMIg':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','HsKCK':_0x5373b0(0x2a3),'TYlBi':'ranger\x20use','UaDKI':'use','EdKYp':'Environment\x20name','fiCrb':_0x5373b0(0x2db),'jvqXx':_0x5373b0(0x2af),'RYYuL':function(_0x33dd85,_0x2cdb8d,_0x22f5b9){return _0x33dd85(_0x2cdb8d,_0x22f5b9);},'QmBEP':'config\x20unset','nFaJP':function(_0x139023,_0x5f08af,_0x57df5e){return _0x139023(_0x5f08af,_0x57df5e);},'KxHDP':_0x5373b0(0x14c),'BuptZ':_0x5373b0(0x248),'dqbGc':_0x5373b0(0x281),'Dqxek':_0x5373b0(0x279),'Yiwct':_0x5373b0(0x28d),'mFdRl':_0x5373b0(0x23d),'HMihp':_0x5373b0(0x27c),'meEYI':_0x5373b0(0x1b5),'xaotv':'ranger\x20env\x20update','TnFVN':'You\x20must\x20specify\x20an\x20env\x20subcommand','vUIIJ':function(_0x331ac8,_0x27d584,_0x2d5b9a){return _0x331ac8(_0x27d584,_0x2d5b9a);},'oJQEK':_0x5373b0(0x121),'dUAnE':_0x5373b0(0x2a5),'nJFhN':_0x5373b0(0x1db),'NBNBF':function(_0x58646b,_0x39f508,_0x581f31){return _0x58646b(_0x39f508,_0x581f31);},'EVaWv':'ranger\x20feature\x20list','Ienra':_0x5373b0(0x18c),'WRUFq':function(_0x54063f,_0x26e6c1,_0x5cd992){return _0x54063f(_0x26e6c1,_0x5cd992);},'IKMXX':'ranger\x20feature\x20resume','GcNRM':_0x5373b0(0x26c),'MTixL':_0x5373b0(0x1a0),'nyGIj':_0x5373b0(0x295),'nCVGm':_0x5373b0(0x261),'PCOIR':'ranger\x20restore','hciAb':function(_0x5e4f62,_0x5b055d,_0x40bf20){return _0x5e4f62(_0x5b055d,_0x40bf20);},'hUJxH':_0x5373b0(0x21e),'aaNIU':'checklist','hoHfh':function(_0x577866,_0x1937b1,_0x3085b2){return _0x577866(_0x1937b1,_0x3085b2);},'gstFL':'ranger\x20feature\x20get-feedback','oDzsf':_0x5373b0(0x264),'AjWiJ':_0x5373b0(0x219),'gmKHr':_0x5373b0(0x18f),'SzMNY':_0x5373b0(0x149),'eSNRO':'restore\x20<id>','rlarx':'hook:enable','dqofJ':_0x5373b0(0x137),'Onifs':_0x5373b0(0x2df),'KJEib':_0x5373b0(0x2ae),'NeVYg':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','nVexi':_0x5373b0(0x155),'JprWD':_0x5373b0(0x123),'EtVwM':function(_0x342645,_0x56fdc3){return _0x342645(_0x56fdc3);},'nKKHW':function(_0x332060){return _0x332060();},'UfUxz':function(_0x122667,_0x48637c){return _0x122667||_0x48637c;},'PSdKG':'Unknown\x20error','jUyQf':_0x5373b0(0x1b9),'pjwtr':_0x5373b0(0x1f3),'zSoIK':'show\x20[id]','ZHqIK':_0x5373b0(0x143),'ykmDN':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','EuGyW':_0x5373b0(0x1f0),'fugMf':_0x5373b0(0x270),'eYsFe':_0x5373b0(0x126),'EInjE':'Initialize\x20Ranger\x20in\x20your\x20project','bmGzi':'setup-ci\x20<token>','kSVTJ':_0x5373b0(0x234),'WECdx':_0x5373b0(0x16a),'SyEuL':_0x5373b0(0x178),'lybfq':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','UjaSe':'Print\x20the\x20current\x20CLI\x20access\x20token','rEttZ':'verify-feature','zUngQ':'You\x20must\x20specify\x20a\x20command','qTJQs':function(_0x529fc4,_0x2321b3){return _0x529fc4+_0x2321b3;},'SyHVL':'\x20\x20https://docs.ranger.net\x0a','DwYLM':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','MwGey':_0x5373b0(0x24a)};return _0x599020(_0x3e85c1??process['argv']['slice'](0x2))[_0x5373b0(0x2dc)]('ranger')['usage'](TOP_LEVEL_HELP)['version'](_0x20aebf[_0x5373b0(0x2c0)](getCurrentVersion))['command']('create\x20<name>',_0x20aebf['jUyQf'],_0x2e052d=>{const _0x1476e4=_0x5373b0;return _0x2e052d['positional']('name',{'type':_0x20aebf[_0x1476e4(0x280)],'description':_0x20aebf['YtLzs'],'demandOption':!![]})[_0x1476e4(0x233)]('description',{'type':_0x20aebf[_0x1476e4(0x280)],'alias':'d','description':_0x20aebf[_0x1476e4(0x2a8)]})[_0x1476e4(0x233)](_0x20aebf[_0x1476e4(0x28c)],{'type':'array','alias':'c','description':_0x20aebf['lGwTJ']})[_0x1476e4(0x233)]('checklist',{'type':'array','hidden':!![]});},async _0x3ae4b1=>{const _0x4376dc=_0x5373b0;if(!_0x3ae4b1[_0x4376dc(0x13b)]){console[_0x4376dc(0x240)](_0x20aebf['lqZwB']+'Example:\x20ranger\x20create\x20my-feature'),process['exit'](0x1);return;}_0x20aebf[_0x4376dc(0x167)](warnFlagRenamed,_0x20aebf['VEAQe'],_0x4376dc(0x2a5),_0x4376dc(0x1f6));const _0x49081a=_0x3ae4b1[_0x4376dc(0x20e)]||_0x3ae4b1['checklist'];await _0x20aebf[_0x4376dc(0x2b1)](withTelemetry,_0x20aebf[_0x4376dc(0x283)],()=>featureCreate(_0x3ae4b1[_0x4376dc(0x13b)],{'description':_0x3ae4b1['description'],'scenarios':_0x49081a}));})[_0x5373b0(0x191)](_0x5373b0(0x170),_0x20aebf['pjwtr'],_0xbae03c=>{const _0x1a5497=_0x5373b0;return _0xbae03c[_0x1a5497(0x233)](_0x1a5497(0x13d),{'type':_0x20aebf['yNTCw'],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x20aebf['KLwmk'],{'type':'number','alias':'l','description':_0x20aebf[_0x1a5497(0x2da)],'default':0xa})['option'](_0x20aebf['kOWSA'],{'type':_0x1a5497(0x166),'alias':'o','description':_0x20aebf['gJnlw'],'default':0x0})[_0x1a5497(0x233)](_0x20aebf[_0x1a5497(0x195)],{'type':_0x20aebf[_0x1a5497(0x1b7)],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x444844=>{const _0x38327f=_0x5373b0;await withTelemetry('list',()=>featureList({'currentBranch':_0x444844['current-branch'],'limit':_0x444844['limit'],'offset':_0x444844[_0x38327f(0x2f1)],'includeDeleted':_0x444844[_0x38327f(0x2a2)]}));})[_0x5373b0(0x191)](_0x20aebf['zSoIK'],_0x5373b0(0x2c3),_0x38689a=>{const _0x3da690=_0x5373b0;return _0x38689a['positional']('id',{'type':_0x20aebf[_0x3da690(0x280)],'description':'Feature\x20review\x20ID'});},async _0x511d6c=>{await withTelemetry(_0x20aebf['MwBlI'],()=>featureShow(_0x511d6c['id']));})['command']('resume\x20[id]',_0x20aebf[_0x5373b0(0x2d2)],_0x944e79=>{const _0xa01b1d=_0x5373b0;return _0x944e79['positional']('id',{'type':_0x20aebf['zdUEq'],'description':_0x20aebf[_0xa01b1d(0x17c)]});},async _0xb127a=>{await _0x20aebf['tgyAX'](withTelemetry,_0x20aebf['rRvXf'],()=>featureResume(_0xb127a['id']));})[_0x5373b0(0x191)](_0x5373b0(0x274),_0x20aebf['ykmDN'],_0x1c37dc=>{const _0x3add52=_0x5373b0;return _0x1c37dc['positional']('description',{'type':_0x20aebf[_0x3add52(0x280)],'description':_0x20aebf[_0x3add52(0x23f)],'demandOption':!![]})['option']('id',{'type':_0x20aebf[_0x3add52(0x280)],'description':_0x3add52(0x199)});},async _0xac2a65=>{const _0x1977a4=_0x5373b0;await _0x20aebf['iMuKT'](withTelemetry,_0x20aebf['PJQDN'],()=>featureAddScenario(_0xac2a65[_0x1977a4(0x2b5)],_0xac2a65['id']));})['command'](_0x20aebf[_0x5373b0(0x128)],_0x5373b0(0x223),_0x14fcbe=>{const _0x38ec96=_0x5373b0;return _0x14fcbe[_0x38ec96(0x125)](_0x20aebf['PvXTh'],{'type':_0x38ec96(0x2e6),'description':_0x20aebf[_0x38ec96(0x179)],'demandOption':!![]})['option'](_0x20aebf['xTWau'],{'type':_0x20aebf['koxQh'],'description':_0x20aebf[_0x38ec96(0x251)],'demandOption':!![]})[_0x38ec96(0x233)]('id',{'type':_0x20aebf[_0x38ec96(0x280)],'description':_0x20aebf['nnJDl']});},async _0x2b0940=>{const _0x112496=_0x5373b0;await _0x20aebf[_0x112496(0x2b1)](withTelemetry,_0x20aebf['XifcR'],()=>featureEditScenario(_0x2b0940['description'],{'id':_0x2b0940['id'],'scenario':_0x2b0940['scenario']}));})['command']('report\x20[id]',_0x5373b0(0x1f5),_0x4012f5=>{const _0x931231=_0x5373b0;return _0x4012f5[_0x931231(0x125)]('id',{'type':_0x931231(0x2e6),'description':_0x20aebf[_0x931231(0x124)]})[_0x931231(0x233)](_0x20aebf['ihjSD'],{'type':_0x20aebf[_0x931231(0x196)],'description':_0x931231(0x250)})[_0x931231(0x233)](_0x20aebf[_0x931231(0x213)],{'type':_0x20aebf[_0x931231(0x1b7)],'description':_0x931231(0x256),'default':![]});},async _0x160959=>{const _0x20fa04=_0x5373b0,_0x136663=_0x160959[_0x20fa04(0x1c7)],_0x30a7d1=_0x136663?_0x136663['map'](_0x5f09b7=>Number(_0x5f09b7)):undefined;await _0x20aebf['wZxeA'](withTelemetry,_0x20fa04(0x141),()=>featureReportPrDescription(_0x160959['id'],{'excludeScenarios':_0x30a7d1,'json':_0x160959[_0x20fa04(0x255)]}));})[_0x5373b0(0x191)](_0x5373b0(0x15f),'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x251027=>{const _0xe84f9b=_0x5373b0;return _0x251027['positional']('id',{'type':_0x20aebf['zdUEq'],'description':_0x20aebf[_0xe84f9b(0x153)]});},async _0x19731e=>{const _0x218263=_0x5373b0;await _0x20aebf[_0x218263(0x297)](withTelemetry,_0x20aebf['fvYLQ'],()=>featureGetReview(_0x19731e['id']));})[_0x5373b0(0x191)](_0x20aebf[_0x5373b0(0x278)],_0x20aebf['eYsFe'],_0x30d0f2=>{return _0x30d0f2['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x8f894b=>{const _0x3cf4e5=_0x5373b0;await _0x20aebf[_0x3cf4e5(0x184)](withTelemetry,_0x20aebf[_0x3cf4e5(0x2cd)],()=>featureDelete(_0x8f894b['id']));})[_0x5373b0(0x191)](_0x20aebf[_0x5373b0(0x1f1)],_0x5373b0(0x229),_0x564474=>{return _0x564474['positional']('id',{'type':'string','description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x2d0fdf=>{const _0x297073=_0x5373b0;await _0x20aebf['wZxeA'](withTelemetry,_0x297073(0x2e4),()=>featureRestore(_0x2d0fdf['id']));})['command'](_0x5373b0(0x2ab),_0x20aebf['EInjE'],_0x54b5b9=>{const _0x1552d1=_0x5373b0,_0x2aad66={'btcBp':_0x1552d1(0x12c),'dIJDN':_0x1552d1(0x273),'oUqVl':_0x1552d1(0x1af),'aaDLS':_0x20aebf[_0x1552d1(0x24c)],'yaBdv':_0x20aebf['uduXk'],'uQKOG':_0x1552d1(0x262),'FMRgb':_0x1552d1(0x27f),'FnfSo':'force','zYVzs':_0x20aebf['jMPOE'],'CxFAr':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','ttfwa':'allow-insecure-localhost','FQppV':_0x1552d1(0x148),'YQQEi':_0x20aebf[_0x1552d1(0x231)],'Smnkz':function(_0x32628c,_0x44d6dc,_0x60804c){return _0x32628c(_0x44d6dc,_0x60804c);},'PJumq':_0x1552d1(0x26f),'UCxFS':_0x20aebf['KBstn'],'bjzhL':_0x1552d1(0x2e6),'BOYYl':'Ranger\x20API\x20token\x20(rngr_...)','OdKRZ':_0x20aebf['gAznW'],'Oyukb':_0x20aebf['hKfmH'],'icPfw':function(_0x350b2e,_0x48b81e){return _0x350b2e(_0x48b81e);},'XBPCH':_0x20aebf['ybBxB'],'XVNWB':function(_0x1f53fd){return _0x1f53fd();},'OeUXt':_0x20aebf['FeFqP'],'NpiBu':function(_0x4473a9,_0x163e55){const _0x333216=_0x1552d1;return _0x20aebf[_0x333216(0x226)](_0x4473a9,_0x163e55);},'lpNau':function(_0x5e317b,_0x5ac976){return _0x5e317b+_0x5ac976;}};return _0x54b5b9[_0x1552d1(0x1e3)](_0x1552d1(0x194))['positional'](_0x20aebf[_0x1552d1(0x1d2)],{'type':_0x1552d1(0x2e6),'description':_0x20aebf['XlONZ']})['command'](_0x1552d1(0x243),_0x20aebf[_0x1552d1(0x269)],_0x133d38=>{const _0x116553=_0x1552d1;return _0x133d38['option'](_0x2aad66[_0x116553(0x17f)],{'type':_0x116553(0x2e6),'description':_0x2aad66[_0x116553(0x2ac)]})[_0x116553(0x233)](_0x116553(0x1aa),{'type':_0x2aad66['oUqVl'],'description':_0x2aad66['aaDLS'],'default':![]})['option'](_0x2aad66['yaBdv'],{'type':_0x2aad66[_0x116553(0x154)],'description':_0x116553(0x1c0),'default':![]})['option']('with-deps',{'type':_0x116553(0x1af),'description':_0x116553(0x1d7),'default':![]})['option']('scope',{'type':_0x116553(0x2e6),'choices':[_0x2aad66[_0x116553(0x158)]],'hidden':!![],'description':_0x116553(0x1fd)})[_0x116553(0x233)](_0x2aad66['FMRgb'],{'type':'string','description':_0x116553(0x23c)})[_0x116553(0x233)](_0x2aad66[_0x116553(0x1d1)],{'type':_0x116553(0x1af),'description':_0x2aad66['zYVzs'],'default':![]})['option'](_0x116553(0x263),{'type':_0x2aad66[_0x116553(0x154)],'description':_0x2aad66[_0x116553(0x1e1)],'default':![]})['option'](_0x2aad66['ttfwa'],{'type':_0x2aad66['oUqVl'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})[_0x116553(0x233)](_0x2aad66['FQppV'],{'type':_0x116553(0x1af),'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})['option'](_0x116553(0x2a1),{'type':'boolean','description':_0x2aad66[_0x116553(0x151)],'default':![]});},async _0x25f1dc=>{const _0x16c73f=_0x1552d1;(_0x25f1dc[_0x16c73f(0x148)]||_0x25f1dc['mcp'])&&await _0x2aad66['Smnkz'](withTelemetry,_0x16c73f(0x148),()=>mcpBootstrap()),await withTelemetry(_0x2aad66['PJumq'],_0x3bf3b4=>start(_0x25f1dc[_0x16c73f(0x12c)],{'skipChromium':_0x25f1dc['skip-chromium'],'skipAuth':_0x25f1dc[_0x16c73f(0x2c9)],'withDeps':_0x25f1dc[_0x16c73f(0x207)],'scope':_0x25f1dc[_0x16c73f(0x2ad)],'url':_0x25f1dc[_0x16c73f(0x27f)],'force':_0x25f1dc[_0x16c73f(0x15c)],'opencode':_0x25f1dc[_0x16c73f(0x263)],'allowInsecureLocalhost':_0x25f1dc[_0x16c73f(0x14d)]},_0x3bf3b4));})[_0x1552d1(0x191)](_0x20aebf[_0x1552d1(0x18e)],_0x1552d1(0x1b0),_0x5e6999=>{const _0x4e88e2=_0x1552d1;return _0x5e6999['option'](_0x20aebf['sKVAT'],{'type':_0x20aebf[_0x4e88e2(0x1b7)],'description':_0x4e88e2(0x134),'default':![]});},async _0xbf9d04=>{const _0xa49ae8=_0x1552d1;await withTelemetry(_0x2aad66['UCxFS'],()=>ensureChromium(_0xbf9d04[_0xa49ae8(0x207)]));})['command'](_0x1552d1(0x13c),_0x1552d1(0x15d),_0x55af68=>{const _0x10b118=_0x1552d1;return _0x55af68['option']('token',{'type':_0x2aad66['bjzhL'],'description':_0x2aad66['BOYYl']})['option'](_0x2aad66[_0x10b118(0x2bd)],{'type':'boolean','description':_0x2aad66[_0x10b118(0x239)],'default':![]});},async _0x5ea00b=>{const _0x34ada9=_0x1552d1,_0x5cb80f={'mRcqE':function(_0x169ef9){return _0x169ef9();},'OlAmH':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','eXKvv':function(_0x559bfb,_0x3546b5){return _0x559bfb(_0x3546b5);},'lPKwU':function(_0x25920c,_0x339508){return _0x25920c(_0x339508);}};await withTelemetry(_0x34ada9(0x2aa),async()=>{const _0x594117=_0x34ada9;if(_0x5ea00b[_0x594117(0x2a1)]){await mcpBootstrap();const _0x5cdb3a=await _0x5cb80f['mRcqE'](refreshCliToken);if(!_0x5cdb3a)throw new Error(_0x5cb80f['OlAmH']);const _0x562c2c=await _0x5cb80f['eXKvv'](getCurrentUser,_0x5cdb3a);if(!_0x562c2c[_0x594117(0x120)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x562c2c[_0x594117(0x240)]);console['log'](_0x594117(0x2eb)+_0x562c2c['user'][_0x594117(0x189)]);return;}await _0x5cb80f[_0x594117(0x1e7)](authenticate,_0x5ea00b[_0x594117(0x12c)]);});})[_0x1552d1(0x191)](_0x20aebf[_0x1552d1(0x29d)],_0x1552d1(0x20d),_0x149aaa=>{const _0x417f9a=_0x1552d1;return _0x149aaa['option'](_0x20aebf['dLxjp'],{'type':_0x417f9a(0x2e6),'choices':[_0x417f9a(0x262),_0x417f9a(0x2ef)],'description':_0x20aebf[_0x417f9a(0x15a)]})['option'](_0x20aebf['FeFqP'],{'type':_0x417f9a(0x1af),'description':_0x20aebf[_0x417f9a(0x2c6)],'default':![]});},async _0x3aa9c0=>{const _0x45fdce=_0x1552d1,_0x2c2eff={'fkWPr':function(_0x2d88a8,_0x435913){const _0x3c658b=_0x39f4;return _0x2aad66[_0x3c658b(0x245)](_0x2d88a8,_0x435913);},'qGaFv':_0x2aad66[_0x45fdce(0x122)],'ecDws':function(_0x581857){const _0x31634e=_0x45fdce;return _0x2aad66[_0x31634e(0x2ce)](_0x581857);},'UDwto':_0x2aad66[_0x45fdce(0x14f)]};await withTelemetry(_0x45fdce(0x17a),async()=>{const _0x4253ca=_0x45fdce,_0x53d7a7=_0x3aa9c0['scope'];if(_0x3aa9c0[_0x4253ca(0x263)]){const _0x5ce377=await _0x2c2eff['fkWPr'](ensureOpencodePluginConfig,_0x53d7a7);_0x5ce377&&await installSkill(_0x2c2eff['qGaFv'],{'level':_0x5ce377['scope'],'cliVersion':_0x2c2eff['ecDws'](getCurrentVersion),'platform':_0x2c2eff[_0x4253ca(0x1a3)]});}else await ensureClaudePlugin(_0x53d7a7),await _0x2c2eff[_0x4253ca(0x1b3)](ensureClaudeSkills,_0x53d7a7);});})[_0x1552d1(0x191)](_0x20aebf['zbPtE'],_0x1552d1(0x2e7),_0x3968e1=>{const _0x363e7a=_0x1552d1;return _0x3968e1['option'](_0x363e7a(0x2ad),{'type':_0x20aebf['zdUEq'],'choices':[_0x363e7a(0x262)],'description':_0x20aebf[_0x363e7a(0x237)]})[_0x363e7a(0x233)](_0x363e7a(0x27f),{'type':_0x20aebf[_0x363e7a(0x280)],'description':'Base\x20URL\x20of\x20the\x20running\x20app'})[_0x363e7a(0x233)]('skip-auth',{'type':'boolean','description':_0x20aebf[_0x363e7a(0x2b7)],'default':![]})['option']('force',{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x363e7a(0x233)](_0x363e7a(0x14d),{'type':_0x363e7a(0x1af),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x50c632=>{const _0x53442e=_0x1552d1,_0xda4c08=_0x50c632['scope'];_0x2aad66['NpiBu'](_0xda4c08,undefined)&&_0xda4c08!==_0x2aad66[_0x53442e(0x158)]&&(console[_0x53442e(0x240)](_0x2aad66['lpNau'](_0x53442e(0x164)+_0xda4c08+_0x53442e(0x22d),_0x53442e(0x190))+_0x53442e(0x187)),process['exit'](0x1)),await withTelemetry(_0x53442e(0x20b),_0x1207e5=>ensureLocalEnv({'url':_0x50c632['url'],'force':_0x50c632[_0x53442e(0x15c)],'allowInsecureLocalhost':_0x50c632['allow-insecure-localhost'],'scope':'user'},_0x1207e5));})['option'](_0x20aebf[_0x1552d1(0x180)],{'type':'boolean','description':_0x1552d1(0x260),'default':![]})['option'](_0x20aebf['dLxjp'],{'type':'string','choices':[_0x20aebf['TMVzS']],'hidden':!![],'description':_0x20aebf[_0x1552d1(0x237)]})['option']('url',{'type':'string','description':_0x20aebf[_0x1552d1(0x14e)]})['option']('force',{'type':_0x20aebf[_0x1552d1(0x1b7)],'description':_0x20aebf[_0x1552d1(0x138)],'default':![]})['option'](_0x1552d1(0x263),{'type':_0x20aebf[_0x1552d1(0x1b7)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option']('allow-insecure-localhost',{'type':_0x1552d1(0x1af),'description':_0x20aebf['DNgsv'],'default':![]})[_0x1552d1(0x233)](_0x1552d1(0x148),{'type':_0x20aebf['yNTCw'],'description':_0x20aebf['qSxRm'],'default':![]})['option']('skip-auth',{'type':'boolean','description':_0x20aebf[_0x1552d1(0x1d6)],'default':![]})['option'](_0x20aebf['sKVAT'],{'type':_0x20aebf['yNTCw'],'description':_0x1552d1(0x134),'default':![]})[_0x1552d1(0x233)](_0x20aebf['yeSow'],{'type':_0x20aebf[_0x1552d1(0x280)],'hidden':!![],'description':_0x20aebf['lekQJ']});},async _0x4a0b3c=>{const _0x24b1ff=_0x5373b0,_0x228998=_0x4a0b3c['tokenOrSubcommand'],_0x4903e3=_0x4a0b3c['token']??_0x228998;_0x4a0b3c[_0x20aebf[_0x24b1ff(0x227)]]&&await _0x20aebf[_0x24b1ff(0x162)](withTelemetry,_0x20aebf['USBTX'],()=>mcpBootstrap()),await _0x20aebf[_0x24b1ff(0x133)](withTelemetry,'start',_0x2273e4=>start(_0x4903e3,{'skipChromium':_0x4a0b3c[_0x24b1ff(0x1aa)],'skipAuth':_0x4a0b3c[_0x24b1ff(0x2c9)],'withDeps':_0x4a0b3c['with-deps'],'scope':_0x4a0b3c['scope'],'url':_0x4a0b3c['url'],'force':_0x4a0b3c[_0x24b1ff(0x15c)],'opencode':_0x4a0b3c['opencode'],'allowInsecureLocalhost':_0x4a0b3c['allow-insecure-localhost']},_0x2273e4));})[_0x5373b0(0x191)](_0x20aebf[_0x5373b0(0x156)],_0x5373b0(0x20f),_0x1c082a=>{const _0x32b88d=_0x5373b0;return _0x1c082a['positional']('token',{'type':'string','description':_0x20aebf['oNVej'],'demandOption':!![]})[_0x32b88d(0x233)](_0x32b88d(0x1fc),{'type':_0x20aebf[_0x32b88d(0x280)],'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})['option'](_0x20aebf['bYzOk'],{'type':_0x32b88d(0x2e6),'description':_0x20aebf['daESz']})[_0x32b88d(0x233)](_0x20aebf['PzvHq'],{'type':_0x20aebf['yNTCw'],'description':_0x20aebf[_0x32b88d(0x205)],'default':![]});},async _0x4bc3b7=>{const _0x484fa8=_0x5373b0;await withTelemetry(_0x20aebf[_0x484fa8(0x2e2)],_0x699375=>setupCi(_0x4bc3b7[_0x484fa8(0x12c)],{'profile':_0x4bc3b7['profile'],'baseUrl':_0x4bc3b7[_0x484fa8(0x145)],'skipChromium':_0x4bc3b7['skip-chromium']},_0x699375));})[_0x5373b0(0x191)]('login',_0x20aebf['kSVTJ'],()=>{},async()=>{const _0xae68e8=_0x5373b0;await _0x20aebf[_0xae68e8(0x297)](withTelemetry,'login',()=>login());})[_0x5373b0(0x191)](_0x20aebf[_0x5373b0(0x22c)],_0x5373b0(0x2b3),_0x297963=>{const _0x26c3e5=_0x5373b0;return _0x297963[_0x26c3e5(0x233)](_0x20aebf[_0x26c3e5(0x2e9)],{'type':_0x20aebf['yNTCw'],'description':_0x20aebf[_0x26c3e5(0x1bc)],'default':![]})['option']('scope',{'type':'string','choices':['user',_0x20aebf[_0x26c3e5(0x131)]],'description':_0x20aebf[_0x26c3e5(0x1fe)]});},async _0x286092=>{const _0x483920=_0x5373b0,_0x5273bb=_0x20aebf[_0x483920(0x276)](Boolean,_0x286092[_0x483920(0x263)]);await _0x20aebf[_0x483920(0x188)](withTelemetry,'skillup',()=>skillup({'autoInstall':_0x286092['scope'],'platform':_0x5273bb?'opencode':_0x483920(0x20a)}));})[_0x5373b0(0x191)]('clean','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{await withTelemetry(_0x20aebf['IAQoJ'],()=>clean());})['command'](['profile',_0x5373b0(0x1b6)],_0x5373b0(0x157),_0x472ecc=>{const _0x5af627=_0x5373b0,_0x589a57={'NqWUb':_0x5af627(0x217),'XqWoS':function(_0x3d9320,_0xa0f155){return _0x3d9320||_0xa0f155;},'tWNDI':function(_0x4a2657,_0x356b85,_0x4591e2){const _0xecf214=_0x5af627;return _0x20aebf[_0xecf214(0x12e)](_0x4a2657,_0x356b85,_0x4591e2);},'yIpLQ':function(_0x5de12d,_0x28f061){return _0x20aebf['FzHvM'](_0x5de12d,_0x28f061);},'RAZdz':_0x5af627(0x1ce),'pOHpW':_0x20aebf[_0x5af627(0x181)],'nAtDV':_0x20aebf['pubSU'],'YYwFx':_0x20aebf[_0x5af627(0x1cd)],'KMvqM':_0x5af627(0x1fc),'qpZMg':_0x20aebf['zdUEq'],'IlpvI':function(_0x488122,_0xa0a35,_0x519483){return _0x488122(_0xa0a35,_0x519483);},'rIqhS':_0x20aebf[_0x5af627(0x22f)],'zNhUu':_0x20aebf[_0x5af627(0x291)],'gwMcQ':'Config\x20key\x20to\x20remove'};return _0x472ecc['usage'](PROFILE_HELP)['command']('add\x20<profile-name>','Add\x20profile\x20configuration',_0x5a8ca1=>{const _0xae4af4=_0x5af627;return _0x5a8ca1[_0xae4af4(0x125)](_0xae4af4(0x216),{'type':_0xae4af4(0x2e6),'description':_0x20aebf[_0xae4af4(0x29c)],'demandOption':!![]})['option']('ci',{'type':_0x20aebf[_0xae4af4(0x1b7)],'description':_0x20aebf['tjLRI'],'default':![]})[_0xae4af4(0x233)]('skip-auth',{'type':_0x20aebf[_0xae4af4(0x1b7)],'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0xae4af4(0x233)](_0xae4af4(0x27f),{'type':_0x20aebf['zdUEq'],'description':_0xae4af4(0x1ea)})[_0xae4af4(0x233)](_0x20aebf['WsyYz'],{'type':_0x20aebf[_0xae4af4(0x1b7)],'description':_0xae4af4(0x1c5),'default':![]})[_0xae4af4(0x233)](_0x20aebf[_0xae4af4(0x160)],{'type':_0x20aebf[_0xae4af4(0x280)],'description':_0x20aebf['mLDrs']})[_0xae4af4(0x233)]('allow-insecure-localhost',{'type':_0x20aebf[_0xae4af4(0x1b7)],'description':_0x20aebf['DNgsv'],'default':![]})['option'](_0xae4af4(0x284),{'type':_0x20aebf[_0xae4af4(0x1b7)],'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0xae4af4(0x233)](_0x20aebf['iYFrb'],{'type':_0x20aebf['zdUEq'],'array':!![],'description':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'})['option'](_0x20aebf['dLxjp'],{'type':_0xae4af4(0x2e6),'choices':['user',_0x20aebf[_0xae4af4(0x131)]],'description':_0x20aebf['GlOvm']})['option'](_0xae4af4(0x1c2),{'type':'boolean','alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x8d9456=>{const _0x2ae936=_0x5af627;await withTelemetry(_0x2ae936(0x165),_0x2eef7a=>addEnv(_0x8d9456['profile-name'],{'ci':_0x8d9456['ci'],'skipAuth':_0x8d9456['skip-auth'],'url':_0x8d9456[_0x2ae936(0x27f)],'force':_0x8d9456['force'],'cdpEndpoint':_0x8d9456['cdp-endpoint'],'allowInsecureLocalhost':_0x8d9456['allow-insecure-localhost'],'safeMode':_0x8d9456['safe-mode'],'setupHeader':_0x8d9456[_0x2ae936(0x1ac)],'scope':_0x8d9456[_0x2ae936(0x2ad)],'yes':_0x8d9456[_0x2ae936(0x1c2)]},_0x2eef7a),{'isElectron':Boolean(_0x8d9456[_0x589a57[_0x2ae936(0x175)]])});})[_0x5af627(0x191)]('use\x20<profile-name>',_0x5af627(0x1bb),_0x5a4520=>{const _0x429e26=_0x5af627;return _0x5a4520['positional']('profile-name',{'type':_0x20aebf[_0x429e26(0x280)],'description':_0x429e26(0x24f),'demandOption':!![]});},async _0x543f8e=>{const _0x5b58a1=_0x5af627;await withTelemetry(_0x20aebf['rYKoK'],()=>useEnv(_0x543f8e[_0x5b58a1(0x216)]));})[_0x5af627(0x191)]('encrypt-auth\x20<profile>',_0x20aebf['JPCLI'],_0x3608e8=>{const _0x3387e5=_0x5af627;return _0x3608e8[_0x3387e5(0x125)]('profile',{'type':_0x20aebf[_0x3387e5(0x280)],'description':_0x3387e5(0x176),'demandOption':!![]});},async _0x1f569d=>{await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0x1f569d['profile']));})['command']('ls',_0x5af627(0x1d9),()=>{},async()=>{const _0x546c5f=_0x5af627;await _0x20aebf[_0x546c5f(0x28a)](withTelemetry,_0x20aebf['DKiIG'],()=>envList());})['command']('update\x20<profile-name>',_0x20aebf[_0x5af627(0x2ea)],_0x1c8ccd=>{const _0x5a2004=_0x5af627;return _0x1c8ccd[_0x5a2004(0x125)](_0x20aebf['oZNyv'],{'type':_0x20aebf[_0x5a2004(0x280)],'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0x20aebf['yNTCw'],'description':_0x5a2004(0x1f7)});},async _0x156c44=>{const _0x163992=_0x5af627;await _0x20aebf[_0x163992(0x218)](withTelemetry,_0x20aebf['BESQl'],_0x285889=>updateEnv(_0x156c44[_0x163992(0x216)],_0x285889,{'allowInsecureLocalhost':_0x156c44['allow-insecure-localhost']}));})['command'](_0x20aebf['PuziH'],![],_0x5531ca=>{const _0x4e3016=_0x5af627;return _0x5531ca[_0x4e3016(0x125)](_0x20aebf[_0x4e3016(0x174)],{'type':_0x20aebf['zdUEq'],'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0xdbf1ba=>{const _0x351e4f=_0x5af627;await _0x589a57[_0x351e4f(0x23a)](withTelemetry,_0x589a57[_0x351e4f(0x29a)],async()=>{const _0x509677=_0x351e4f,_0x430897=process[_0x509677(0x22a)]['RANGER_TEST_USERNAME'],_0x35540d=process[_0x509677(0x22a)][_0x509677(0x12a)];_0x589a57[_0x509677(0x271)](!_0x430897,!_0x35540d)&&(console['error']('Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.'),process[_0x509677(0x1a4)](0x1));const _0x1a1484=_0xdbf1ba[_0x509677(0x13b)],_0xc8ebf0=await _0x589a57['tWNDI'](serverSideLogin,_0x1a1484,{'force':!![]});_0x589a57[_0x509677(0x186)](_0xc8ebf0['status'],_0x589a57['RAZdz'])&&(console['error'](_0x589a57[_0x509677(0x1e5)]),process['exit'](0x1)),_0x589a57['yIpLQ'](_0xc8ebf0[_0x509677(0x178)],_0x509677(0x12f))&&(console['error']('Login\x20failed:\x20'+(_0xc8ebf0[_0x509677(0x240)]??'unknown\x20error')),_0xc8ebf0[_0x509677(0x2b2)]&&console[_0x509677(0x240)](_0xc8ebf0['test_output']),process[_0x509677(0x1a4)](0x1)),console['log']('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x1a1484+'\x27.\x20Session\x20saved.');});})[_0x5af627(0x191)](_0x20aebf['mrdAT'],_0x20aebf['GRvbg'],_0x373e50=>{const _0x253f48=_0x5af627;return _0x373e50['positional'](_0x253f48(0x216),{'type':_0x253f48(0x2e6),'description':_0x253f48(0x1c3)})[_0x253f48(0x233)](_0x253f48(0x243),{'type':_0x253f48(0x1af),'description':_0x20aebf[_0x253f48(0x1a1)],'default':![]})[_0x253f48(0x233)](_0x253f48(0x22b),{'type':_0x20aebf['yNTCw'],'description':_0x253f48(0x244),'default':![]})[_0x253f48(0x233)](_0x20aebf['wpDbu'],{'type':_0x20aebf[_0x253f48(0x1b7)],'alias':'y','description':_0x20aebf[_0x253f48(0x18a)],'default':![]})['option'](_0x253f48(0x1eb),{'type':_0x20aebf['yNTCw'],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x2932c4=>{const _0xf1870=_0x5af627;await withTelemetry(_0xf1870(0x1ef),_0x544fb9=>migrateProfile({'profileName':_0x2932c4['profile-name'],'all':_0x2932c4['all'],'dryRun':_0x2932c4[_0xf1870(0x22b)],'yes':_0x2932c4[_0xf1870(0x1c2)],'saveCreds':_0x2932c4[_0xf1870(0x1eb)]},_0x544fb9));})['command'](_0x20aebf['aNmmj'],_0x20aebf[_0x5af627(0x1e0)],_0x394995=>{const _0x9c55d5=_0x5af627,_0x17b6f6={'iMzKw':_0x20aebf['DhGcw'],'bDlBF':_0x20aebf[_0x9c55d5(0x280)],'Khmcg':_0x20aebf['qkLDm'],'alpVT':_0x20aebf[_0x9c55d5(0x22f)],'pEXFn':'Config\x20key','wPJhK':function(_0x1fc546,_0x1943a5,_0x31baf8){return _0x1fc546(_0x1943a5,_0x31baf8);},'jkHej':_0x9c55d5(0x225),'fRQIv':_0x9c55d5(0x1fc)};return _0x394995['usage'](PROFILE_CONFIG_HELP)[_0x9c55d5(0x191)](_0x20aebf['oLoSf'],_0x9c55d5(0x27a),_0xffec74=>{const _0x5ea69a=_0x9c55d5;return _0xffec74[_0x5ea69a(0x125)]('profile',{'type':'string','description':_0x5ea69a(0x176),'demandOption':!![]})[_0x5ea69a(0x125)](_0x17b6f6['iMzKw'],{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional'](_0x5ea69a(0x16b),{'type':_0x17b6f6['bDlBF'],'description':_0x17b6f6[_0x5ea69a(0x19b)],'demandOption':!![]});},async _0x38eac5=>{const _0x570ca5=_0x9c55d5;await withTelemetry(_0x589a57[_0x570ca5(0x210)],()=>configSet(_0x38eac5['profile'],_0x38eac5['key'],_0x38eac5['value']));})['command'](_0x20aebf[_0x9c55d5(0x292)],_0x20aebf[_0x9c55d5(0x16c)],_0x24f2bc=>{const _0x3cca59=_0x9c55d5;return _0x24f2bc['positional']('profile',{'type':_0x17b6f6[_0x3cca59(0x16d)],'description':_0x17b6f6[_0x3cca59(0x26a)],'demandOption':!![]})[_0x3cca59(0x125)]('key',{'type':'string','description':_0x17b6f6['pEXFn'],'demandOption':!![]});},async _0x4748f0=>{const _0x46e2c3=_0x9c55d5;await _0x17b6f6['wPJhK'](withTelemetry,_0x17b6f6[_0x46e2c3(0x17b)],()=>configGet(_0x4748f0[_0x46e2c3(0x1fc)],_0x4748f0['key']));})[_0x9c55d5(0x191)](_0x20aebf['DFtLS'],_0x20aebf['voQpq'],_0x5024fe=>{const _0x32b189=_0x9c55d5;return _0x5024fe[_0x32b189(0x125)](_0x589a57['KMvqM'],{'type':_0x589a57[_0x32b189(0x2ed)],'description':'Profile\x20name','demandOption':!![]});},async _0xb63b96=>{const _0x1409f3=_0x9c55d5;await _0x589a57['IlpvI'](withTelemetry,_0x1409f3(0x2de),()=>configList(_0xb63b96['profile']));})['command'](_0x20aebf[_0x9c55d5(0x224)],_0x20aebf[_0x9c55d5(0x2d6)],_0x2fad40=>{const _0x6a65a0=_0x9c55d5;return _0x2fad40['positional']('profile',{'type':_0x589a57['qpZMg'],'description':_0x589a57['rIqhS'],'demandOption':!![]})[_0x6a65a0(0x125)](_0x589a57[_0x6a65a0(0x1c8)],{'type':_0x589a57['qpZMg'],'description':_0x589a57['gwMcQ'],'demandOption':!![]});},async _0x51f97b=>{const _0x4111a6=_0x9c55d5;await withTelemetry('profile\x20config\x20unset',()=>configUnset(_0x51f97b[_0x4111a6(0x1fc)],_0x51f97b[_0x4111a6(0x25d)]));})[_0x9c55d5(0x191)](_0x20aebf['IrfXq'],'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile',_0x51e17e=>{const _0x17a8ba=_0x9c55d5;return _0x51e17e['positional'](_0x17b6f6['fRQIv'],{'type':'string','description':_0x17a8ba(0x176),'demandOption':!![]});},async _0x435c40=>{const _0xfef8=_0x9c55d5;await _0x589a57[_0xfef8(0x28e)](withTelemetry,'profile\x20config\x20reset',()=>configReset(_0x435c40[_0xfef8(0x1fc)]));})[_0x9c55d5(0x19f)](0x1,_0x20aebf[_0x9c55d5(0x21b)]);})[_0x5af627(0x19f)](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})[_0x5373b0(0x191)](_0x20aebf[_0x5373b0(0x1ed)],_0x20aebf['lybfq'],()=>{},async()=>{await withTelemetry('status',()=>status());})[_0x5373b0(0x191)]('update','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x42e459=_0x5373b0;await _0x20aebf[_0x42e459(0x297)](withTelemetry,_0x20aebf[_0x42e459(0x1ae)],()=>update());})['command']('print-access-token',_0x20aebf['UjaSe'],()=>{},async()=>{const _0x574269=_0x5373b0,_0x505268={'oLPWv':_0x574269(0x1dc)};await _0x20aebf['HgjzW'](withTelemetry,'print-access-token',async()=>{const _0x476410=_0x574269,_0x145b4f=await getToken();if(!_0x145b4f)throw new Error(_0x505268[_0x476410(0x18d)]);console[_0x476410(0x1a2)](_0x145b4f);});})['command']('go',_0x5373b0(0x2d8),_0x15ea70=>{const _0x3306ab=_0x5373b0;return _0x15ea70[_0x3306ab(0x233)](_0x20aebf[_0x3306ab(0x150)],{'type':_0x20aebf[_0x3306ab(0x280)],'description':_0x3306ab(0x171)})['option'](_0x3306ab(0x1fc),{'type':_0x20aebf[_0x3306ab(0x280)],'description':_0x3306ab(0x144)})['option']('notes',{'type':_0x20aebf[_0x3306ab(0x280)],'description':_0x20aebf['ARXJE']})[_0x3306ab(0x233)](_0x3306ab(0x20e),{'type':_0x20aebf[_0x3306ab(0x2b8)],'description':_0x20aebf[_0x3306ab(0x287)]})[_0x3306ab(0x233)](_0x3306ab(0x1dd),{'type':_0x3306ab(0x2e6),'description':_0x20aebf[_0x3306ab(0x1a7)]})[_0x3306ab(0x233)]('base-url',{'type':_0x3306ab(0x2e6),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x3306ab(0x233)](_0x3306ab(0x1fb),{'type':_0x20aebf[_0x3306ab(0x280)],'description':_0x3306ab(0x222)})[_0x3306ab(0x233)](_0x20aebf['vvuzG'],{'type':_0x20aebf[_0x3306ab(0x1b7)],'description':_0x20aebf['QatHJ'],'default':![]})['option']('debug-outcome',{'type':_0x20aebf[_0x3306ab(0x280)],'hidden':!![],'choices':[_0x20aebf['iBbhD'],_0x20aebf['tudNo'],_0x20aebf['aVmKJ'],_0x3306ab(0x12f),_0x3306ab(0x1f8)]})[_0x3306ab(0x233)](_0x20aebf[_0x3306ab(0x23e)],{'type':_0x20aebf['yNTCw'],'hidden':!![]})[_0x3306ab(0x233)](_0x3306ab(0x22a),{'type':_0x3306ab(0x2e6),'hidden':!![]})[_0x3306ab(0x233)](_0x3306ab(0x275),{'type':_0x20aebf[_0x3306ab(0x280)],'hidden':!![]})[_0x3306ab(0x233)]('item',{'type':_0x20aebf[_0x3306ab(0x2b8)],'hidden':!![]});},async _0x495f4a=>{await _0x20aebf['tdgHC'](runGoCommand,_0x495f4a);})['command']('auth',![],_0x12e4c2=>{const _0x554d8a=_0x5373b0,_0x12713c={'kxqzf':function(_0x5e1010,_0x45c4bd,_0x5ce21a){return _0x20aebf['OKBzd'](_0x5e1010,_0x45c4bd,_0x5ce21a);},'wYItk':_0x554d8a(0x289),'mBwVh':_0x20aebf['xGirj']};return _0x12e4c2['command']('encrypt\x20<profile>',![],_0x596537=>{const _0x53cd6b=_0x554d8a;return _0x596537['positional'](_0x20aebf['iHMaF'],{'type':_0x53cd6b(0x2e6),'description':'Profile\x20name','demandOption':!![]});},async _0x5f57ce=>{const _0x21bb39=_0x554d8a;_0x12713c[_0x21bb39(0x1f2)](warnRenamed,_0x12713c[_0x21bb39(0x1c9)],_0x12713c[_0x21bb39(0x19a)]),await authEncrypt(_0x5f57ce['profile']);})[_0x554d8a(0x19f)](0x1,_0x20aebf[_0x554d8a(0x25b)]);},()=>{})[_0x5373b0(0x191)]('start\x20[token]',![],_0x460a47=>{const _0x515438=_0x5373b0;return _0x460a47[_0x515438(0x125)](_0x20aebf[_0x515438(0x1ee)],{'type':_0x20aebf['zdUEq'],'description':_0x20aebf['dPRxs']})[_0x515438(0x233)](_0x20aebf[_0x515438(0x180)],{'type':'boolean','description':_0x20aebf['oYysR'],'default':![]})['option']('scope',{'type':'string','choices':[_0x20aebf[_0x515438(0x298)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x515438(0x233)](_0x20aebf['xfTdN'],{'type':_0x515438(0x2e6),'description':_0x515438(0x228)})[_0x515438(0x233)](_0x515438(0x15c),{'type':_0x515438(0x1af),'description':_0x20aebf[_0x515438(0x138)],'default':![]})['option'](_0x515438(0x2c9),{'type':_0x515438(0x1af),'description':_0x20aebf['Ckata'],'default':![]})[_0x515438(0x233)](_0x20aebf[_0x515438(0x19e)],{'type':_0x20aebf['yNTCw'],'description':_0x20aebf[_0x515438(0x202)],'default':![]});},async _0x2e42a1=>{const _0x1144c6=_0x5373b0;_0x20aebf[_0x1144c6(0x218)](warnRenamed,_0x20aebf[_0x1144c6(0x135)],'ranger\x20setup'),await withTelemetry(_0x20aebf[_0x1144c6(0x182)],_0x2932b6=>start(_0x2e42a1['token'],{'skipChromium':_0x2e42a1[_0x1144c6(0x1aa)],'skipAuth':_0x2e42a1['skip-auth'],'withDeps':_0x2e42a1['with-deps'],'scope':_0x2e42a1['scope'],'url':_0x2e42a1[_0x1144c6(0x27f)],'force':_0x2e42a1[_0x1144c6(0x15c)]},_0x2932b6));})[_0x5373b0(0x191)](_0x20aebf[_0x5373b0(0x2be)],![],_0x47434d=>{const _0x2dcb62=_0x5373b0;return _0x47434d['option'](_0x20aebf['zEvNy'],{'type':'string','description':_0x20aebf[_0x2dcb62(0x22e)]})[_0x2dcb62(0x233)](_0x2dcb62(0x275),{'type':'string','description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})['option']('item',{'type':_0x20aebf['koxQh'],'description':_0x2dcb62(0x212)})[_0x2dcb62(0x233)](_0x20aebf[_0x2dcb62(0x198)],{'type':'string','hidden':!![]})[_0x2dcb62(0x233)](_0x20aebf['wOsbj'],{'type':'string','hidden':!![]})['option']('scenario',{'type':_0x2dcb62(0x166),'hidden':!![]})['option'](_0x2dcb62(0x1dd),{'type':_0x20aebf['zdUEq'],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})['option']('base-url',{'type':_0x2dcb62(0x2e6),'description':_0x20aebf[_0x2dcb62(0x172)]})[_0x2dcb62(0x233)](_0x20aebf[_0x2dcb62(0x2c7)],{'type':_0x20aebf['zdUEq'],'hidden':!![]})[_0x2dcb62(0x233)](_0x20aebf[_0x2dcb62(0x177)],{'type':_0x2dcb62(0x1af),'hidden':!![],'default':![]})[_0x2dcb62(0x233)]('debug-outcome',{'type':_0x20aebf[_0x2dcb62(0x280)],'hidden':!![],'choices':[_0x20aebf[_0x2dcb62(0x1da)],_0x20aebf[_0x2dcb62(0x266)],_0x20aebf[_0x2dcb62(0x183)],'failed',_0x2dcb62(0x1f8)]});},async _0x94d1cd=>{const _0x549994=_0x5373b0;await _0x20aebf[_0x549994(0x12e)](runGoCommand,_0x94d1cd,!![]);})['command']('add\x20env\x20<env-name>',![],_0x25de66=>{const _0x37cde8=_0x5373b0;return _0x25de66['positional'](_0x37cde8(0x27c),{'type':_0x20aebf['zdUEq'],'description':_0x20aebf[_0x37cde8(0x1de)],'demandOption':!![]})['option']('ci',{'type':'boolean','description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x20aebf['uduXk'],{'type':_0x37cde8(0x1af),'description':_0x37cde8(0x20c),'default':![]});},async _0x2501f8=>{const _0x535235=_0x5373b0;_0x20aebf[_0x535235(0x230)](warnRenamed,_0x20aebf[_0x535235(0x21c)],_0x535235(0x2b9)),await withTelemetry('add\x20env',_0x30965c=>addEnv(_0x2501f8['env-name'],{'ci':_0x2501f8['ci'],'skipAuth':_0x2501f8['skip-auth']},_0x30965c));})[_0x5373b0(0x191)]('use\x20<env-name>',![],_0x1ec2a4=>{const _0x37d66f=_0x5373b0;return _0x1ec2a4[_0x37d66f(0x125)](_0x37d66f(0x27c),{'type':_0x37d66f(0x2e6),'description':_0x37d66f(0x242),'demandOption':!![]});},async _0x210838=>{const _0x761302=_0x5373b0;warnRenamed(_0x20aebf['TYlBi'],'ranger\x20profile\x20use'),await _0x20aebf[_0x761302(0x28a)](withTelemetry,_0x20aebf['UaDKI'],()=>useEnv(_0x210838['env-name']));})[_0x5373b0(0x191)](_0x20aebf['aNmmj'],![],_0x1c8a8c=>{const _0xc93764=_0x5373b0,_0x20af8f={'RegqQ':function(_0x34310c,_0x218056,_0x167dd6){const _0x515c92=_0x39f4;return _0x20aebf[_0x515c92(0x259)](_0x34310c,_0x218056,_0x167dd6);},'dTGyX':'ranger\x20profile\x20config\x20set','QvQMl':function(_0x55fa4b,_0x16971b,_0x59a59a){const _0x57ec63=_0x39f4;return _0x20aebf[_0x57ec63(0x297)](_0x55fa4b,_0x16971b,_0x59a59a);},'FIDCu':_0x20aebf[_0xc93764(0x25e)],'SLPWN':function(_0x980562,_0xb6e034,_0x25dcb9){return _0x980562(_0xb6e034,_0x25dcb9);},'AmTic':_0xc93764(0x293),'oBIPY':function(_0x459c95,_0x3fca7c,_0xd67ee3){return _0x20aebf['OKBzd'](_0x459c95,_0x3fca7c,_0xd67ee3);},'aSZyy':'config\x20list','wzAtA':_0x20aebf['zEvNy'],'wVUpS':'Environment\x20name','toXlH':_0x20aebf['zdUEq']};return _0x1c8a8c[_0xc93764(0x191)](_0x20aebf['BuptZ'],![],_0x2bfe02=>{const _0x4ab9dd=_0xc93764;return _0x2bfe02['positional']('env',{'type':_0x4ab9dd(0x2e6),'description':_0x20aebf['EdKYp'],'demandOption':!![]})['positional'](_0x4ab9dd(0x25d),{'type':'string','description':_0x20aebf['fiCrb'],'demandOption':!![]})[_0x4ab9dd(0x125)](_0x4ab9dd(0x16b),{'type':'string','description':_0x20aebf['qkLDm'],'demandOption':!![]});},async _0x1078c7=>{const _0x3b3318=_0xc93764;_0x20af8f[_0x3b3318(0x169)](warnRenamed,'ranger\x20config\x20set',_0x20af8f['dTGyX']),await _0x20af8f['QvQMl'](withTelemetry,_0x20af8f['FIDCu'],()=>configSet(_0x1078c7[_0x3b3318(0x22a)],_0x1078c7[_0x3b3318(0x25d)],_0x1078c7['value']));})['command'](_0x20aebf['dqbGc'],![],_0x42c30e=>{const _0x300ba0=_0xc93764;return _0x42c30e[_0x300ba0(0x125)]('env',{'type':_0x300ba0(0x2e6),'description':_0x20aebf['EdKYp'],'demandOption':!![]})[_0x300ba0(0x125)](_0x300ba0(0x25d),{'type':_0x300ba0(0x2e6),'description':_0x20aebf[_0x300ba0(0x241)],'demandOption':!![]});},async _0x5541f8=>{const _0x153a13=_0xc93764;warnRenamed('ranger\x20config\x20get','ranger\x20profile\x20config\x20get'),await _0x20af8f[_0x153a13(0x1e4)](withTelemetry,_0x20af8f['AmTic'],()=>configGet(_0x5541f8['env'],_0x5541f8['key']));})['command'](_0x20aebf[_0xc93764(0x2f0)],![],_0x27b8c0=>{const _0xb55159=_0xc93764;return _0x27b8c0[_0xb55159(0x125)]('env',{'type':_0xb55159(0x2e6),'description':_0xb55159(0x265),'demandOption':!![]});},async _0x5b560f=>{const _0x41605b=_0xc93764;_0x20af8f[_0x41605b(0x1e4)](warnRenamed,'ranger\x20config\x20list','ranger\x20profile\x20config\x20list'),await _0x20af8f['oBIPY'](withTelemetry,_0x20af8f['aSZyy'],()=>configList(_0x5b560f[_0x41605b(0x22a)]));})['command']('unset\x20<env>\x20<key>',![],_0x1b3e43=>{const _0x284b5a=_0xc93764;return _0x1b3e43[_0x284b5a(0x125)](_0x20af8f[_0x284b5a(0x1d3)],{'type':'string','description':_0x20af8f[_0x284b5a(0x21d)],'demandOption':!![]})[_0x284b5a(0x125)](_0x284b5a(0x25d),{'type':_0x20af8f['toXlH'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x30cb05=>{const _0x3ade5c=_0xc93764;_0x20aebf[_0x3ade5c(0x1a8)](warnRenamed,_0x3ade5c(0x238),_0x3ade5c(0x215)),await withTelemetry(_0x20aebf['QmBEP'],()=>configUnset(_0x30cb05[_0x3ade5c(0x22a)],_0x30cb05[_0x3ade5c(0x25d)]));})['demandCommand'](0x1,_0x20aebf[_0xc93764(0x1bd)]);})[_0x5373b0(0x191)](_0x20aebf[_0x5373b0(0x161)],![],_0x49d3d9=>{const _0x39bc4e=_0x5373b0,_0xa9d973={'gBIVI':_0x20aebf['xaotv'],'gDOmE':'ranger\x20profile\x20update','WPNag':function(_0x2726c6,_0x35bcf8,_0x43a675){return _0x2726c6(_0x35bcf8,_0x43a675);}};return _0x49d3d9['command']('ls',![],()=>{},async()=>{const _0x2d7d9a=_0x39f4;warnRenamed('ranger\x20env\x20ls',_0x2d7d9a(0x25a)),await withTelemetry(_0x20aebf['mFdRl'],()=>envList());})['command'](_0x39bc4e(0x2c2),![],_0x1646f7=>{const _0x41547e=_0x39bc4e;return _0x1646f7[_0x41547e(0x125)](_0x20aebf['HMihp'],{'type':_0x20aebf['zdUEq'],'description':_0x20aebf['meEYI'],'demandOption':!![]});},async _0x20c4b3=>{const _0x301d58=_0x39bc4e;warnRenamed(_0xa9d973['gBIVI'],_0xa9d973[_0x301d58(0x185)]),await _0xa9d973[_0x301d58(0x15b)](withTelemetry,_0x301d58(0x26e),_0x425a99=>updateEnv(_0x20c4b3['env-name'],_0x425a99));})['demandCommand'](0x1,_0x20aebf['TnFVN']);})[_0x5373b0(0x191)](_0x20aebf['giQCn'],![],_0x2af53e=>{const _0x4e5e33=_0x5373b0,_0x8e6210={'kPysQ':_0x20aebf[_0x4e5e33(0x280)],'Ewjgb':_0x20aebf[_0x4e5e33(0x1ff)],'yBmPJ':_0x4e5e33(0x1b2),'trLhK':_0x20aebf[_0x4e5e33(0x200)],'UuByw':_0x20aebf[_0x4e5e33(0x196)],'jAxYs':_0x4e5e33(0x1d8),'KWSob':'current-branch','oHUPM':_0x20aebf[_0x4e5e33(0x2b8)],'biBXE':'offset','NWbvX':function(_0x1c61ea,_0x1a879c,_0x286674){return _0x20aebf['hoHfh'](_0x1c61ea,_0x1a879c,_0x286674);},'BiJSs':'ranger\x20feature\x20show','MqgRd':_0x4e5e33(0x1cb),'rbdUv':_0x20aebf[_0x4e5e33(0x27b)],'GoEjo':_0x4e5e33(0x28f),'YVnOi':function(_0xd6d28d,_0x4a3519,_0x4d18fc){return _0xd6d28d(_0x4a3519,_0x4d18fc);},'yCDqZ':'feature\x20get-feedback','kLGiC':_0x20aebf[_0x4e5e33(0x2a7)],'ZijOJ':_0x20aebf['AjWiJ'],'RFXpW':_0x4e5e33(0x2bf)};return _0x2af53e[_0x4e5e33(0x191)](_0x20aebf[_0x4e5e33(0x1ba)],![],_0x532b85=>{const _0x6f1842=_0x4e5e33;return _0x532b85['positional'](_0x6f1842(0x13b),{'type':_0x8e6210['kPysQ'],'description':_0x6f1842(0x139),'demandOption':!![]})['option'](_0x8e6210['Ewjgb'],{'type':'string','alias':'d','description':_0x8e6210['yBmPJ']})['option'](_0x8e6210['trLhK'],{'type':_0x8e6210[_0x6f1842(0x268)],'alias':'c','description':_0x8e6210['jAxYs']})['option'](_0x6f1842(0x20e),{'type':_0x8e6210[_0x6f1842(0x268)],'hidden':!![]});},async _0x76c7a5=>{const _0x38431b=_0x4e5e33;_0x20aebf[_0x38431b(0x1ab)](warnRenamed,_0x20aebf[_0x38431b(0x1cf)],_0x20aebf['VEAQe']),warnFlagRenamed(_0x20aebf[_0x38431b(0x1d0)],_0x20aebf[_0x38431b(0x288)],_0x38431b(0x1f6));const _0xf3b150=_0x76c7a5[_0x38431b(0x20e)]||_0x76c7a5['checklist'];await withTelemetry(_0x20aebf[_0x38431b(0x1b1)],()=>featureCreate(_0x76c7a5['name'],{'description':_0x76c7a5[_0x38431b(0x2b5)],'scenarios':_0xf3b150}));})['command'](_0x4e5e33(0x170),![],_0x1e0fca=>{const _0x1c4c47=_0x4e5e33;return _0x1e0fca[_0x1c4c47(0x233)](_0x8e6210['KWSob'],{'type':'boolean','description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x1c4c47(0x2c5),{'type':_0x8e6210[_0x1c4c47(0x147)],'alias':'l','description':_0x1c4c47(0x1a5),'default':0xa})[_0x1c4c47(0x233)](_0x8e6210['biBXE'],{'type':_0x8e6210[_0x1c4c47(0x147)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x1c4c47(0x233)](_0x1c4c47(0x2a2),{'type':_0x1c4c47(0x1af),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x844648=>{const _0x506137=_0x4e5e33;_0x20aebf[_0x506137(0x19c)](warnRenamed,_0x20aebf['EVaWv'],'ranger\x20list'),await _0x20aebf['HgjzW'](withTelemetry,_0x20aebf['Ienra'],()=>featureList({'currentBranch':_0x844648[_0x506137(0x13d)],'limit':_0x844648[_0x506137(0x2c5)],'offset':_0x844648['offset'],'includeDeleted':_0x844648['include-deleted']}));})['command']('show\x20[id]',![],_0xa29d29=>{const _0x48d94a=_0x4e5e33;return _0xa29d29['positional']('id',{'type':'string','description':_0x48d94a(0x1f4)});},async _0x48eff3=>{const _0x20b616=_0x4e5e33;_0x8e6210['NWbvX'](warnRenamed,_0x8e6210['BiJSs'],_0x8e6210[_0x20b616(0x1d4)]),await withTelemetry('feature\x20show',()=>featureShow(_0x48eff3['id']));})['command']('resume\x20[id]',![],_0x2b41da=>{const _0x1f84a8=_0x4e5e33;return _0x2b41da[_0x1f84a8(0x125)]('id',{'type':_0x20aebf[_0x1f84a8(0x280)],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x317f65=>{const _0x58399c=_0x4e5e33;_0x20aebf['WRUFq'](warnRenamed,_0x20aebf['IKMXX'],_0x58399c(0x193)),await _0x20aebf[_0x58399c(0x162)](withTelemetry,_0x20aebf[_0x58399c(0x159)],()=>featureResume(_0x317f65['id']));})[_0x4e5e33(0x191)]('add-checklist-item\x20<description>',![],_0x2d6dd0=>{const _0x33d2ae=_0x4e5e33;return _0x2d6dd0['positional'](_0x33d2ae(0x2b5),{'type':'string','description':_0x33d2ae(0x21a),'demandOption':!![]})['option']('id',{'type':_0x33d2ae(0x2e6),'description':_0x33d2ae(0x199)});},async _0x5bf796=>{const _0x154860=_0x4e5e33;warnRenamed(_0x20aebf[_0x154860(0x2ee)],_0x20aebf[_0x154860(0x246)]),await withTelemetry('feature\x20add-checklist-item',()=>featureAddScenario(_0x5bf796[_0x154860(0x2b5)],_0x5bf796['id']));})['command'](_0x20aebf[_0x4e5e33(0x2e0)],![],_0x5cd4c7=>{const _0x5f5d99=_0x4e5e33;return _0x5cd4c7['positional']('id',{'type':_0x8e6210[_0x5f5d99(0x168)],'description':_0x5f5d99(0x199)});},async _0x46f4ed=>{const _0x244351=_0x4e5e33;warnRenamed(_0x8e6210['rbdUv'],_0x8e6210['GoEjo']),await _0x8e6210['YVnOi'](withTelemetry,_0x8e6210[_0x244351(0x232)],()=>featureGetReview(_0x46f4ed['id']));})[_0x4e5e33(0x191)](_0x4e5e33(0x270),![],_0x380fd3=>{const _0x255efb=_0x4e5e33;return _0x380fd3['positional']('id',{'type':_0x20aebf[_0x255efb(0x280)],'description':'Feature\x20review\x20ID'});},async _0x4622cc=>{const _0x2271ea=_0x4e5e33;warnRenamed(_0x8e6210[_0x2271ea(0x29e)],_0x8e6210['ZijOJ']),await withTelemetry(_0x8e6210['RFXpW'],()=>featureDelete(_0x4622cc['id']));})[_0x4e5e33(0x191)](_0x20aebf['eSNRO'],![],_0xe05540=>{const _0x5a04a2=_0x4e5e33;return _0xe05540['positional']('id',{'type':_0x20aebf[_0x5a04a2(0x280)],'description':_0x20aebf[_0x5a04a2(0x16e)],'demandOption':!![]});},async _0x4e813c=>{const _0x5d0836=_0x4e5e33;_0x20aebf['lwHaj'](warnRenamed,_0x5d0836(0x2ba),_0x20aebf[_0x5d0836(0x140)]),await _0x20aebf[_0x5d0836(0x1df)](withTelemetry,_0x20aebf[_0x5d0836(0x1a9)],()=>featureRestore(_0x4e813c['id']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})['command'](_0x5373b0(0x2c1),![],_0x57caf7=>{const _0x5dc4fe=_0x5373b0,_0xb6a826={'qqngW':_0x20aebf['rlarx'],'DVrnr':_0x5dc4fe(0x17d),'SAkeo':function(_0x28fc5c,_0x30982a,_0xb4a1e7){return _0x28fc5c(_0x30982a,_0xb4a1e7);},'WQzxF':_0x20aebf[_0x5dc4fe(0x146)]};return _0x57caf7[_0x5dc4fe(0x191)]('enable',_0x20aebf[_0x5dc4fe(0x209)],_0x5b872d=>{const _0x3f4115=_0x5dc4fe;return _0x5b872d['option']('session-id',{'type':_0x3f4115(0x2e6),'description':_0x3f4115(0x17d)});},async _0x5a2fc3=>{const _0x4c485e=_0x5dc4fe;await withTelemetry(_0xb6a826['qqngW'],()=>hook(_0x4c485e(0x220),_0x5a2fc3['session-id']));})[_0x5dc4fe(0x191)](_0x20aebf[_0x5dc4fe(0x2c8)],_0x20aebf['NeVYg'],_0x50c54a=>{const _0xafa0ef=_0x5dc4fe;return _0x50c54a[_0xafa0ef(0x233)](_0xafa0ef(0x123),{'type':'string','description':_0xb6a826[_0xafa0ef(0x192)]});},async _0x2baa59=>{const _0x9f591f=_0x5dc4fe;await _0xb6a826[_0x9f591f(0x2cc)](withTelemetry,_0xb6a826[_0x9f591f(0x1a6)],()=>hook('disable',_0x2baa59[_0x9f591f(0x123)]));})[_0x5dc4fe(0x233)](_0x20aebf[_0x5dc4fe(0x174)],{'type':'string','description':_0x20aebf[_0x5dc4fe(0x129)]})['option'](_0x20aebf[_0x5dc4fe(0x1be)],{'type':_0x20aebf['zdUEq'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x2867ad=>{const _0x4d73a2=_0x5373b0;_0x2867ad[_0x4d73a2(0x13b)]&&await hook(_0x2867ad[_0x4d73a2(0x13b)],_0x2867ad[_0x20aebf[_0x4d73a2(0x1be)]]);})[_0x5373b0(0x19f)](0x1,_0x20aebf[_0x5373b0(0x16f)])[_0x5373b0(0x2cb)]()[_0x5373b0(0x247)](async(_0x104838,_0x281538,_0x1471d0)=>{const _0x5f5358=_0x5373b0,_0xd66f91=_0x20aebf['EtVwM'](sanitizeArgs,process[_0x5f5358(0x2e1)]['slice'](0x2)),_0x1418d5=getErrorType(_0x104838,_0x281538);if(_0x104838&&_0x104838[_0x5f5358(0x2ec)]('Unknown\x20command')){const _0x503f14=process['argv'][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x503f14),console[_0x5f5358(0x240)](_0x5f5358(0x173));}else{if(_0x104838)console[_0x5f5358(0x240)]('\x0a'+_0x104838+'\x0a');else _0x281538&&console['error'](_0x5f5358(0x1b8)+_0x281538['message']+'\x0a');}await _0x20aebf[_0x5f5358(0x276)](logDesirePath,{'rawCommand':_0xd66f91,'errorMessage':_0x104838||_0x281538?.[_0x5f5358(0x285)],'errorType':_0x1418d5});const _0x16af46=_0x20aebf['nKKHW'](getCurrentCollector);_0x16af46&&await _0x16af46[_0x5f5358(0x29f)](_0x281538||new Error(_0x20aebf[_0x5f5358(0x136)](_0x104838,_0x20aebf[_0x5f5358(0x163)]))),process[_0x5f5358(0x1a4)](0x1);})[_0x5373b0(0x132)](_0x20aebf['qTJQs'](_0x20aebf['qTJQs']('Documentation:\x0a',_0x20aebf[_0x5373b0(0x236)]),_0x20aebf[_0x5373b0(0x142)]))[_0x5373b0(0x24a)]()[_0x5373b0(0x282)](_0x20aebf[_0x5373b0(0x24d)],'h');}process[_0x5a03f7(0x22a)]['NODE_ENV']!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x5a03f7(0x2ca)]());
|