@ranger-testing/ranger-cli 2.5.4 → 3.0.1-alpha.55b593b-29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -14
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/deleteProfile.js +1 -0
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -0
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/agentEnv.js +1 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -0
- package/build/commands/utils/cloudProfileSession.js +1 -0
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -0
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/legacyWarning.js +1 -0
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -0
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/novaActCli.js +1 -0
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/projectsConfig.js +1 -0
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -0
- package/build/commands/utils/resolveProfileUrl.js +1 -0
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/commands/verifyFeatureNovaCli.js +1 -0
- package/build/skills/ranger/SKILL.md +36 -6
- package/build/skills/ranger/create.md +19 -0
- package/build/skills/ranger/verify.md +46 -7
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ This walks you through everything interactively:
|
|
|
25
25
|
- **Authentication** -- opens your browser to log in (credentials stored in OS Keychain)
|
|
26
26
|
- **Chromium** -- installs the browser used for verification
|
|
27
27
|
- **Plugin** -- installs the Claude Code plugin (you choose user-level or project-level)
|
|
28
|
-
- **Profile** -- prompts for your app's URL, opens a browser to capture
|
|
28
|
+
- **Profile** -- prompts for your app's URL, opens a browser to capture a session for the verification agent
|
|
29
29
|
- **Skills** -- installs markdown files that teach Claude the Ranger workflow
|
|
30
30
|
|
|
31
31
|
> For CI, pass a token directly: `ranger setup [token]`. See `RANGER_CLI_TOKEN` env var for non-interactive use.
|
|
@@ -61,13 +61,24 @@ Ask Claude to build a UI feature. Ranger handles the rest: creating a feature re
|
|
|
61
61
|
|
|
62
62
|
### Profiles
|
|
63
63
|
|
|
64
|
+
A profile tells Ranger where your app runs and how to log in. Run
|
|
65
|
+
`ranger profile add <name>` once — a browser opens, you log in, Ranger
|
|
66
|
+
saves the session for every subsequent run. Convention is one profile per
|
|
67
|
+
account; the CLI suggests `git config user.email` as a default name.
|
|
68
|
+
|
|
64
69
|
| Command | Description |
|
|
65
70
|
| ------------------------------------- | ----------------------------------------------------- |
|
|
66
|
-
| `ranger profile add <name>` | Add a
|
|
71
|
+
| `ranger profile add <name>` | Add a profile (opens a browser for login). Use `--safe-mode` if the browser crashes. |
|
|
67
72
|
| `ranger profile use <name>` | Switch active profile |
|
|
68
73
|
| `ranger profile ls` | List all profiles |
|
|
69
|
-
|
|
70
|
-
|
|
74
|
+
|
|
75
|
+
For CI / background agents and other setup options, see
|
|
76
|
+
https://docs.ranger.net/main/concepts/profiles.
|
|
77
|
+
|
|
78
|
+
> Deprecated: `ranger profile update`, `ranger profile encrypt-auth`, and
|
|
79
|
+
> `ranger profile migrate` exit non-zero with a redirect. Run
|
|
80
|
+
> `ranger profile add <name>` to set up a fresh profile. See
|
|
81
|
+
> https://docs.ranger.net/main/concepts/profiles for setup options.
|
|
71
82
|
|
|
72
83
|
### Feature Reviews
|
|
73
84
|
|
|
@@ -89,7 +100,12 @@ Ask Claude to build a UI feature. Ranger handles the rest: creating a feature re
|
|
|
89
100
|
| ------------ | ------------------------------------ |
|
|
90
101
|
| `ranger go` | Verify a scenario in the browser |
|
|
91
102
|
|
|
92
|
-
Options: `--scenario <N>` (scenario index), `--notes "<desc>"` (override notes), `--start-path /path` (start URL), `--profile <name>`, `--model <model>`, `--headed` (force headed browser for this run only).
|
|
103
|
+
Options: `--scenario <N>` (scenario index), `--notes "<desc>"` (override notes), `--start-path /path` (start URL), `--base-url <url>` (override profile base URL), `--profile <name>`, `--model <model>`, `--headed` (force headed browser for this run only).
|
|
104
|
+
|
|
105
|
+
Env vars:
|
|
106
|
+
- `RANGER_TEST_USERNAME` / `RANGER_TEST_PASSWORD` — for [automated login](https://docs.ranger.net/main/concepts/profiles#automated-login). The fastest path for CI / background agents. Works for any login flow we can run deterministically (username/password, SSO, OAuth, MFA, passkeys, magic links) — set up per-app with our team. Talk to us.
|
|
107
|
+
- `RANGER_PROFILE` — pin a profile (lower precedence than `--profile`).
|
|
108
|
+
- `RANGER_BASE_URL` / `RANGER_START_PATH` — analogues of `--base-url` / `--start-path`.
|
|
93
109
|
|
|
94
110
|
You can set a default verify model in `.ranger/config.json`:
|
|
95
111
|
|
|
@@ -101,14 +117,18 @@ You can set a default verify model in `.ranger/config.json`:
|
|
|
101
117
|
|
|
102
118
|
### Config
|
|
103
119
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
|
108
|
-
|
|
|
109
|
-
| `ranger profile config
|
|
120
|
+
Fine-tune browser behavior for a profile. Settings apply per cwd, so
|
|
121
|
+
different checkouts of the same repo can have different overrides.
|
|
122
|
+
|
|
123
|
+
| Command | Description |
|
|
124
|
+
| --------------------------------------------------- | ------------------------------ |
|
|
125
|
+
| `ranger profile config set <profile> <key> <value>` | Set a config value |
|
|
126
|
+
| `ranger profile config get <profile> <key>` | Read a config value |
|
|
127
|
+
| `ranger profile config list <profile>` | Show all config for a profile |
|
|
128
|
+
| `ranger profile config unset <profile> <key>` | Remove a config value |
|
|
129
|
+
| `ranger profile config reset <profile>` | Clear all overrides (cloud only) |
|
|
110
130
|
|
|
111
|
-
Keys: `headless`, `userAgent`, `storageState`, `
|
|
131
|
+
Keys: `baseUrl`, `headless`, `userAgent`, `storageState`, `allowInsecureLocalhost`, `headers.<name>`, `setupHeaders.<name>`. Environment variables (e.g., `${AUTH_TOKEN}`) are resolved at runtime.
|
|
112
132
|
|
|
113
133
|
## Plugin
|
|
114
134
|
|
|
@@ -121,12 +141,14 @@ claude plugin install ranger@trailhead --scope user
|
|
|
121
141
|
|
|
122
142
|
## Troubleshooting
|
|
123
143
|
|
|
124
|
-
**"No active profile"** -- Run `ranger profile use <profile-name
|
|
144
|
+
**"No active profile"** -- Run `ranger profile use <profile-name>`, or set `RANGER_PROFILE=<name>` for the session.
|
|
125
145
|
|
|
126
|
-
**Authentication expired** -- Run `ranger profile
|
|
146
|
+
**Authentication expired** -- Run `ranger profile add <name>` to refresh. (For automated login, re-run `ranger go` with `RANGER_TEST_USERNAME` / `RANGER_TEST_PASSWORD` set.)
|
|
127
147
|
|
|
128
148
|
**Browser crashes during profile setup** -- On some macOS + Chrome combinations, the browser may crash during authentication. Run `ranger profile add <name> --safe-mode` to disable browser features that trigger the crash.
|
|
129
149
|
|
|
130
150
|
**"No active feature review"** -- Run `ranger list` then `ranger resume <id>`.
|
|
131
151
|
|
|
152
|
+
**Daily warning about legacy `.ranger/` paths** -- Existing sessions in those paths still work as a fallback, but new sessions are managed for you. Run `ranger profile add <name>` to set up a fresh profile, then delete the legacy dirs to silence the warning. See https://docs.ranger.net/main/concepts/profiles.
|
|
153
|
+
|
|
132
154
|
Run `ranger status` to see everything at a glance.
|
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
function _0xd593(){const _0x4f2119=['clcHG','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','QMMPg','fDagX','vwNHk','gKleQ','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','ranger\x20config\x20list','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','FaXoV','Skip\x20browser\x20authentication','Run\x20full\x20interactive\x20setup','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.','\x0aIssues:','feature\x20create','TEsOD','feature\x20list','update','Feature\x20review\x20ID','UFYxr','add-scenario','Switch\x20to\x20using\x20a\x20specific\x20profile','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','ZrIqu','scope','vkavv','--item','FrWBB','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','failed','bkUUO','IhHoh','start','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ranger\x20feature\x20get-feedback','setup:profiles','\x20PARTIAL','Name\x20of\x20the\x20environment\x20to\x20update','name','fQhwY','bBwDe','JwRPH','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','ranger\x20env\x20update','MhCtG','Scenario\x20index\x20(1-based)','ranger\x20start','MSdur','argv','CPbvX','You\x20must\x20specify\x20an\x20auth\x20subcommand','opencode','env','with-deps','NcFKf','--checklist','usage','lDaZt','Scenario\x20description','PTBre','option','WAUMz','setup:login','pheCf','ZbHdt','Gcjnm','evaluation','clean','kREmE','iegYC','mZxAn','ranger\x20config\x20unset','number','HCAJo','Install\x20skills\x20for\x20OpenCode','root','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','LmEeo','Ranger\x20API\x20token\x20(rngr_...)','json','Manage\x20profile\x20configuration','anTDI','ozRZp','4UOeuYa','help','kbiDZ','log','Set\x20a\x20config\x20value','scriptName','aPgLE','ranger\x20verify-feature','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','fxnvo','status','Skip\x20authentication','offset','zHypo','Print\x20the\x20current\x20CLI\x20access\x20token','setup-header','eDkhq','ranger\x20create','error','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','get-review','command','gRmMg','ijEyl','use','ranger','AYzWN','hook:disable','vfval','Name\x20of\x20the\x20profile','Install\x20scope\x20for\x20skills','ranger\x20go','description','feature\x20delete','blocked','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','Install\x20OS-level\x20dependencies\x20for\x20Chromium','iPvCw','feature\x20show','nZQrx','user','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','gQvvg','ogNvo','WTxOg','RUBOZ','env-name','trackCommandError','New\x20scenario\x20description','enable','EbfPE','ranger\x20delete','exitCode','Reason:\x20','MPhsW','ERxLQ','KQtUU','--profile','profile\x20use','HtsEr','9017142wyWUpr','Alias\x20for\x20--mcp-bootstrap','message','fZtyG','mkDwg','profile\x20config\x20get','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','SojAq','ranger\x20show','NdoWc','svzkk','create\x20<name>','verified','JoeQl','XdVxI','CFzJG','value','JnABA','akgWs','Unknown\x20command','Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level','delete\x20[id]','besMk','sYuas','\x20BLOCKED','restore\x20<id>','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','RzRpf','aFCcL','3896961XbLidu','rmFjc','owTYm','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','skip-chromium','issues','jDUwP','GChrm','organizationName','EEZFd','wWRcv','xRsme','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','fZVCF','feature\x20get-feedback','vYdnO','4137798KtmeFk','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','--task','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard)','.env','FRCiA','ranger\x20profile\x20use','You\x20must\x20specify\x20a\x20command','Name\x20of\x20the\x20environment','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true','RVQIG','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','vvsEp','✓\x20Authenticated\x20to\x20','fZIFi','profile-name','array','Gcjly','Feature\x20review\x20description','Documentation:\x0a','--env','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','yrrES','exit','setup-ci','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','nlpLJ','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','sNTFI','uCrjm','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','kkAVb','ranger\x20setup','You\x20must\x20specify\x20a\x20config\x20subcommand','login','Feature\x20review\x20ID\x20to\x20restore','disable','iMgOM','ranger\x20add\x20env','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','force','notes','demandCommand','VCwVY','IoImt','IooEx','add\x20env','YBClR','ZzpQw','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','hPiAh','KuyDa','kgXPP','setup:all','show','vNPih','start-path','Profile\x20name','Rhxaj','lqsBm','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','skillup','xWeLV','list','FctjU','limit','2511682KTkEbz','dYxdF','2980648wZqDkZ','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','print-access-token','kqiUG','allow-insecure-localhost','lXrdI','\x20\x20https://docs.ranger.net\x0a','KhFdg','\x20VERIFIED','KQNJb','vhGNg','Authenticate\x20via\x20MCP\x20proxy','ranger\x20profile\x20ls','tOsWq','mcp-bootstrap','mDIBG','key','model','config','--notes','sBISv','Environment\x20name','KwHuv','skip-auth','env\x20update','TRYqE','sdirf','token','joDvG','all','iGpyE','show\x20[id]','current-branch','25790SLTXyU','wyjYy','debug-address-comments','dKoLB','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','MdUHm','include-deleted','ranger\x20profile\x20config\x20set','checklist','Unknown\x20error','url','--scenario','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','add\x20env\x20<env-name>','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','KQAdT','profiles','LvdLJ','PxYDl','Summary:\x20','UARrO','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','resume\x20[id]','fOoTQ','Install\x20Chromium\x20browser\x20binary','vAiUa','boolean','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','string','scenario','feature\x20add-checklist-item','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','YaRiq','Ranger\x20API\x20token','2500625VzKshd','report','KGICX','get-feedback\x20[id]','cTqTm','List\x20all\x20feature\x20reviews','mcp','get-review\x20[id]','beHWw','gCerQ','HEqOx','ranger\x20restore','woGwl','1TwCARG','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','Config\x20key','zXsnZ','bWEPU','setup\x20[tokenOrSubcommand]','slice','RoNDu','jkagH','positional','profile\x20config\x20set','QiBWO','JnwDj','cwd','start\x20[token]','Include\x20soft-deleted\x20feature\x20reviews','feature','ghaxy','epilogue','akdMi','headed','LRMgb','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','RrQdk','Feature\x20review\x20name','gcOZc','ranger\x20feature\x20create','ranger\x20resume','ranger\x20feature\x20restore','session-id','Number\x20of\x20feature\x20reviews\x20to\x20skip','YwtLZ','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','parse','ranger\x20profile\x20config\x20unset','Config\x20value','rEEuD','uUIMQ','ranger\x20feature\x20list','2961tfBGAE','setup:deps','ranger\x20profile\x20add','oSenh','project','You\x20must\x20specify\x20an\x20env\x20subcommand','profile','zBjFe','config\x20set','TemEb','incomplete','qVLuM','kpely','euJSH','PChyD','FvYYY','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'];_0xd593=function(){return _0x4f2119;};return _0xd593();}const _0x5772e9=_0x2210;(function(_0x36cecc,_0x3ab4ed){const _0x51504d=_0x2210,_0x173020=_0x36cecc();while(!![]){try{const _0x4065bd=-parseInt(_0x51504d(0x124))/0x1*(parseInt(_0x51504d(0x25c))/0x2)+-parseInt(_0x51504d(0x20a))/0x3*(-parseInt(_0x51504d(0x1b0))/0x4)+parseInt(_0x51504d(0x2a1))/0x5+-parseInt(_0x51504d(0x1ec))/0x6+parseInt(_0x51504d(0x21a))/0x7+parseInt(_0x51504d(0x25e))/0x8+-parseInt(_0x51504d(0x14b))/0x9*(-parseInt(_0x51504d(0x27f))/0xa);if(_0x4065bd===_0x3ab4ed)break;else _0x173020['push'](_0x173020['shift']());}catch(_0x46eb68){_0x173020['push'](_0x173020['shift']());}}}(_0xd593,0xd0278));import _0xde9a79 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x495707=_0x2210,_0x3f93e5={'qoUaG':function(_0x546f85,_0x5cb417){return _0x546f85(_0x5cb417);},'DfRNS':function(_0x52509f,_0x4941ba){return _0x52509f!==_0x4941ba;},'owTYm':function(_0x4a8680,_0xe2363d,_0x21c679){return _0x4a8680(_0xe2363d,_0x21c679);},'MAuGv':'.ranger','IaYin':function(_0x33ba9b,_0x355a99,_0x51192c){return _0x33ba9b(_0x355a99,_0x51192c);}};let _0x9d2436=process['cwd']();const _0x182ad1=_0x3f93e5['qoUaG'](parse,_0x9d2436)[_0x495707(0x1a8)];while(_0x3f93e5['DfRNS'](_0x9d2436,_0x182ad1)){if(existsSync(_0x3f93e5[_0x495707(0x20c)](join,_0x9d2436,_0x3f93e5['MAuGv']))||_0x3f93e5['qoUaG'](existsSync,_0x3f93e5['IaYin'](join,_0x9d2436,_0x495707(0x21e))))return _0x9d2436;_0x9d2436=dirname(_0x9d2436);}return process[_0x495707(0x131)]();}_0xde9a79['config']({'path':join(findProjectRoot(),_0x5772e9(0x21e))});import _0x4dbaef from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';function _0x2210(_0x53375c,_0x43acaf){_0x53375c=_0x53375c-0x11b;const _0xd5938a=_0xd593();let _0x221045=_0xd5938a[_0x53375c];return _0x221045;}import{getToken}from'./commands/utils/keychain.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x5d4b93=>{const _0x3f0db7=_0x5772e9,_0xcb4ede={'INmyK':function(_0x3bdc6a){return _0x3bdc6a();}},_0x2b5989=_0xcb4ede['INmyK'](getCurrentCollector);_0x2b5989&&await _0x2b5989[_0x3f0db7(0x1df)](_0x5d4b93),process[_0x3f0db7(0x1e4)]=0x1;});const rawArgs=process['argv'][_0x5772e9(0x12a)](0x2),TOP_LEVEL_HELP=_0x5772e9(0x168),PROFILE_HELP=_0x5772e9(0x223),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x0aKeys:\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20header.X-Test-Mode)\x0a\x20\x20setupHeader.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeader.x-bypass-turnstile)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20header.Authorization\x20\x27${AUTH_TOKEN}\x27\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20setupHeader.x-bypass-turnstile\x20\x27a1b2c3d4...\x27';function warnRenamed(_0x4766ae,_0x531c60){const _0x55b897=_0x5772e9;console[_0x55b897(0x1c2)]('\x0a'+_0x4766ae+'\x20is\x20now\x20'+_0x531c60+'\x0a');}function argUsed(_0x59a328){return rawArgs['some'](_0x4292b2=>_0x4292b2===_0x59a328||_0x4292b2['startsWith'](_0x59a328+'='));}function warnFlagRenamed(_0x364cd8,_0x24cc0a,_0x1a08ad){argUsed(_0x24cc0a)&&warnRenamed(_0x364cd8+'\x20'+_0x24cc0a,_0x364cd8+'\x20'+_0x1a08ad);}async function runGoCommand(_0x17bf86,_0x2b5c4b=![]){const _0x5c3f31=_0x5772e9,_0x181ac7={'lqsBm':function(_0x288a46,_0xe37391,_0x59ed27){return _0x288a46(_0xe37391,_0x59ed27);},'fQhwY':'ranger\x20go','KQtUU':_0x5c3f31(0x22e),'kREmE':_0x5c3f31(0x271),'lMGCo':_0x5c3f31(0x176),'Cxqoc':_0x5c3f31(0x252),'PrswZ':_0x5c3f31(0x281),'CKiTV':function(_0x3a758d,_0xfbd703){return _0x3a758d+_0xfbd703;},'nWJUx':function(_0x20c6cc,_0x428a62){return _0x20c6cc===_0x428a62;},'gbRxh':_0x5c3f31(0x155),'QlFym':function(_0x4e596f,_0x4164b1){return _0x4e596f===_0x4164b1;},'KeTOw':function(_0x15ce4b,_0x5c743b){return _0x15ce4b===_0x5c743b;},'wWRcv':_0x5c3f31(0x1f9)};_0x2b5c4b&&_0x181ac7[_0x5c3f31(0x255)](warnRenamed,_0x5c3f31(0x1b7),'ranger\x20go');warnFlagRenamed(_0x181ac7[_0x5c3f31(0x184)],_0x181ac7[_0x5c3f31(0x1e8)],_0x5c3f31(0x1e9)),warnFlagRenamed(_0x181ac7['fQhwY'],_0x5c3f31(0x21c),_0x181ac7[_0x5c3f31(0x1a1)]),warnFlagRenamed(_0x5c3f31(0x1cf),_0x181ac7['lMGCo'],'--scenario');const _0x385d48=await loadRangerConfig(),_0x6274e3=isByokEnabled(),_0x2f6a93=_0x17bf86['model'],_0x1bf2c6=_0x385d48['model'],_0x9fb045=await verifyFeature({'featureId':_0x17bf86['feature'],'profile':_0x17bf86['profile']??_0x17bf86[_0x5c3f31(0x191)],'notes':_0x17bf86[_0x5c3f31(0x243)]??_0x17bf86['task'],'scenario':_0x17bf86['scenario']??_0x17bf86['item'],'startPath':_0x17bf86[_0x181ac7['Cxqoc']],'debugOutcome':_0x17bf86['debug-outcome'],'debugAddressComments':_0x17bf86[_0x181ac7['PrswZ']],'headed':_0x17bf86[_0x5c3f31(0x138)],'byokEnabled':_0x6274e3,'flagVerifyModel':_0x2f6a93,'configVerifyModel':_0x1bf2c6});console['log'](_0x181ac7['CKiTV']('\x0a','='['repeat'](0x3c))),console['log'](_0x9fb045['evaluation']===_0x5c3f31(0x1f9)?_0x5c3f31(0x266):_0x181ac7['nWJUx'](_0x9fb045[_0x5c3f31(0x19f)],_0x181ac7['gbRxh'])?'\x20INCOMPLETE':_0x181ac7['QlFym'](_0x9fb045['evaluation'],'partial')?_0x5c3f31(0x181):_0x181ac7['KeTOw'](_0x9fb045['evaluation'],'blocked')?_0x5c3f31(0x205):'\x20FAILED'),console[_0x5c3f31(0x1b3)]('='['repeat'](0x3c)),console[_0x5c3f31(0x1b3)](_0x5c3f31(0x292)+_0x9fb045['summary']),console[_0x5c3f31(0x1b3)]('Evaluation:\x20'+_0x9fb045['evaluation']),console[_0x5c3f31(0x1b3)](_0x5c3f31(0x1e5)+_0x9fb045['evaluationReason']),_0x9fb045[_0x5c3f31(0x20f)]?.['length']&&(console[_0x5c3f31(0x1b3)](_0x5c3f31(0x169)),_0x9fb045[_0x5c3f31(0x20f)]['forEach']((_0x44748c,_0x160c50)=>{const _0x416f4e=_0x5c3f31;console[_0x416f4e(0x1b3)]('\x0a'+(_0x160c50+0x1)+'.\x20['+_0x44748c['severity']+']\x20'+_0x44748c[_0x416f4e(0x1d0)]);})),process[_0x5c3f31(0x231)](_0x9fb045[_0x5c3f31(0x19f)]===_0x181ac7[_0x5c3f31(0x214)]?0x0:0x1);}_0x4dbaef(process[_0x5772e9(0x18d)][_0x5772e9(0x12a)](0x2))[_0x5772e9(0x1b5)]('ranger')['usage'](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x5772e9(0x1f8),'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0xfc967e=>{const _0x514b54=_0x5772e9,_0x17e24c={'ycUbS':_0x514b54(0x13c),'PkqFp':'description','nDxGC':_0x514b54(0x29b),'vwNHk':_0x514b54(0x22c),'sNTFI':_0x514b54(0x29c),'FctjU':_0x514b54(0x125),'IooEx':_0x514b54(0x287)};return _0xfc967e['positional']('name',{'type':_0x514b54(0x29b),'description':_0x17e24c['ycUbS'],'demandOption':!![]})['option'](_0x17e24c['PkqFp'],{'type':_0x17e24c['nDxGC'],'alias':'d','description':_0x17e24c[_0x514b54(0x160)]})['option'](_0x17e24c[_0x514b54(0x236)],{'type':'array','alias':'c','description':_0x17e24c[_0x514b54(0x25a)]})[_0x514b54(0x199)](_0x17e24c[_0x514b54(0x247)],{'type':_0x514b54(0x22a),'hidden':!![]});},async _0x4ad4be=>{const _0x44e758=_0x5772e9,_0x111803={'jkagH':function(_0x248b25,_0x3a9c2b,_0x6c27da,_0x1ea99a){return _0x248b25(_0x3a9c2b,_0x6c27da,_0x1ea99a);},'izCPL':_0x44e758(0x194),'ZaoQL':function(_0xf0000f,_0x2df795,_0x247dd9){return _0xf0000f(_0x2df795,_0x247dd9);}};_0x111803[_0x44e758(0x12c)](warnFlagRenamed,'ranger\x20create',_0x111803['izCPL'],_0x44e758(0x28a));const _0x5aaa69=_0x4ad4be['scenario']||_0x4ad4be['checklist'];await _0x111803['ZaoQL'](withTelemetry,'create',()=>featureCreate(_0x4ad4be['name'],{'description':_0x4ad4be[_0x44e758(0x1d0)],'scenarios':_0x5aaa69}));})['command']('list',_0x5772e9(0x11c),_0x3acdc6=>{const _0x4c52a8=_0x5772e9,_0x147a9d={'bHxbu':'current-branch','KGICX':_0x4c52a8(0x233),'WTxOg':'number','CPbvX':_0x4c52a8(0x1d9),'xWeLV':_0x4c52a8(0x142),'vAiUa':'include-deleted','mRZKl':'boolean'};return _0x3acdc6['option'](_0x147a9d['bHxbu'],{'type':'boolean','description':_0x147a9d[_0x4c52a8(0x2a3)]})['option']('limit',{'type':_0x147a9d[_0x4c52a8(0x1dc)],'alias':'l','description':_0x147a9d[_0x4c52a8(0x18e)],'default':0xa})['option']('offset',{'type':_0x147a9d[_0x4c52a8(0x1dc)],'alias':'o','description':_0x147a9d[_0x4c52a8(0x258)],'default':0x0})['option'](_0x147a9d[_0x4c52a8(0x298)],{'type':_0x147a9d['mRZKl'],'alias':'d','description':_0x4c52a8(0x133),'default':![]});},async _0x28524e=>{const _0x176d32=_0x5772e9;await withTelemetry('list',()=>featureList({'currentBranch':_0x28524e[_0x176d32(0x27e)],'limit':_0x28524e[_0x176d32(0x25b)],'offset':_0x28524e['offset'],'includeDeleted':_0x28524e[_0x176d32(0x285)]}));})['command']('show\x20[id]','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x1e7255=>{const _0x39880d=_0x5772e9;return _0x1e7255[_0x39880d(0x12d)]('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x29d0e3=>{const _0x2fd2c8=_0x5772e9,_0x116255={'hoPBp':_0x2fd2c8(0x250)};await withTelemetry(_0x116255['hoPBp'],()=>featureShow(_0x29d0e3['id']));})['command'](_0x5772e9(0x295),'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context',_0x27c910=>{const _0xac745a=_0x5772e9;return _0x27c910[_0xac745a(0x12d)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x599cc4=>{const _0x20033e=_0x5772e9,_0x43d5a3={'MdUHm':function(_0x487112,_0x330d1f,_0x346d03){return _0x487112(_0x330d1f,_0x346d03);},'iMtVk':'resume'};await _0x43d5a3[_0x20033e(0x284)](withTelemetry,_0x43d5a3['iMtVk'],()=>featureResume(_0x599cc4['id']));})[_0x5772e9(0x1c5)]('add-scenario\x20<description>','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x342816=>{const _0x42fedb=_0x5772e9,_0x5e50fe={'akdMi':_0x42fedb(0x1d0),'gCerQ':'Scenario\x20description','SNumS':'string'};return _0x342816['positional'](_0x5e50fe[_0x42fedb(0x137)],{'type':_0x42fedb(0x29b),'description':_0x5e50fe[_0x42fedb(0x120)],'demandOption':!![]})[_0x42fedb(0x199)]('id',{'type':_0x5e50fe['SNumS'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4b0d8c=>{const _0x97c2cf=_0x5772e9,_0x4c005b={'rMEnw':function(_0x1fdbbc,_0x35c6f2,_0x40606d){return _0x1fdbbc(_0x35c6f2,_0x40606d);},'bkUUO':_0x97c2cf(0x170)};await _0x4c005b['rMEnw'](withTelemetry,_0x4c005b[_0x97c2cf(0x17b)],()=>featureAddScenario(_0x4b0d8c[_0x97c2cf(0x1d0)],_0x4b0d8c['id']));})['command']('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x75eb0f=>{const _0x4e790b=_0x5772e9,_0x3b2ba5={'voGxo':'string','dKoLB':_0x4e790b(0x1e0),'yrrES':'scenario','cTqTm':'Scenario\x20number\x20to\x20edit\x20(1-based)','SRNCs':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x75eb0f['positional'](_0x4e790b(0x1d0),{'type':_0x3b2ba5['voGxo'],'description':_0x3b2ba5[_0x4e790b(0x282)],'demandOption':!![]})[_0x4e790b(0x199)](_0x3b2ba5[_0x4e790b(0x230)],{'type':'number','description':_0x3b2ba5[_0x4e790b(0x11b)],'demandOption':!![]})['option']('id',{'type':'string','description':_0x3b2ba5['SRNCs']});},async _0xcc6683=>{const _0x341c9b=_0x5772e9;await withTelemetry('edit-scenario',()=>featureEditScenario(_0xcc6683[_0x341c9b(0x1d0)],{'id':_0xcc6683['id'],'scenario':_0xcc6683['scenario']}));})['command']('report\x20[id]','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x5257e5=>{const _0x5512d8=_0x5772e9,_0x340a6b={'BPgAn':_0x5512d8(0x29b),'xlnsS':'exclude-scenario','dCkgU':_0x5512d8(0x22a),'Gcjly':_0x5512d8(0x299)};return _0x5257e5[_0x5512d8(0x12d)]('id',{'type':_0x340a6b['BPgAn'],'description':'Feature\x20review\x20ID'})['option'](_0x340a6b['xlnsS'],{'type':_0x340a6b['dCkgU'],'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})['option'](_0x5512d8(0x1ac),{'type':_0x340a6b[_0x5512d8(0x22b)],'description':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','default':![]});},async _0x543820=>{const _0x3abb92=_0x5772e9,_0x78711={'aPgLE':function(_0x46c82d,_0x4e2df2,_0x26e76d){return _0x46c82d(_0x4e2df2,_0x26e76d);}},_0x526a1a=_0x543820['exclude-scenario'],_0xf5e814=_0x526a1a?_0x526a1a['map'](_0x4201ed=>Number(_0x4201ed)):undefined;await _0x78711[_0x3abb92(0x1b6)](withTelemetry,_0x3abb92(0x2a2),()=>featureReportPrDescription(_0x543820['id'],{'excludeScenarios':_0xf5e814,'json':_0x543820['json']}));})['command'](_0x5772e9(0x11e),'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x40643c=>{const _0x29dcac=_0x5772e9,_0x35bfe8={'fZIFi':_0x29dcac(0x29b),'lyLyo':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'};return _0x40643c[_0x29dcac(0x12d)]('id',{'type':_0x35bfe8[_0x29dcac(0x228)],'description':_0x35bfe8['lyLyo']});},async _0x446041=>{const _0x5963ae=_0x5772e9,_0x5a1bf1={'CQzoz':function(_0x5d407a,_0x2c1932,_0x46042a){return _0x5d407a(_0x2c1932,_0x46042a);}};await _0x5a1bf1['CQzoz'](withTelemetry,_0x5963ae(0x1c4),()=>featureGetReview(_0x446041['id']));})['command']('delete\x20[id]',_0x5772e9(0x164),_0x4235b8=>{return _0x4235b8['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x546c69=>{const _0x3bd692=_0x5772e9,_0x2e2c77={'EbfPE':'delete'};await withTelemetry(_0x2e2c77[_0x3bd692(0x1e2)],()=>featureDelete(_0x546c69['id']));})[_0x5772e9(0x1c5)]('restore\x20<id>','Restore\x20a\x20soft-deleted\x20feature\x20review',_0x1ca994=>{const _0x3fb319=_0x5772e9,_0x54430a={'JQiTC':_0x3fb319(0x23d)};return _0x1ca994[_0x3fb319(0x12d)]('id',{'type':_0x3fb319(0x29b),'description':_0x54430a['JQiTC'],'demandOption':!![]});},async _0x117334=>{const _0x5dc1d3={'TjjiI':'restore'};await withTelemetry(_0x5dc1d3['TjjiI'],()=>featureRestore(_0x117334['id']));})['command'](_0x5772e9(0x129),'Initialize\x20Ranger\x20in\x20your\x20project',_0x152533=>{const _0x4a5283=_0x5772e9,_0x3b8e2a={'UFeOS':_0x4a5283(0x2a0),'YBClR':'skip-chromium','JnABA':_0x4a5283(0x299),'RUBOZ':'with-deps','beHWw':_0x4a5283(0x174),'TsPVK':'string','RoNDu':_0x4a5283(0x242),'MhCtG':_0x4a5283(0x190),'BjbhH':'allow-insecure-localhost','TemEb':_0x4a5283(0x28b),'ZFIuD':'mcp','clcHG':_0x4a5283(0x26c),'iQvLF':_0x4a5283(0x1f3),'zXsnZ':function(_0x1edc52,_0x50be7e,_0x25fa55){return _0x1edc52(_0x50be7e,_0x25fa55);},'OvVyB':_0x4a5283(0x14c),'viPph':_0x4a5283(0x1ab),'HCAJo':_0x4a5283(0x269),'pLedI':function(_0x3802b7,_0x3a84bf){return _0x3802b7(_0x3a84bf);},'uUIMQ':function(_0x3c1dba,_0x4cafe3){return _0x3c1dba(_0x4cafe3);},'tOsWq':'user','SHyrY':_0x4a5283(0x14f),'PHGdn':'Install\x20scope\x20for\x20plugin\x20and\x20skills','vNPih':function(_0x16d8cd){return _0x16d8cd();},'gQvvg':'setup:skills','WAUMz':'Where\x20to\x20store\x20the\x20profile','QlvRP':_0x4a5283(0x166),'RrQdk':function(_0x103326,_0x5b7089,_0x4e4ca2){return _0x103326(_0x5b7089,_0x4e4ca2);},'vkEGL':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','IUcdD':_0x4a5283(0x167),'jCuXH':'deps','xRsme':_0x4a5283(0x23c),'FaXoV':'Authenticate\x20with\x20Ranger','vQpjq':_0x4a5283(0x28f),'BUQIx':'Set\x20up\x20a\x20local\x20browser\x20profile','rDrnn':_0x4a5283(0x289),'TOwiO':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','oJqgf':_0x4a5283(0x17e),'KQNJb':'skip-auth','vkavv':_0x4a5283(0x294)};return _0x152533[_0x4a5283(0x195)](_0x4a5283(0x201))[_0x4a5283(0x12d)]('tokenOrSubcommand',{'type':'string','description':_0x3b8e2a['vkEGL']})['command'](_0x4a5283(0x27b),_0x3b8e2a['IUcdD'],_0x31ad11=>{const _0x4d4f07=_0x4a5283;return _0x31ad11[_0x4d4f07(0x199)]('token',{'type':'string','description':_0x3b8e2a['UFeOS']})['option'](_0x3b8e2a['YBClR'],{'type':'boolean','description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x4d4f07(0x275),{'type':_0x3b8e2a[_0x4d4f07(0x1fe)],'description':_0x4d4f07(0x1bb),'default':![]})['option'](_0x3b8e2a[_0x4d4f07(0x1dd)],{'type':_0x4d4f07(0x299),'description':_0x4d4f07(0x1d4),'default':![]})['option'](_0x3b8e2a['beHWw'],{'type':_0x3b8e2a['TsPVK'],'choices':[_0x4d4f07(0x1d8),_0x4d4f07(0x14f)],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})['option']('url',{'type':_0x4d4f07(0x29b),'description':_0x4d4f07(0x178)})[_0x4d4f07(0x199)](_0x3b8e2a[_0x4d4f07(0x12b)],{'type':_0x4d4f07(0x299),'description':_0x4d4f07(0x17e),'default':![]})['option'](_0x3b8e2a[_0x4d4f07(0x189)],{'type':'boolean','description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x4d4f07(0x199)](_0x3b8e2a['BjbhH'],{'type':'boolean','description':_0x4d4f07(0x225),'default':![]})[_0x4d4f07(0x199)](_0x4d4f07(0x26c),{'type':_0x3b8e2a['JnABA'],'description':_0x3b8e2a[_0x4d4f07(0x154)],'default':![]})[_0x4d4f07(0x199)](_0x3b8e2a['ZFIuD'],{'type':'boolean','description':_0x4d4f07(0x1ed),'default':![]});},async _0x183b49=>{const _0x3e1f13=_0x4a5283;(_0x183b49['mcp-bootstrap']||_0x183b49['mcp'])&&await withTelemetry(_0x3b8e2a['clcHG'],()=>mcpBootstrap()),await withTelemetry(_0x3e1f13(0x24f),_0x5a68ab=>start(_0x183b49[_0x3e1f13(0x279)],{'skipChromium':_0x183b49['skip-chromium'],'skipAuth':_0x183b49['skip-auth'],'withDeps':_0x183b49['with-deps'],'scope':_0x183b49[_0x3e1f13(0x174)],'url':_0x183b49['url'],'force':_0x183b49[_0x3e1f13(0x242)],'opencode':_0x183b49['opencode'],'allowInsecureLocalhost':_0x183b49[_0x3e1f13(0x262)]},_0x5a68ab));})['command'](_0x3b8e2a['jCuXH'],_0x4a5283(0x297),_0x8d0e99=>{const _0x4c115a=_0x4a5283;return _0x8d0e99['option']('with-deps',{'type':_0x4c115a(0x299),'description':_0x3b8e2a['iQvLF'],'default':![]});},async _0x53373d=>{const _0x4cdc43=_0x4a5283;await _0x3b8e2a[_0x4cdc43(0x127)](withTelemetry,_0x3b8e2a['OvVyB'],()=>ensureChromium(_0x53373d[_0x4cdc43(0x192)]));})['command'](_0x3b8e2a[_0x4a5283(0x215)],_0x3b8e2a[_0x4a5283(0x165)],_0x560061=>{const _0x53fafa=_0x4a5283;return _0x560061[_0x53fafa(0x199)]('token',{'type':_0x3b8e2a['TsPVK'],'description':_0x3b8e2a['viPph']})['option'](_0x53fafa(0x11d),{'type':_0x53fafa(0x299),'description':_0x3b8e2a[_0x53fafa(0x1a6)],'default':![]});},async _0x1fe19e=>{const _0x3bb584=_0x4a5283;await withTelemetry(_0x3bb584(0x19b),async()=>{const _0x5d880c=_0x3bb584;if(_0x1fe19e['mcp']){await mcpBootstrap();const _0x4e0278=await refreshCliToken();if(!_0x4e0278)throw new Error(_0x5d880c(0x20d));const _0x261764=await _0x3b8e2a['pLedI'](getCurrentUser,_0x4e0278);if(!_0x261764['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x261764[_0x5d880c(0x1c2)]);console[_0x5d880c(0x1b3)](_0x5d880c(0x227)+_0x261764['user'][_0x5d880c(0x212)]);return;}await _0x3b8e2a[_0x5d880c(0x149)](authenticate,_0x1fe19e['token']);});})['command']('skills','Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x2d6520=>{const _0x42ca26=_0x4a5283;return _0x2d6520[_0x42ca26(0x199)]('scope',{'type':_0x42ca26(0x29b),'choices':[_0x3b8e2a[_0x42ca26(0x26b)],_0x3b8e2a['SHyrY']],'description':_0x3b8e2a['PHGdn']})['option'](_0x3b8e2a[_0x42ca26(0x189)],{'type':_0x3b8e2a[_0x42ca26(0x1fe)],'description':_0x42ca26(0x28d),'default':![]});},async _0x10c79e=>{const _0x1af78e=_0x4a5283,_0x9b6f55={'neHNO':_0x1af78e(0x1c9),'HHKGf':function(_0x413905){const _0x5dd987=_0x1af78e;return _0x3b8e2a[_0x5dd987(0x251)](_0x413905);}};await withTelemetry(_0x3b8e2a[_0x1af78e(0x1da)],async()=>{const _0x39b97c=_0x1af78e,_0xcb31d0=_0x10c79e['scope'];if(_0x10c79e[_0x39b97c(0x190)]){const _0x117bd3=await ensureOpencodePluginConfig(_0xcb31d0);_0x117bd3&&await installSkill(_0x9b6f55['neHNO'],{'level':_0x117bd3[_0x39b97c(0x174)],'cliVersion':_0x9b6f55['HHKGf'](getCurrentVersion),'platform':'opencode'});}else await ensureClaudePlugin(_0xcb31d0),await ensureClaudeSkills(_0xcb31d0);});})['command'](_0x3b8e2a['vQpjq'],_0x3b8e2a['BUQIx'],_0x3d7a71=>{const _0x353802=_0x4a5283;return _0x3d7a71['option']('scope',{'type':'string','choices':[_0x353802(0x1d8),_0x3b8e2a['SHyrY']],'description':_0x3b8e2a[_0x353802(0x19a)]})['option']('url',{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app'})[_0x353802(0x199)]('skip-auth',{'type':_0x3b8e2a[_0x353802(0x1fe)],'description':_0x3b8e2a['QlvRP'],'default':![]})['option'](_0x353802(0x242),{'type':_0x3b8e2a[_0x353802(0x1fe)],'description':_0x353802(0x17e),'default':![]})['option'](_0x3b8e2a['BjbhH'],{'type':_0x353802(0x299),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x565d77=>{const _0x5bf863=_0x4a5283;await _0x3b8e2a[_0x5bf863(0x13b)](withTelemetry,_0x5bf863(0x180),_0x1e172c=>ensureLocalEnv({'url':_0x565d77[_0x5bf863(0x289)],'force':_0x565d77['force'],'allowInsecureLocalhost':_0x565d77['allow-insecure-localhost'],'scope':_0x565d77[_0x5bf863(0x174)]===_0x5bf863(0x1d8)?_0x5bf863(0x1d8):undefined},_0x1e172c));})['option'](_0x3b8e2a[_0x4a5283(0x249)],{'type':_0x3b8e2a['JnABA'],'description':_0x4a5283(0x238),'default':![]})[_0x4a5283(0x199)](_0x3b8e2a[_0x4a5283(0x11f)],{'type':'string','choices':[_0x4a5283(0x1d8),'project'],'description':_0x4a5283(0x1f2)})[_0x4a5283(0x199)](_0x3b8e2a['rDrnn'],{'type':_0x4a5283(0x29b),'description':_0x3b8e2a['TOwiO']})[_0x4a5283(0x199)](_0x3b8e2a[_0x4a5283(0x12b)],{'type':'boolean','description':_0x3b8e2a['oJqgf'],'default':![]})['option'](_0x4a5283(0x190),{'type':_0x3b8e2a[_0x4a5283(0x1fe)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x4a5283(0x199)](_0x3b8e2a['BjbhH'],{'type':_0x4a5283(0x299),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x4a5283(0x199)](_0x3b8e2a[_0x4a5283(0x15c)],{'type':_0x3b8e2a[_0x4a5283(0x1fe)],'description':_0x4a5283(0x1d3),'default':![]})[_0x4a5283(0x199)](_0x3b8e2a[_0x4a5283(0x267)],{'type':_0x3b8e2a[_0x4a5283(0x1fe)],'description':_0x3b8e2a[_0x4a5283(0x175)],'default':![]})[_0x4a5283(0x199)](_0x4a5283(0x192),{'type':_0x3b8e2a[_0x4a5283(0x1fe)],'description':_0x3b8e2a['iQvLF'],'default':![]})[_0x4a5283(0x199)]('token',{'type':_0x3b8e2a['TsPVK'],'hidden':!![],'description':'API\x20token'});},async _0x39a084=>{const _0x554e24=_0x5772e9,_0x2999a3={'PZslB':_0x554e24(0x26c),'mMXpi':function(_0x5b36cd,_0x577273,_0x4617de){return _0x5b36cd(_0x577273,_0x4617de);}},_0x3da769=_0x39a084['tokenOrSubcommand'],_0x3e5f17=_0x39a084['token']??_0x3da769;_0x39a084[_0x2999a3['PZslB']]&&await withTelemetry(_0x2999a3['PZslB'],()=>mcpBootstrap()),await _0x2999a3['mMXpi'](withTelemetry,_0x554e24(0x17d),_0x468980=>start(_0x3e5f17,{'skipChromium':_0x39a084['skip-chromium'],'skipAuth':_0x39a084['skip-auth'],'withDeps':_0x39a084[_0x554e24(0x192)],'scope':_0x39a084['scope'],'url':_0x39a084[_0x554e24(0x289)],'force':_0x39a084[_0x554e24(0x242)],'opencode':_0x39a084['opencode'],'allowInsecureLocalhost':_0x39a084['allow-insecure-localhost']},_0x468980));})[_0x5772e9(0x1c5)]('setup-ci\x20<token>',_0x5772e9(0x207),_0x7ca88a=>{const _0xcb670c=_0x5772e9,_0x7a6439={'qoeSE':_0xcb670c(0x279),'ozRZp':_0xcb670c(0x29b),'joDvG':_0xcb670c(0x2a0),'hPiAh':_0xcb670c(0x151),'Qwfco':_0xcb670c(0x172),'KQAdT':_0xcb670c(0x15b),'iMgOM':_0xcb670c(0x20e)};return _0x7ca88a[_0xcb670c(0x12d)](_0x7a6439['qoeSE'],{'type':_0x7a6439[_0xcb670c(0x1af)],'description':_0x7a6439[_0xcb670c(0x27a)],'demandOption':!![]})['option'](_0x7a6439[_0xcb670c(0x24c)],{'type':_0x7a6439[_0xcb670c(0x1af)],'description':_0x7a6439['Qwfco']})[_0xcb670c(0x199)]('base-url',{'type':_0x7a6439[_0xcb670c(0x1af)],'description':_0x7a6439[_0xcb670c(0x28e)]})['option'](_0x7a6439[_0xcb670c(0x23f)],{'type':_0xcb670c(0x299),'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x199cd2=>{const _0x4038ee=_0x5772e9,_0x1d3589={'lDaZt':function(_0x3ae2a3,_0x19bf93,_0x5d0386){return _0x3ae2a3(_0x19bf93,_0x5d0386);}};await _0x1d3589[_0x4038ee(0x196)](withTelemetry,_0x4038ee(0x232),_0x4f890c=>setupCi(_0x199cd2[_0x4038ee(0x279)],{'profile':_0x199cd2['profile'],'baseUrl':_0x199cd2['base-url'],'skipChromium':_0x199cd2[_0x4038ee(0x20e)]},_0x4f890c));})[_0x5772e9(0x1c5)](_0x5772e9(0x23c),_0x5772e9(0x162),()=>{},async()=>{const _0x26d686={'rvtzo':function(_0x459e83,_0x57c965,_0x1ea7d0){return _0x459e83(_0x57c965,_0x1ea7d0);},'Jmqmm':'login'};await _0x26d686['rvtzo'](withTelemetry,_0x26d686['Jmqmm'],()=>login());})[_0x5772e9(0x1c5)]('skillup','Install\x20Ranger\x20skills',_0x6079eb=>{const _0x561f88=_0x5772e9,_0x30f2de={'essox':'opencode','ZbHdt':_0x561f88(0x1a7),'wKXeq':'string','YFmmC':_0x561f88(0x1ce)};return _0x6079eb['option'](_0x30f2de['essox'],{'type':'boolean','description':_0x30f2de[_0x561f88(0x19d)],'default':![]})['option'](_0x561f88(0x174),{'type':_0x30f2de['wKXeq'],'choices':['user',_0x561f88(0x14f)],'description':_0x30f2de['YFmmC']});},async _0x148438=>{const _0x226b97=_0x5772e9,_0x112ed5={'fxnvo':_0x226b97(0x257)},_0xe17915=Boolean(_0x148438[_0x226b97(0x190)]);await withTelemetry(_0x112ed5[_0x226b97(0x1b9)],()=>skillup({'autoInstall':_0x148438['scope'],'platform':_0xe17915?'opencode':'claude'}));})['command']('clean',_0x5772e9(0x187),()=>{},async()=>{const _0x1dd19=_0x5772e9,_0x3687ef={'kgXPP':_0x1dd19(0x1a0)};await withTelemetry(_0x3687ef[_0x1dd19(0x24e)],()=>clean());})[_0x5772e9(0x1c5)]('profile','Manage\x20profiles',_0x399d11=>{const _0x3ceac4=_0x5772e9,_0x59330a={'QMTqc':_0x3ceac4(0x144),'tehaN':_0x3ceac4(0x289),'jDUwP':_0x3ceac4(0x29b),'jfhux':_0x3ceac4(0x21b),'EYKnO':'cdp-endpoint','PChyD':_0x3ceac4(0x299),'mZxAn':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','IhHoh':_0x3ceac4(0x174),'dYxdF':_0x3ceac4(0x1d8),'QMMPg':_0x3ceac4(0x1c3),'CFzJG':function(_0xae9572,_0x1f960d,_0x2f9d19,_0x259d8c){return _0xae9572(_0x1f960d,_0x2f9d19,_0x259d8c);},'saDpM':'profile\x20add','djhzH':function(_0x33b2c7,_0x3b2a07){return _0x33b2c7(_0x3b2a07);},'KwHuv':function(_0x57fdb6,_0x49473e,_0x4ffb87){return _0x57fdb6(_0x49473e,_0x4ffb87);},'bWEPU':'profile','FRCiA':_0x3ceac4(0x253),'ogNvo':function(_0x3204d0,_0x1a4a1c,_0x42a580){return _0x3204d0(_0x1a4a1c,_0x42a580);},'sdirf':function(_0x398ed,_0x5da336,_0x549b42){return _0x398ed(_0x5da336,_0x549b42);},'AYzWN':_0x3ceac4(0x229),'Mzgiv':function(_0x3aeb1d,_0x543a82,_0x4a4dc5){return _0x3aeb1d(_0x543a82,_0x4a4dc5);},'psYlK':'profile\x20update','ghaxy':'key','HiUtx':_0x3ceac4(0x13a),'yFMVB':'value','rmFjc':'profile\x20config\x20unset','RLrlK':_0x3ceac4(0x12e),'egswu':'set\x20<profile>\x20<key>\x20<value>','Mnzwl':'get\x20<profile>\x20<key>','frGxK':'Get\x20a\x20config\x20value','EEZFd':'list\x20<profile>','iegYC':'unset\x20<profile>\x20<key>','KuQfR':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','TXSgx':'add\x20<profile-name>','akgWs':'Add\x20profile\x20configuration','KuDuz':'use\x20<profile-name>','fZtyG':'encrypt-auth\x20<profile>','aCkul':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','LRMgb':'You\x20must\x20specify\x20a\x20profile\x20subcommand'};return _0x399d11['usage'](PROFILE_HELP)[_0x3ceac4(0x1c5)](_0x59330a['TXSgx'],_0x59330a[_0x3ceac4(0x1ff)],_0x105c4d=>{const _0x283aee=_0x3ceac4;return _0x105c4d[_0x283aee(0x12d)](_0x283aee(0x229),{'type':_0x283aee(0x29b),'description':_0x283aee(0x25f),'demandOption':!![]})[_0x283aee(0x199)]('ci',{'type':_0x283aee(0x299),'description':_0x59330a['QMTqc'],'default':![]})['option']('skip-auth',{'type':_0x283aee(0x299),'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x283aee(0x199)](_0x59330a['tehaN'],{'type':_0x59330a['jDUwP'],'description':_0x59330a['jfhux']})[_0x283aee(0x199)]('force',{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x283aee(0x199)](_0x59330a['EYKnO'],{'type':_0x283aee(0x29b),'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0x283aee(0x262),{'type':_0x283aee(0x299),'description':_0x283aee(0x15d),'default':![]})['option']('safe-mode',{'type':_0x59330a[_0x283aee(0x159)],'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x283aee(0x199)](_0x283aee(0x1bf),{'type':_0x59330a['jDUwP'],'array':!![],'description':_0x59330a[_0x283aee(0x1a3)]})[_0x283aee(0x199)](_0x59330a[_0x283aee(0x17c)],{'type':_0x59330a['jDUwP'],'choices':[_0x59330a[_0x283aee(0x25d)],_0x283aee(0x14f)],'description':_0x59330a[_0x283aee(0x15e)]});},async _0x51f1da=>{const _0x34779e=_0x3ceac4;await _0x59330a[_0x34779e(0x1fc)](withTelemetry,_0x59330a['saDpM'],_0xadfb87=>addEnv(_0x51f1da[_0x34779e(0x229)],{'ci':_0x51f1da['ci'],'skipAuth':_0x51f1da['skip-auth'],'url':_0x51f1da['url'],'force':_0x51f1da['force'],'cdpEndpoint':_0x51f1da['cdp-endpoint'],'allowInsecureLocalhost':_0x51f1da[_0x34779e(0x262)],'safeMode':_0x51f1da['safe-mode'],'setupHeader':_0x51f1da[_0x34779e(0x1bf)],'scope':_0x51f1da[_0x34779e(0x174)]},_0xadfb87),{'isElectron':_0x59330a['djhzH'](Boolean,_0x51f1da[_0x59330a['EYKnO']])});})[_0x3ceac4(0x1c5)](_0x59330a['KuDuz'],_0x3ceac4(0x171),_0x4542ec=>{const _0xd1187a=_0x3ceac4;return _0x4542ec[_0xd1187a(0x12d)](_0xd1187a(0x229),{'type':'string','description':_0xd1187a(0x1cd),'demandOption':!![]});},async _0x41c94d=>{const _0x50a007=_0x3ceac4;await _0x59330a[_0x50a007(0x274)](withTelemetry,_0x50a007(0x1ea),()=>useEnv(_0x41c94d['profile-name']));})[_0x3ceac4(0x1c5)](_0x59330a[_0x3ceac4(0x1ef)],_0x59330a['aCkul'],_0x11f029=>{const _0x490217=_0x3ceac4;return _0x11f029[_0x490217(0x12d)](_0x59330a[_0x490217(0x128)],{'type':_0x59330a[_0x490217(0x210)],'description':_0x59330a['FRCiA'],'demandOption':!![]});},async _0x5d05de=>{const _0x16cdb2=_0x3ceac4;await _0x59330a[_0x16cdb2(0x1db)](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0x5d05de['profile']));})[_0x3ceac4(0x1c5)]('ls','List\x20all\x20profiles',()=>{},async()=>{const _0x20fa4e=_0x3ceac4;await _0x59330a[_0x20fa4e(0x278)](withTelemetry,'profile\x20ls',()=>envList());})['command']('update\x20<profile-name>','Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x563089=>{const _0x65a90c=_0x3ceac4;return _0x563089['positional'](_0x59330a[_0x65a90c(0x1ca)],{'type':_0x65a90c(0x29b),'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})[_0x65a90c(0x199)](_0x65a90c(0x262),{'type':_0x65a90c(0x299),'description':_0x65a90c(0x15d)});},async _0x57b4de=>{const _0x214553=_0x3ceac4;await _0x59330a['Mzgiv'](withTelemetry,_0x59330a['psYlK'],_0x4e150e=>updateEnv(_0x57b4de[_0x214553(0x229)],_0x4e150e,{'allowInsecureLocalhost':_0x57b4de['allow-insecure-localhost']}));})[_0x3ceac4(0x1c5)](_0x3ceac4(0x270),_0x3ceac4(0x1ad),_0x4b73bb=>{const _0x27ddc8=_0x3ceac4,_0x5dd405={'MNSCy':function(_0x498fbc,_0x553f61,_0x5c2f37){return _0x498fbc(_0x553f61,_0x5c2f37);},'qVLuM':_0x59330a['RLrlK'],'PTBre':_0x59330a[_0x27ddc8(0x210)]};return _0x4b73bb[_0x27ddc8(0x195)](PROFILE_CONFIG_HELP)[_0x27ddc8(0x1c5)](_0x59330a['egswu'],_0x27ddc8(0x1b4),_0x2414ad=>{const _0x2c8de7=_0x27ddc8;return _0x2414ad['positional'](_0x59330a[_0x2c8de7(0x128)],{'type':_0x59330a[_0x2c8de7(0x210)],'description':'Profile\x20name','demandOption':!![]})['positional'](_0x59330a['ghaxy'],{'type':'string','description':_0x59330a['HiUtx'],'demandOption':!![]})[_0x2c8de7(0x12d)](_0x59330a['yFMVB'],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x9fad86=>{const _0x56baa6=_0x27ddc8;await _0x5dd405['MNSCy'](withTelemetry,_0x5dd405[_0x56baa6(0x156)],()=>configSet(_0x9fad86[_0x56baa6(0x151)],_0x9fad86['key'],_0x9fad86[_0x56baa6(0x1fd)]));})['command'](_0x59330a['Mnzwl'],_0x59330a['frGxK'],_0x369366=>{const _0x2fa8bd=_0x27ddc8;return _0x369366[_0x2fa8bd(0x12d)](_0x59330a['bWEPU'],{'type':_0x59330a['jDUwP'],'description':_0x59330a[_0x2fa8bd(0x21f)],'demandOption':!![]})[_0x2fa8bd(0x12d)](_0x59330a[_0x2fa8bd(0x135)],{'type':'string','description':_0x2fa8bd(0x126),'demandOption':!![]});},async _0x3d9f15=>{const _0xb18b3c=_0x27ddc8;await _0x5dd405['MNSCy'](withTelemetry,_0xb18b3c(0x1f1),()=>configGet(_0x3d9f15[_0xb18b3c(0x151)],_0x3d9f15[_0xb18b3c(0x26e)]));})['command'](_0x59330a[_0x27ddc8(0x213)],'List\x20all\x20config\x20for\x20a\x20profile',_0x54fdae=>{const _0x1006f6=_0x27ddc8;return _0x54fdae['positional']('profile',{'type':_0x5dd405[_0x1006f6(0x198)],'description':_0x1006f6(0x253),'demandOption':!![]});},async _0x3694d6=>{const _0x4f4fb0=_0x27ddc8;await withTelemetry('profile\x20config\x20list',()=>configList(_0x3694d6[_0x4f4fb0(0x151)]));})[_0x27ddc8(0x1c5)](_0x59330a[_0x27ddc8(0x1a2)],'Remove\x20a\x20config\x20value',_0x4fb650=>{const _0x234af7=_0x27ddc8;return _0x4fb650['positional'](_0x234af7(0x151),{'type':_0x59330a['jDUwP'],'description':_0x234af7(0x253),'demandOption':!![]})['positional'](_0x59330a[_0x234af7(0x135)],{'type':'string','description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0xb5589=>{const _0x20e246=_0x27ddc8;await _0x59330a['KwHuv'](withTelemetry,_0x59330a[_0x20e246(0x20b)],()=>configUnset(_0xb5589['profile'],_0xb5589[_0x20e246(0x26e)]));})['demandCommand'](0x1,_0x59330a['KuQfR']);})['demandCommand'](0x1,_0x59330a[_0x3ceac4(0x139)]);})['command']('status',_0x5772e9(0x216),()=>{},async()=>{const _0x236de7=_0x5772e9,_0x409150={'KhFdg':function(_0x201fa9,_0x18625d,_0x291357){return _0x201fa9(_0x18625d,_0x291357);},'anTDI':_0x236de7(0x1ba)};await _0x409150[_0x236de7(0x265)](withTelemetry,_0x409150[_0x236de7(0x1ae)],()=>status());})['command'](_0x5772e9(0x16d),_0x5772e9(0x1a9),()=>{},async()=>{const _0xf56428={'oldXP':'update'};await withTelemetry(_0xf56428['oldXP'],()=>update());})['command'](_0x5772e9(0x260),_0x5772e9(0x1be),()=>{},async()=>{const _0x2f02ca=_0x5772e9,_0x12a30a={'oSZTp':_0x2f02ca(0x256),'bBwDe':'print-access-token'};await withTelemetry(_0x12a30a[_0x2f02ca(0x185)],async()=>{const _0x56bbbc=await getToken();if(!_0x56bbbc)throw new Error(_0x12a30a['oSZTp']);console['log'](_0x56bbbc);});})['command']('go',_0x5772e9(0x179),_0xa72ef8=>{const _0x4ad5ce=_0x5772e9,_0x39ce1d={'kbiDZ':_0x4ad5ce(0x134),'eLSXm':'Optional\x20feature\x20ID','iPvCw':'string','cnwKz':_0x4ad5ce(0x283),'SRxVl':'notes','mvMSH':'scenario','lqGgN':_0x4ad5ce(0x26f),'jnbFg':'headed','VCwVY':'boolean','zBjFe':'debug-outcome','lXrdI':'verified','kpely':_0x4ad5ce(0x1d2),'vhGNg':_0x4ad5ce(0x17a)};return _0xa72ef8['option'](_0x39ce1d[_0x4ad5ce(0x1b2)],{'type':'string','description':_0x39ce1d['eLSXm']})[_0x4ad5ce(0x199)](_0x4ad5ce(0x151),{'type':_0x39ce1d['iPvCw'],'description':_0x39ce1d['cnwKz']})['option'](_0x39ce1d['SRxVl'],{'type':_0x39ce1d[_0x4ad5ce(0x1d5)],'description':_0x4ad5ce(0x22f)})[_0x4ad5ce(0x199)](_0x39ce1d['mvMSH'],{'type':'number','description':'Scenario\x20index\x20(1-based)'})['option']('start-path',{'type':_0x39ce1d['iPvCw'],'description':_0x4ad5ce(0x21d)})[_0x4ad5ce(0x199)](_0x39ce1d['lqGgN'],{'type':_0x4ad5ce(0x29b),'description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.'})['option'](_0x39ce1d['jnbFg'],{'type':_0x39ce1d[_0x4ad5ce(0x245)],'description':_0x4ad5ce(0x1b8),'default':![]})[_0x4ad5ce(0x199)](_0x39ce1d[_0x4ad5ce(0x152)],{'type':_0x4ad5ce(0x29b),'hidden':!![],'choices':[_0x39ce1d[_0x4ad5ce(0x263)],'partial',_0x39ce1d[_0x4ad5ce(0x157)],_0x39ce1d[_0x4ad5ce(0x268)],'incomplete']})[_0x4ad5ce(0x199)](_0x4ad5ce(0x281),{'type':'boolean','hidden':!![]})['option'](_0x4ad5ce(0x191),{'type':_0x39ce1d['iPvCw'],'hidden':!![]})[_0x4ad5ce(0x199)]('task',{'type':'string','hidden':!![]})['option']('item',{'type':'number','hidden':!![]});},async _0x226a44=>{await runGoCommand(_0x226a44);})['command']('auth',![],_0x1fd15a=>{const _0x370169=_0x5772e9,_0x111b4a={'qFjdo':'ranger\x20profile\x20encrypt-auth','woHIR':'encrypt\x20<profile>','UJrpK':_0x370169(0x18f)};return _0x1fd15a['command'](_0x111b4a['woHIR'],![],_0x5a9c1a=>{const _0x487187=_0x370169;return _0x5a9c1a[_0x487187(0x12d)](_0x487187(0x151),{'type':_0x487187(0x29b),'description':'Profile\x20name','demandOption':!![]});},async _0x7c54bb=>{const _0xfcb0ee=_0x370169;warnRenamed('ranger\x20auth\x20encrypt',_0x111b4a['qFjdo']),await authEncrypt(_0x7c54bb[_0xfcb0ee(0x151)]);})[_0x370169(0x244)](0x1,_0x111b4a['UJrpK']);},()=>{})['command'](_0x5772e9(0x132),![],_0x37af1c=>{const _0x41fa02=_0x5772e9,_0x3f95cb={'sBISv':'token','FWQrY':'string','HMisS':_0x41fa02(0x20e),'IZczP':_0x41fa02(0x238),'aVpOc':_0x41fa02(0x241),'pSYQE':'force','SojAq':'boolean','MEiht':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','vfval':'skip-auth','xLhaU':_0x41fa02(0x1bb),'woGwl':_0x41fa02(0x192)};return _0x37af1c[_0x41fa02(0x12d)](_0x3f95cb[_0x41fa02(0x272)],{'type':_0x3f95cb['FWQrY'],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})[_0x41fa02(0x199)](_0x3f95cb['HMisS'],{'type':'boolean','description':_0x3f95cb['IZczP'],'default':![]})[_0x41fa02(0x199)]('scope',{'type':_0x41fa02(0x29b),'choices':[_0x41fa02(0x1d8),'project'],'description':_0x41fa02(0x1f2)})[_0x41fa02(0x199)]('url',{'type':_0x41fa02(0x29b),'description':_0x3f95cb['aVpOc']})[_0x41fa02(0x199)](_0x3f95cb['pSYQE'],{'type':_0x3f95cb[_0x41fa02(0x1f4)],'description':_0x3f95cb['MEiht'],'default':![]})[_0x41fa02(0x199)](_0x3f95cb[_0x41fa02(0x1cc)],{'type':'boolean','description':_0x3f95cb['xLhaU'],'default':![]})['option'](_0x3f95cb[_0x41fa02(0x123)],{'type':'boolean','description':_0x41fa02(0x1d4),'default':![]});},async _0x5e1495=>{const _0x3be0b9=_0x5772e9,_0x3fc2a3={'pheCf':_0x3be0b9(0x23a),'vHeRI':'start'};warnRenamed(_0x3be0b9(0x18b),_0x3fc2a3[_0x3be0b9(0x19c)]),await withTelemetry(_0x3fc2a3['vHeRI'],_0x50a25f=>start(_0x5e1495['token'],{'skipChromium':_0x5e1495[_0x3be0b9(0x20e)],'skipAuth':_0x5e1495[_0x3be0b9(0x275)],'withDeps':_0x5e1495['with-deps'],'scope':_0x5e1495[_0x3be0b9(0x174)],'url':_0x5e1495[_0x3be0b9(0x289)],'force':_0x5e1495[_0x3be0b9(0x242)]},_0x50a25f));})['command']('verify-feature',![],_0x30257c=>{const _0x4bedba=_0x5772e9,_0x4ac069={'QiBWO':_0x4bedba(0x29b),'ERxLQ':'task','mwUWa':'item','IDUOh':'number','besMk':_0x4bedba(0x243),'ZrIqu':'scenario','zIEGb':_0x4bedba(0x26f),'ZzpQw':'partial','fOoTQ':'blocked','rEEuD':'failed'};return _0x30257c[_0x4bedba(0x199)]('env',{'type':_0x4ac069['QiBWO'],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0x4bedba(0x199)](_0x4ac069[_0x4bedba(0x1e7)],{'type':'string','description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x4ac069['mwUWa'],{'type':_0x4ac069['IDUOh'],'description':_0x4bedba(0x18a)})[_0x4bedba(0x199)]('profile',{'type':'string','hidden':!![]})[_0x4bedba(0x199)](_0x4ac069[_0x4bedba(0x203)],{'type':_0x4ac069['QiBWO'],'hidden':!![]})['option'](_0x4ac069[_0x4bedba(0x173)],{'type':'number','hidden':!![]})['option'](_0x4bedba(0x252),{'type':_0x4ac069['QiBWO'],'description':_0x4bedba(0x21d)})['option'](_0x4ac069['zIEGb'],{'type':_0x4ac069[_0x4bedba(0x12f)],'hidden':!![]})[_0x4bedba(0x199)]('headed',{'type':_0x4bedba(0x299),'hidden':!![],'default':![]})[_0x4bedba(0x199)]('debug-outcome',{'type':_0x4ac069['QiBWO'],'hidden':!![],'choices':['verified',_0x4ac069[_0x4bedba(0x24a)],_0x4ac069[_0x4bedba(0x296)],_0x4ac069[_0x4bedba(0x148)],_0x4bedba(0x155)]});},async _0x3b447b=>{const _0x58b976={'DUWIr':function(_0x5ab8c9,_0x2cefb3,_0x5d5201){return _0x5ab8c9(_0x2cefb3,_0x5d5201);}};await _0x58b976['DUWIr'](runGoCommand,_0x3b447b,!![]);})['command'](_0x5772e9(0x28c),![],_0x2084a2=>{const _0x41a9b5=_0x5772e9,_0x315065={'fDagX':'env-name','eElIX':_0x41a9b5(0x29b),'XdVxI':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','NcFKf':_0x41a9b5(0x299),'mmkcE':'skip-auth','gcOZc':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)'};return _0x2084a2['positional'](_0x315065[_0x41a9b5(0x15f)],{'type':_0x315065['eElIX'],'description':_0x315065[_0x41a9b5(0x1fb)],'demandOption':!![]})['option']('ci',{'type':_0x315065[_0x41a9b5(0x193)],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x315065['mmkcE'],{'type':'boolean','description':_0x315065[_0x41a9b5(0x13d)],'default':![]});},async _0x2f3a1f=>{const _0x2f3078=_0x5772e9,_0x234d9c={'GChrm':function(_0x22ad89,_0x3b0c77,_0x447082){return _0x22ad89(_0x3b0c77,_0x447082);},'kqiUG':_0x2f3078(0x248)};_0x234d9c[_0x2f3078(0x211)](warnRenamed,_0x2f3078(0x240),_0x2f3078(0x14d)),await _0x234d9c['GChrm'](withTelemetry,_0x234d9c[_0x2f3078(0x261)],_0x342162=>addEnv(_0x2f3a1f[_0x2f3078(0x1de)],{'ci':_0x2f3a1f['ci'],'skipAuth':_0x2f3a1f['skip-auth']},_0x342162));})['command']('use\x20<env-name>',![],_0x187c7a=>{const _0x51997=_0x5772e9,_0x5675df={'VkOdk':'env-name','YaRiq':_0x51997(0x29b),'IoImt':_0x51997(0x222)};return _0x187c7a['positional'](_0x5675df['VkOdk'],{'type':_0x5675df[_0x51997(0x29f)],'description':_0x5675df[_0x51997(0x246)],'demandOption':!![]});},async _0x17795f=>{const _0x3081d7=_0x5772e9,_0x208a5a={'GCFDx':_0x3081d7(0x220),'iwsLm':_0x3081d7(0x1c8)};warnRenamed('ranger\x20use',_0x208a5a['GCFDx']),await withTelemetry(_0x208a5a['iwsLm'],()=>useEnv(_0x17795f['env-name']));})['command'](_0x5772e9(0x270),![],_0x3d1a47=>{const _0x370056=_0x5772e9,_0x17b1b2={'Rhxaj':'env','MPhsW':'string','DAJxX':'Environment\x20name','LmEeo':'key','PxYDl':_0x370056(0x13a),'JnwDj':_0x370056(0x147),'fUnzT':'ranger\x20config\x20set','RzRpf':function(_0x4b4974,_0x2e088e,_0x1a4203){return _0x4b4974(_0x2e088e,_0x1a4203);},'svzkk':_0x370056(0x126),'VbATD':function(_0x3853d3,_0x46c4a0,_0x3164bd){return _0x3853d3(_0x46c4a0,_0x3164bd);},'TRYqE':'ranger\x20profile\x20config\x20get','Kwqkt':function(_0x127ecc,_0x298a4a,_0xb16dbc){return _0x127ecc(_0x298a4a,_0xb16dbc);},'LvdLJ':'config\x20get','HtsEr':_0x370056(0x163),'sWOWA':'ranger\x20profile\x20config\x20list','sYuas':'Config\x20key\x20to\x20remove','ShQPW':function(_0x47fd8f,_0x22cd49,_0x18774c){return _0x47fd8f(_0x22cd49,_0x18774c);},'WljpD':_0x370056(0x146),'SjvyC':'config\x20unset','FMEHF':'list\x20<env>'};return _0x3d1a47['command']('set\x20<env>\x20<key>\x20<value>',![],_0x5692a3=>{const _0x25ff5f=_0x370056;return _0x5692a3[_0x25ff5f(0x12d)](_0x17b1b2['Rhxaj'],{'type':_0x17b1b2[_0x25ff5f(0x1e6)],'description':_0x17b1b2['DAJxX'],'demandOption':!![]})[_0x25ff5f(0x12d)](_0x17b1b2[_0x25ff5f(0x1aa)],{'type':_0x17b1b2[_0x25ff5f(0x1e6)],'description':_0x17b1b2[_0x25ff5f(0x291)],'demandOption':!![]})['positional']('value',{'type':_0x25ff5f(0x29b),'description':_0x17b1b2[_0x25ff5f(0x130)],'demandOption':!![]});},async _0x55e000=>{const _0x8bbbaa=_0x370056;warnRenamed(_0x17b1b2['fUnzT'],_0x8bbbaa(0x286)),await _0x17b1b2[_0x8bbbaa(0x208)](withTelemetry,_0x8bbbaa(0x153),()=>configSet(_0x55e000['env'],_0x55e000[_0x8bbbaa(0x26e)],_0x55e000['value']));})[_0x370056(0x1c5)]('get\x20<env>\x20<key>',![],_0x3ef0a5=>{const _0x256286=_0x370056;return _0x3ef0a5['positional'](_0x256286(0x191),{'type':_0x17b1b2['MPhsW'],'description':_0x17b1b2['DAJxX'],'demandOption':!![]})[_0x256286(0x12d)](_0x17b1b2[_0x256286(0x1aa)],{'type':_0x17b1b2[_0x256286(0x1e6)],'description':_0x17b1b2[_0x256286(0x1f7)],'demandOption':!![]});},async _0x3dd21e=>{const _0x155823=_0x370056;_0x17b1b2['VbATD'](warnRenamed,'ranger\x20config\x20get',_0x17b1b2[_0x155823(0x277)]),await _0x17b1b2['Kwqkt'](withTelemetry,_0x17b1b2[_0x155823(0x290)],()=>configGet(_0x3dd21e['env'],_0x3dd21e[_0x155823(0x26e)]));})[_0x370056(0x1c5)](_0x17b1b2['FMEHF'],![],_0x5e1726=>{const _0x46084c=_0x370056;return _0x5e1726[_0x46084c(0x12d)](_0x17b1b2[_0x46084c(0x254)],{'type':_0x17b1b2['MPhsW'],'description':_0x46084c(0x273),'demandOption':!![]});},async _0x40d009=>{const _0x3e0246=_0x370056;warnRenamed(_0x17b1b2[_0x3e0246(0x1eb)],_0x17b1b2['sWOWA']),await withTelemetry('config\x20list',()=>configList(_0x40d009[_0x3e0246(0x191)]));})['command']('unset\x20<env>\x20<key>',![],_0x2c1615=>{const _0x1161e9=_0x370056;return _0x2c1615[_0x1161e9(0x12d)](_0x17b1b2['Rhxaj'],{'type':_0x1161e9(0x29b),'description':'Environment\x20name','demandOption':!![]})['positional']('key',{'type':_0x17b1b2[_0x1161e9(0x1e6)],'description':_0x17b1b2[_0x1161e9(0x204)],'demandOption':!![]});},async _0x3536ac=>{const _0x54c015=_0x370056;_0x17b1b2['ShQPW'](warnRenamed,_0x54c015(0x1a4),_0x17b1b2['WljpD']),await _0x17b1b2[_0x54c015(0x208)](withTelemetry,_0x17b1b2['SjvyC'],()=>configUnset(_0x3536ac['env'],_0x3536ac[_0x54c015(0x26e)]));})[_0x370056(0x244)](0x1,_0x370056(0x23b));})['command'](_0x5772e9(0x191),![],_0x3a6c41=>{const _0x6b90e0=_0x5772e9,_0x566a6e={'nlpLJ':function(_0x1b8a49,_0x590439,_0x52af4e){return _0x1b8a49(_0x590439,_0x52af4e);},'aFCcL':'env\x20list','uCrjm':_0x6b90e0(0x1de),'BtxYI':'string','JoeQl':_0x6b90e0(0x182),'JEGyZ':_0x6b90e0(0x188),'FrWBB':function(_0x2c80d1,_0x5bbafe,_0x3dfb76){return _0x2c80d1(_0x5bbafe,_0x3dfb76);},'UFYxr':_0x6b90e0(0x150)};return _0x3a6c41['command']('ls',![],()=>{},async()=>{const _0x19d672=_0x6b90e0;warnRenamed('ranger\x20env\x20ls',_0x19d672(0x26a)),await _0x566a6e[_0x19d672(0x234)](withTelemetry,_0x566a6e[_0x19d672(0x209)],()=>envList());})['command']('update\x20<env-name>',![],_0x4600f4=>{const _0x4dbdb0=_0x6b90e0;return _0x4600f4['positional'](_0x566a6e[_0x4dbdb0(0x237)],{'type':_0x566a6e['BtxYI'],'description':_0x566a6e[_0x4dbdb0(0x1fa)],'demandOption':!![]});},async _0x4de4ca=>{const _0x5cf330=_0x6b90e0;_0x566a6e[_0x5cf330(0x234)](warnRenamed,_0x566a6e['JEGyZ'],'ranger\x20profile\x20update'),await _0x566a6e[_0x5cf330(0x177)](withTelemetry,_0x5cf330(0x276),_0x5e628b=>updateEnv(_0x4de4ca[_0x5cf330(0x1de)],_0x5e628b));})[_0x6b90e0(0x244)](0x1,_0x566a6e[_0x6b90e0(0x16f)]);})['command']('feature',![],_0x37ba1c=>{const _0x15b0fa=_0x5772e9,_0x1c0c0d={'mkDwg':_0x15b0fa(0x29b),'jjVdN':'Feature\x20review\x20name','euJSH':'array','cCXyi':_0x15b0fa(0x13e),'aaDkG':function(_0x1f5942,_0x121c65,_0x2b03d8,_0x1fda95){return _0x1f5942(_0x121c65,_0x2b03d8,_0x1fda95);},'lqRsD':_0x15b0fa(0x1c1),'vvsEp':_0x15b0fa(0x16a),'FEESr':'current-branch','wyjYy':'boolean','oSenh':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','ouAVC':_0x15b0fa(0x1bc),'RInJV':_0x15b0fa(0x1a5),'rpcTC':_0x15b0fa(0x14a),'xfiuo':'ranger\x20list','YwtLZ':_0x15b0fa(0x16c),'MufMk':'ranger\x20feature\x20show','mDIBG':_0x15b0fa(0x1d6),'TEsOD':_0x15b0fa(0x235),'JwRPH':function(_0x2dc91b,_0x8f7615,_0x1f113b){return _0x2dc91b(_0x8f7615,_0x1f113b);},'jXRGd':'ranger\x20feature\x20resume','kkAVb':'feature\x20resume','jPyse':_0x15b0fa(0x1d0),'MSdur':function(_0x4dafb7,_0x2f5dfe,_0x40f982){return _0x4dafb7(_0x2f5dfe,_0x40f982);},'LVJGp':_0x15b0fa(0x29d),'eDkhq':_0x15b0fa(0x24b),'FvYYY':'ranger\x20get-review','gRmMg':_0x15b0fa(0x218),'gKleQ':_0x15b0fa(0x16e),'nZQrx':'ranger\x20feature\x20delete','VoXHQ':_0x15b0fa(0x1e3),'lAKIo':_0x15b0fa(0x1d1),'ZZJbJ':_0x15b0fa(0x23d),'BqOBZ':function(_0x493635,_0x2e5379,_0x2034e0){return _0x493635(_0x2e5379,_0x2034e0);},'jkhtK':_0x15b0fa(0x140),'RZlvF':function(_0x554c5c,_0x25de07,_0x4b2a49){return _0x554c5c(_0x25de07,_0x4b2a49);},'RkbFI':'create\x20<name>','vYdnO':_0x15b0fa(0x259),'NdoWc':_0x15b0fa(0x2a4),'Gcjnm':_0x15b0fa(0x202)};return _0x37ba1c[_0x15b0fa(0x1c5)](_0x1c0c0d['RkbFI'],![],_0x54416f=>{const _0x5e0720=_0x15b0fa;return _0x54416f[_0x5e0720(0x12d)]('name',{'type':_0x1c0c0d[_0x5e0720(0x1f0)],'description':_0x1c0c0d['jjVdN'],'demandOption':!![]})[_0x5e0720(0x199)]('description',{'type':_0x1c0c0d[_0x5e0720(0x1f0)],'alias':'d','description':'Feature\x20review\x20description'})['option'](_0x5e0720(0x287),{'type':_0x1c0c0d[_0x5e0720(0x158)],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option']('scenario',{'type':'array','hidden':!![]});},async _0x682e8d=>{const _0x2b001c=_0x15b0fa;warnRenamed(_0x1c0c0d['cCXyi'],'ranger\x20create'),_0x1c0c0d['aaDkG'](warnFlagRenamed,_0x1c0c0d['lqRsD'],'--checklist',_0x2b001c(0x28a));const _0x4f2f9a=_0x682e8d[_0x2b001c(0x29c)]||_0x682e8d['checklist'];await withTelemetry(_0x1c0c0d[_0x2b001c(0x226)],()=>featureCreate(_0x682e8d['name'],{'description':_0x682e8d['description'],'scenarios':_0x4f2f9a}));})['command'](_0x1c0c0d[_0x15b0fa(0x219)],![],_0x5a93ec=>{const _0x2cd930=_0x15b0fa;return _0x5a93ec[_0x2cd930(0x199)](_0x1c0c0d['FEESr'],{'type':_0x1c0c0d[_0x2cd930(0x280)],'description':_0x1c0c0d[_0x2cd930(0x14e)]})['option']('limit',{'type':'number','alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x1c0c0d['ouAVC'],{'type':_0x1c0c0d['RInJV'],'alias':'o','description':_0x2cd930(0x142),'default':0x0})[_0x2cd930(0x199)](_0x2cd930(0x285),{'type':'boolean','alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x38639b=>{const _0x17e463=_0x15b0fa;warnRenamed(_0x1c0c0d['rpcTC'],_0x1c0c0d['xfiuo']),await withTelemetry(_0x1c0c0d[_0x17e463(0x143)],()=>featureList({'currentBranch':_0x38639b['current-branch'],'limit':_0x38639b['limit'],'offset':_0x38639b['offset'],'includeDeleted':_0x38639b['include-deleted']}));})['command'](_0x15b0fa(0x27d),![],_0x1df09a=>{const _0x504c73=_0x15b0fa;return _0x1df09a[_0x504c73(0x12d)]('id',{'type':_0x504c73(0x29b),'description':_0x504c73(0x16e)});},async _0x31a057=>{const _0x3c2090=_0x15b0fa;warnRenamed(_0x1c0c0d['MufMk'],_0x3c2090(0x1f5)),await withTelemetry(_0x1c0c0d[_0x3c2090(0x26d)],()=>featureShow(_0x31a057['id']));})['command']('resume\x20[id]',![],_0xd1ede1=>{const _0x1be697=_0x15b0fa;return _0xd1ede1[_0x1be697(0x12d)]('id',{'type':_0x1be697(0x29b),'description':_0x1c0c0d[_0x1be697(0x16b)]});},async _0x32ae01=>{const _0x5dcf7e=_0x15b0fa;_0x1c0c0d[_0x5dcf7e(0x186)](warnRenamed,_0x1c0c0d['jXRGd'],_0x5dcf7e(0x13f)),await withTelemetry(_0x1c0c0d[_0x5dcf7e(0x239)],()=>featureResume(_0x32ae01['id']));})['command']('add-checklist-item\x20<description>',![],_0x41aff9=>{const _0x2a50d4=_0x15b0fa;return _0x41aff9[_0x2a50d4(0x12d)](_0x1c0c0d['jPyse'],{'type':_0x1c0c0d[_0x2a50d4(0x1f0)],'description':_0x2a50d4(0x197),'demandOption':!![]})[_0x2a50d4(0x199)]('id',{'type':_0x2a50d4(0x29b),'description':_0x2a50d4(0x24b)});},async _0x4da814=>{const _0x4435e3=_0x15b0fa;_0x1c0c0d[_0x4435e3(0x18c)](warnRenamed,'ranger\x20feature\x20add-checklist-item','ranger\x20add-scenario'),await withTelemetry(_0x1c0c0d['LVJGp'],()=>featureAddScenario(_0x4da814['description'],_0x4da814['id']));})[_0x15b0fa(0x1c5)](_0x1c0c0d[_0x15b0fa(0x1f6)],![],_0x3d80eb=>{const _0x1bd986=_0x15b0fa;return _0x3d80eb[_0x1bd986(0x12d)]('id',{'type':_0x1bd986(0x29b),'description':_0x1c0c0d[_0x1bd986(0x1c0)]});},async _0x5e3f3b=>{const _0x21dbb5=_0x15b0fa;warnRenamed(_0x21dbb5(0x17f),_0x1c0c0d[_0x21dbb5(0x15a)]),await _0x1c0c0d['JwRPH'](withTelemetry,_0x1c0c0d[_0x21dbb5(0x1c6)],()=>featureGetReview(_0x5e3f3b['id']));})[_0x15b0fa(0x1c5)](_0x1c0c0d[_0x15b0fa(0x19e)],![],_0x5be213=>{const _0x29e104=_0x15b0fa;return _0x5be213[_0x29e104(0x12d)]('id',{'type':_0x1c0c0d[_0x29e104(0x1f0)],'description':_0x1c0c0d[_0x29e104(0x161)]});},async _0x4e118c=>{const _0x5cc1ee=_0x15b0fa;_0x1c0c0d['JwRPH'](warnRenamed,_0x1c0c0d[_0x5cc1ee(0x1d7)],_0x1c0c0d['VoXHQ']),await withTelemetry(_0x1c0c0d['lAKIo'],()=>featureDelete(_0x4e118c['id']));})['command'](_0x15b0fa(0x206),![],_0x32734b=>{return _0x32734b['positional']('id',{'type':_0x1c0c0d['mkDwg'],'description':_0x1c0c0d['ZZJbJ'],'demandOption':!![]});},async _0x250c37=>{const _0x13dda0=_0x15b0fa;_0x1c0c0d['BqOBZ'](warnRenamed,_0x1c0c0d['jkhtK'],_0x13dda0(0x122)),await _0x1c0c0d['RZlvF'](withTelemetry,'feature\x20restore',()=>featureRestore(_0x250c37['id']));})['demandCommand'](0x1,_0x15b0fa(0x29e));})['command']('hook',![],_0x1c524b=>{const _0x1ceb8b=_0x5772e9,_0x650d97={'zHypo':_0x1ceb8b(0x29b),'fZVCF':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','KuyDa':function(_0x58aa5c,_0x3ae29a,_0x108717){return _0x58aa5c(_0x3ae29a,_0x108717);},'yJEeP':'hook:enable','iGpyE':_0x1ceb8b(0x141),'UARrO':function(_0x3800d1,_0x27ab2c,_0x5d106c){return _0x3800d1(_0x27ab2c,_0x5d106c);},'kWVZh':_0x1ceb8b(0x23e),'RVQIG':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session'};return _0x1c524b[_0x1ceb8b(0x1c5)]('enable','Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x3663ca=>{return _0x3663ca['option']('session-id',{'type':_0x650d97['zHypo'],'description':_0x650d97['fZVCF']});},async _0x458fe6=>{const _0x4c7692=_0x1ceb8b;await _0x650d97[_0x4c7692(0x24d)](withTelemetry,_0x650d97['yJEeP'],()=>hook(_0x4c7692(0x1e1),_0x458fe6['session-id']));})['command'](_0x650d97['kWVZh'],_0x650d97[_0x1ceb8b(0x224)],_0xee5174=>{const _0x4738d3=_0x1ceb8b;return _0xee5174[_0x4738d3(0x199)](_0x650d97[_0x4738d3(0x27c)],{'type':_0x650d97[_0x4738d3(0x1bd)],'description':_0x650d97[_0x4738d3(0x217)]});},async _0x8afeb0=>{const _0x3840e7=_0x1ceb8b;await _0x650d97[_0x3840e7(0x293)](withTelemetry,_0x3840e7(0x1cb),()=>hook(_0x3840e7(0x23e),_0x8afeb0['session-id']));})['option'](_0x1ceb8b(0x183),{'type':_0x1ceb8b(0x29b),'description':_0x1ceb8b(0x29a)})['option'](_0x1ceb8b(0x141),{'type':_0x650d97[_0x1ceb8b(0x1bd)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x413a6f=>{const _0x3bd05d=_0x5772e9;_0x413a6f[_0x3bd05d(0x183)]&&await hook(_0x413a6f[_0x3bd05d(0x183)],_0x413a6f['session-id']);})[_0x5772e9(0x244)](0x1,_0x5772e9(0x221))['strictCommands']()['fail'](async(_0x1f6689,_0x2e84c0,_0x286745)=>{const _0x4b6e59=_0x5772e9,_0x1408a2={'TPqkn':function(_0x50ef8d,_0x351ebb,_0x53c33e){return _0x50ef8d(_0x351ebb,_0x53c33e);},'qawFn':'Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','ijEyl':function(_0x1af773,_0xf4cfd6){return _0x1af773(_0xf4cfd6);},'XdJRS':function(_0xce9886){return _0xce9886();},'HEqOx':function(_0x6a0c15,_0x21651a){return _0x6a0c15||_0x21651a;},'dbPzc':_0x4b6e59(0x288)},_0x18f90c=sanitizeArgs(process['argv']['slice'](0x2)),_0x219b92=_0x1408a2['TPqkn'](getErrorType,_0x1f6689,_0x2e84c0);if(_0x1f6689&&_0x1f6689['includes'](_0x4b6e59(0x200))){const _0x2e0dbc=process['argv'][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x2e0dbc),console[_0x4b6e59(0x1c2)](_0x1408a2['qawFn']);}else{if(_0x1f6689)console[_0x4b6e59(0x1c2)]('\x0a'+_0x1f6689+'\x0a');else _0x2e84c0&&console['error']('\x0aError:\x20'+_0x2e84c0['message']+'\x0a');}await _0x1408a2[_0x4b6e59(0x1c7)](logDesirePath,{'rawCommand':_0x18f90c,'errorMessage':_0x1f6689||_0x2e84c0?.[_0x4b6e59(0x1ee)],'errorType':_0x219b92});const _0x3317b4=_0x1408a2['XdJRS'](getCurrentCollector);_0x3317b4&&await _0x3317b4['trackCommandError'](_0x2e84c0||new Error(_0x1408a2[_0x4b6e59(0x121)](_0x1f6689,_0x1408a2['dbPzc']))),process[_0x4b6e59(0x231)](0x1);})[_0x5772e9(0x136)](_0x5772e9(0x22d)+_0x5772e9(0x264)+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')[_0x5772e9(0x1b1)]()['alias']('help','h')[_0x5772e9(0x145)]();
|
|
2
|
+
const _0x42f322=_0x4e91;(function(_0x2d110f,_0x4ed345){const _0x1a35fa=_0x4e91,_0x5dc686=_0x2d110f();while(!![]){try{const _0xa5e7e7=parseInt(_0x1a35fa(0x10b))/0x1*(parseInt(_0x1a35fa(0x173))/0x2)+parseInt(_0x1a35fa(0x143))/0x3+parseInt(_0x1a35fa(0x1e1))/0x4+-parseInt(_0x1a35fa(0xd7))/0x5*(-parseInt(_0x1a35fa(0x171))/0x6)+-parseInt(_0x1a35fa(0x12d))/0x7*(parseInt(_0x1a35fa(0x245))/0x8)+parseInt(_0x1a35fa(0x126))/0x9*(-parseInt(_0x1a35fa(0x263))/0xa)+parseInt(_0x1a35fa(0x1e2))/0xb*(-parseInt(_0x1a35fa(0x11d))/0xc);if(_0xa5e7e7===_0x4ed345)break;else _0x5dc686['push'](_0x5dc686['shift']());}catch(_0x36840a){_0x5dc686['push'](_0x5dc686['shift']());}}}(_0x305f,0xedf08));import _0x414540 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x270995=_0x4e91,_0x24996c={'nkZUE':function(_0x17bdea,_0x31fe14){return _0x17bdea!==_0x31fe14;}};let _0x51820b=process[_0x270995(0x1d9)]();const _0x8819f6=parse(_0x51820b)[_0x270995(0xfc)];while(_0x24996c[_0x270995(0x257)](_0x51820b,_0x8819f6)){if(existsSync(join(_0x51820b,'.ranger'))||existsSync(join(_0x51820b,'.env')))return _0x51820b;_0x51820b=dirname(_0x51820b);}return process['cwd']();}_0x414540[_0x42f322(0xec)]({'path':join(findProjectRoot(),_0x42f322(0x177))});import _0x5766e5 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';function _0x4e91(_0x1c0876,_0x5f019d){_0x1c0876=_0x1c0876-0xc4;const _0x305f7b=_0x305f();let _0x4e91e3=_0x305f7b[_0x1c0876];return _0x4e91e3;}function _0x305f(){const _0x16bb52=['YCILR','unknown\x20error','command','auth','fYWwo','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','config\x20set','ranger\x20resume','tGNVJ','Pczvk','Initialize\x20Ranger\x20in\x20your\x20project','zsafl','exit','HreQt','Ranger\x20API\x20token','nFNgm','YvFhw','GgHPt','nmgSU','Ygufc','Subcommand\x20or\x20API\x20token\x20(rngr_...)','YZzzI','kREZR','GjvlO','unset\x20<profile>\x20<key>','setup:skills','get-review\x20[id]','reset\x20<profile>','use\x20<profile-name>','ranger','RgFfB','MPAMa','JZbYs','use\x20<env-name>','ZnZLm','Number\x20of\x20feature\x20reviews\x20to\x20skip','demandCommand','update\x20<profile-name>','dCKgH','SHYJN','ZTkPt','checklist','error','List\x20all\x20profiles','fail','bgtQb','name','YaZUS','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','ranger\x20go','ranger\x20delete','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','ranger\x20feature\x20get-feedback','lKwTS','mcp','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','repeat','lEqSS','Twkzu','login','Tmegi','ibgSB','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','oSETU','start','description','upxFg','PxrZm','exitCode','\x20INCOMPLETE','ranger\x20setup\x20profiles\x20--scope=','HFrFw','Scenario\x20description','\x0aError:\x20','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','yDxjB','update\x20<env-name>','32XVyqMN','ILoBL','task','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','restore\x20<id>','bDJkk','ranger\x20add-scenario','current-branch','HSFHh','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','Feature\x20review\x20ID','WfZAS','usage','EgWvI','kahHD','NODE_ENV','JszFX','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','nkZUE','aQiij','argv','boolean','NXKTm','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','setup-ci','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','fzkGo','Remove\x20a\x20config\x20value','OUcnd','skip-auth','10BsMcIj','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','mEUnJ','XUwaa','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','string','issues','skip-chromium','WxTTh','UmcxF','notes','delete\x20<profile-name>','PoXum','mcp-bootstrap','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','print-access-token','hzEyD','partial','tcfdg','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','evaluation','Update\x20authentication\x20for\x20an\x20existing\x20profile','unset\x20<env>\x20<key>','zjvup','create\x20<name>','hook:enable','model','.\x20[','qLQxQ','QWtXe','\x20VERIFIED','--scenario','ranger\x20auth\x20encrypt','qcKMC','ranger\x20setup','Print\x20the\x20current\x20CLI\x20access\x20token','aVHSv','HhZki','IVBCn','1441075aneSvs','ranger\x20profile\x20config\x20unset','Install\x20scope\x20for\x20skills','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','lBMSL','DzahE','with-deps','Login\x20failed:\x20','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','nDCYk','env','GnJBr','profile\x20config\x20unset','List\x20all\x20feature\x20reviews','version','alias','xWNYR','profile-name','Scenario\x20index\x20(1-based)','config','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','ktnXk','cdp-endpoint','onfxw','Name\x20of\x20the\x20profile\x20to\x20update','scenario','start\x20[token]','GkneX','Get\x20a\x20config\x20value','test_output','aBGvg','You\x20must\x20specify\x20an\x20auth\x20subcommand','ranger\x20profile\x20config\x20set','KaUVN','rpBdf','root','DIuxT','ranger\x20profile\x20config\x20get','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','Install\x20skills\x20for\x20OpenCode','YQTjO','feature\x20show','profile\x20add','DVjra','wIgqG','cNlVb','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','doXpA','Name\x20of\x20the\x20environment\x20to\x20update','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','15847sMbcqw','include-deleted','delete\x20[id]','terhm','opencode','RLbKj','FwNCq','rTqwv','skillup','dRJib','IMquD','REGKp','EoOtF','feature\x20delete','RceTk','TjBMq','sMjtg','profile','18914724WXliXR','token','ZAkel','hvqXu','add-checklist-item\x20<description>','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','ranger\x20feature\x20list','PqGma','OtxYR','215874hxOUFs','fEJyw','BVQQF','trackCommandError','parse','verify-feature','ranger\x20profile\x20use','757960amoFQK','BDLjS','SyMJw','organizationName','verified','SFfEN','Profile\x20name','oDIgO','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','all','sRoMa','edit-scenario\x20<description>','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','--checklist','wlBDP','Ranger\x20API\x20token\x20(rngr_...)','url','KhFet','pSCxl','JyRVz','CAIYv','3509781SbzzqF','zRclx','NqStc','wFHUW','Unknown\x20command','gpgNZ','OiNpK','GKlCD','ranger\x20profile\x20config\x20list','restore','NuBSv','WowFZ','show\x20[id]','Manage\x20profile\x20configuration','\x20PARTIAL','VHlmc','PVwjq','gqQHG','deps','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','You\x20must\x20specify\x20a\x20config\x20subcommand','sXUuL','offset','qizHW','env-name','jdfPI','neoBe','scope','pNFlZ','iboKx','tqDUa','NIqck','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.','profile\x20config\x20list','disable','profile\x20migrate','voNzs','Unknown\x20error','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','eoMsD','EHkdZ','value','Feature\x20review\x20description','key','eaORm','18WyGZoF','Evaluation:\x20','60ZlwvtW','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','ranger\x20create','DKaGn','.env','dkcnW','AgyvV','--notes','incomplete','PyAdS','OzvXi','TYvSF','MnccC','YZYap','WyWvS','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','get\x20<env>\x20<key>','slice','ranger\x20env\x20update','ranger\x20feature\x20resume','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','update','JQgsm','positional','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','setup:login','feature','uWXFg','API\x20token','BADoj','limit','sLcWS','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','EyJnm','hook','ranger\x20profile\x20add','MdMqm','save-creds','ranger\x20profile\x20ls','EfwTi','oqLYW','SGkQx','IupMm','IrbhS','ranger\x20config\x20unset','add\x20<profile-name>','login\x20<name>','ItUuM','NGCOp','Vxyac','config\x20get','force','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','Install\x20scope\x20for\x20plugin\x20and\x20skills','session-id','cxxGW','ZMMSV','owfpz','UKCvU','ysFYC','Feature\x20review\x20ID\x20to\x20restore','resume\x20[id]','\x20BLOCKED','Include\x20soft-deleted\x20feature\x20reviews','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','GfzSz','lpzEY','ranger\x20feature\x20delete','VjNyH','Set\x20up\x20a\x20local\x20browser\x20profile','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','profile\x20config\x20reset','status','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','✓\x20Login\x20succeeded\x20for\x20\x27','Rpwvt','QrrTs','show','clean','jcRsA','start-path','blocked','number','WbYTR','set\x20<env>\x20<key>\x20<value>','ranger\x20feature\x20add-checklist-item','Feature\x20review\x20name','AJxib','SwieD','Name\x20of\x20the\x20profile','user','mygug','Install\x20Ranger\x20skills','ranger\x20add\x20env','allow-insecure-localhost','safe-mode','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','log','Zkyja','Install\x20OS-level\x20dependencies\x20for\x20Chromium','PkNmn','WYddO','cwd','help','QlikT','Cloud\x20profile\x20name','iVfHU','hSETH','EGFvM','oPEuL','1991804nQansk','11AxtJbv','djpVn','eEIRN','XtenC','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','yRSQM','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','RtfNd','report','Delete\x20a\x20cloud\x20profile','Oswhx','jUVcr','feature\x20restore','option','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','IqzWh','project','ranger\x20feature\x20create','Skip\x20browser\x20authentication','exclude-scenario'];_0x305f=function(){return _0x16bb52;};return _0x305f();}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 _0x1fb87e=>{const _0x15e134=_0x42f322,_0x5d548b={'mEUnJ':function(_0x531d61){return _0x531d61();}},_0x1ab517=_0x5d548b[_0x15e134(0x265)](getCurrentCollector);_0x1ab517&&await _0x1ab517[_0x15e134(0x129)](_0x1fb87e),process[_0x15e134(0x23c)]=0x1;});const rawArgs=process[_0x42f322(0x259)]['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\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',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(_0x19a48f,_0x2cb40d){console['error']('\x0a'+_0x19a48f+'\x20is\x20now\x20'+_0x2cb40d+'\x0a');}function argUsed(_0x4eff11){return rawArgs['some'](_0x450a88=>_0x450a88===_0x4eff11||_0x450a88['startsWith'](_0x4eff11+'='));}function warnFlagRenamed(_0x213afb,_0x5f2011,_0x40bb37){const _0x15064b=_0x42f322,_0x72d1a2={'ysFYC':function(_0x357a1c,_0x42a283,_0xdf7ce8){return _0x357a1c(_0x42a283,_0xdf7ce8);}};argUsed(_0x5f2011)&&_0x72d1a2[_0x15064b(0x1ae)](warnRenamed,_0x213afb+'\x20'+_0x5f2011,_0x213afb+'\x20'+_0x40bb37);}async function runGoCommand(_0x206f43,_0x6f4dec=![]){const _0x330904=_0x42f322,_0xf5db17={'TqyAx':function(_0x1016df,_0x2f4ed6){return _0x1016df+_0x2f4ed6;},'CQYZD':function(_0x43155b,_0x51d2a9,_0x814e3,_0x3452b2){return _0x43155b(_0x51d2a9,_0x814e3,_0x3452b2);},'nQbQB':'--env','viDIe':_0x330904(0x17a),'sRoMa':'ranger\x20go','dRJib':_0x330904(0xcf),'FwNCq':function(_0x13714c){return _0x13714c();},'tAxzl':_0x330904(0x1c3),'xCAgG':'verified','iboKx':_0x330904(0x17b),'dBDVg':_0x330904(0x23d),'yDxjB':function(_0x41014e,_0x52db31){return _0x41014e===_0x52db31;},'yedDZ':'partial','MdMqm':_0x330904(0x1c4),'zufUj':_0x330904(0x1b1),'rTqwv':'\x20FAILED','KZbgY':function(_0x26a9b7,_0x5bc6e9){return _0x26a9b7===_0x5bc6e9;}};_0x6f4dec&&warnRenamed('ranger\x20verify-feature',_0x330904(0x229));_0xf5db17['CQYZD'](warnFlagRenamed,_0x330904(0x229),_0xf5db17['nQbQB'],'--profile'),warnFlagRenamed(_0x330904(0x229),'--task',_0xf5db17['viDIe']),_0xf5db17['CQYZD'](warnFlagRenamed,_0xf5db17[_0x330904(0x138)],'--item',_0xf5db17[_0x330904(0x114)]);const _0x4a3dc9=await _0xf5db17[_0x330904(0x111)](loadRangerConfig),_0x21eaf7=isByokEnabled(),_0x2246b0=_0x206f43['model'],_0x157076=_0x4a3dc9[_0x330904(0xca)],_0x197244=await verifyFeature({'featureId':_0x206f43['feature'],'profile':_0x206f43[_0x330904(0x11c)]??_0x206f43['env']??process[_0x330904(0xe3)]['RANGER_PROFILE'],'notes':_0x206f43['notes']??_0x206f43['task'],'scenario':_0x206f43[_0x330904(0xf2)]??_0x206f43['item'],'startPath':_0x206f43[_0xf5db17['tAxzl']],'baseUrl':_0x206f43['base-url'],'debugOutcome':_0x206f43['debug-outcome'],'debugAddressComments':_0x206f43['debug-address-comments'],'headed':_0x206f43['headed'],'byokEnabled':_0x21eaf7,'flagVerifyModel':_0x2246b0,'configVerifyModel':_0x157076});console[_0x330904(0x1d4)]('\x0a'+'='[_0x330904(0x230)](0x3c)),console[_0x330904(0x1d4)](_0x197244['evaluation']===_0xf5db17['xCAgG']?_0x330904(0xce):_0x197244[_0x330904(0xc4)]===_0xf5db17[_0x330904(0x161)]?_0xf5db17['dBDVg']:_0xf5db17[_0x330904(0x243)](_0x197244['evaluation'],_0xf5db17['yedDZ'])?_0x330904(0x151):_0xf5db17[_0x330904(0x243)](_0x197244[_0x330904(0xc4)],_0xf5db17[_0x330904(0x197)])?_0xf5db17['zufUj']:_0xf5db17[_0x330904(0x112)]),console['log']('='['repeat'](0x3c)),console[_0x330904(0x1d4)]('Summary:\x20'+_0x197244['summary']),console[_0x330904(0x1d4)](_0x330904(0x172)+_0x197244['evaluation']),console[_0x330904(0x1d4)]('Reason:\x20'+_0x197244['evaluationReason']),_0x197244['issues']?.['length']&&(console['log']('\x0aIssues:'),_0x197244[_0x330904(0x269)]['forEach']((_0x342951,_0x1ae609)=>{const _0x2082b2=_0x330904;console[_0x2082b2(0x1d4)]('\x0a'+_0xf5db17['TqyAx'](_0x1ae609,0x1)+_0x2082b2(0xcb)+_0x342951['severity']+']\x20'+_0x342951[_0x2082b2(0x239)]);})),process[_0x330904(0x204)](_0xf5db17['KZbgY'](_0x197244[_0x330904(0xc4)],_0xf5db17['xCAgG'])?0x0:0x1);}export function buildParser(_0x216c38){const _0x374a8f=_0x42f322,_0x56ed49={'rEgnK':'name','Vxyac':_0x374a8f(0x239),'Twkzu':_0x374a8f(0x268),'IqzWh':_0x374a8f(0x16e),'ZTkPt':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','oSETU':_0x374a8f(0x221),'dkOcD':function(_0x222813,_0x581cc7){return _0x222813+_0x581cc7;},'Zceuw':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','vxIFY':function(_0x11d026,_0x11e4e4,_0x2c8c65,_0x2717ee){return _0x11d026(_0x11e4e4,_0x2c8c65,_0x2717ee);},'SFgZH':_0x374a8f(0x175),'OOUmm':'--checklist','jUVcr':'--scenario','bgtQb':'create','JszFX':'boolean','nvSWW':_0x374a8f(0x174),'EHkdZ':'number','onfxw':_0x374a8f(0x15a),'DdyrM':_0x374a8f(0x10c),'Rpwvt':function(_0x50b09f,_0x17a2b6,_0x8478be){return _0x50b09f(_0x17a2b6,_0x8478be);},'SxLpF':'list','XUwaa':function(_0xdeb41f,_0x332505,_0x37b9c2){return _0xdeb41f(_0x332505,_0x37b9c2);},'gHOmJ':'resume','ZMMSV':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','GjvlO':'add-scenario','cNlVb':'New\x20scenario\x20description','CQEwi':'Scenario\x20number\x20to\x20edit\x20(1-based)','KaUVN':'Feature\x20review\x20ID','NIqck':'array','rIWYo':'json','vkWtk':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','Erkug':_0x374a8f(0x1ea),'fEJyw':function(_0x5ec89e,_0x29948c,_0x23305b){return _0x5ec89e(_0x29948c,_0x23305b);},'DYhcR':'delete','PxrZm':_0x374a8f(0x14c),'QlikT':'mcp-bootstrap','VSXJv':function(_0x4a2ce2,_0x3a0875){return _0x4a2ce2!==_0x3a0875;},'jIkKV':'setup:profiles','TYvSF':'Skip\x20authentication','UzXor':_0x374a8f(0x1b9),'zsafl':_0x374a8f(0x25e),'DzahE':_0x374a8f(0x236),'tqDUa':_0x374a8f(0x157),'pVzXp':'Alias\x20for\x20--mcp-bootstrap','ynlPJ':_0x374a8f(0x13d),'BcqXX':'Authenticate\x20via\x20MCP\x20proxy','hvqXu':function(_0x1522e4,_0x5e1bb8,_0x21cfda){return _0x1522e4(_0x5e1bb8,_0x21cfda);},'lpzEY':_0x374a8f(0x1cd),'UAFWV':'Base\x20URL\x20of\x20the\x20running\x20app','YZYap':_0x374a8f(0x262),'tcfdg':'Run\x20full\x20interactive\x20setup','RceTk':'login','PkNmn':'Authenticate\x20with\x20Ranger','YQTjO':'skills','WowFZ':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','bDJkk':'profiles','hzEyD':_0x374a8f(0x1b8),'aVHSv':_0x374a8f(0x1d3),'SyMJw':'scope','GkneX':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','oPEuL':'force','jcRsA':_0x374a8f(0x13a),'JcIZF':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','SFfEN':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','IVBCn':_0x374a8f(0x11e),'RUFnc':_0x374a8f(0x238),'IFOYF':_0x374a8f(0x206),'RgFfB':'profile','sYIot':_0x374a8f(0x187),'PVwjq':'base-url','TYYYV':'Skip\x20Chromium\x20browser\x20installation','zMCON':_0x374a8f(0x25d),'kVPft':_0x374a8f(0x10f),'sBHpH':_0x374a8f(0x100),'aBChR':_0x374a8f(0xd9),'aGCsP':function(_0x43f857,_0x56a974){return _0x43f857(_0x56a974);},'wmkRn':_0x374a8f(0x1c1),'OJxHR':_0x374a8f(0x1fc),'eTRjO':_0x374a8f(0x13e),'MHTBn':_0x374a8f(0xef),'rdCEX':'allow-insecure-localhost','ehrJm':_0x374a8f(0x1b3),'wlBDP':'setup-header','EGFvM':'profile-name','eAzFK':function(_0x53cd68,_0x4afda5,_0x2bfb12){return _0x53cd68(_0x4afda5,_0x2bfb12);},'MnccC':'profile\x20ls','TjBMq':_0x374a8f(0x137),'MQkWQ':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','dFvXa':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','BADoj':'Skip\x20interactive\x20confirmation\x20prompts.','eaORm':function(_0xac64d0,_0x37ef0f,_0x3b34d3){return _0xac64d0(_0x37ef0f,_0x3b34d3);},'wIgqG':'get\x20<profile>\x20<key>','aBGvg':_0x374a8f(0x260),'XUIXH':_0x374a8f(0x1a0),'aQiij':'Add\x20profile\x20configuration','EfwTi':_0x374a8f(0x214),'SHYJN':_0x374a8f(0x1eb),'GroYZ':'encrypt-auth\x20<profile>','Tmegi':_0x374a8f(0x1a1),'caFDU':'migrate\x20[profile-name]','RtfNd':_0x374a8f(0xec),'voNzs':_0x374a8f(0x150),'ZAkel':'You\x20must\x20specify\x20a\x20profile\x20subcommand','KRgKZ':function(_0x53e6a4){return _0x53e6a4();},'UteIk':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','zmZqx':function(_0x49245b,_0x5b2f8f,_0x5e7b73){return _0x49245b(_0x5b2f8f,_0x5e7b73);},'NuBSv':'print-access-token','fCTwr':'Optional\x20feature\x20ID','eEIRN':_0x374a8f(0x26d),'NnuGh':_0x374a8f(0x228),'Pczvk':_0x374a8f(0xf2),'DKaGn':_0x374a8f(0xeb),'HhZki':_0x374a8f(0x1c3),'neoBe':'debug-outcome','lofOS':'verified','LFikC':_0x374a8f(0x1c4),'iVfHU':'failed','XtenC':_0x374a8f(0x17b),'ykmUj':_0x374a8f(0xe3),'GKlCD':'item','Xdmqa':_0x374a8f(0xd0),'AnaRv':'encrypt\x20<profile>','ILoBL':_0x374a8f(0x26a),'YaZUS':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','YvFhw':'ranger\x20start','gSbKM':_0x374a8f(0x22f),'EyJnm':_0x374a8f(0x247),'doXpA':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','upxFg':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','pSCxl':'headed','dkcnW':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','YCILR':_0x374a8f(0x1fb),'eRpNR':function(_0x42e2f7,_0x35727d,_0x11c822){return _0x42e2f7(_0x35727d,_0x11c822);},'ItUuM':_0x374a8f(0x196),'BkHzC':'Name\x20of\x20the\x20environment','AfUAX':function(_0x4c1424,_0x34e0f4,_0x210012){return _0x4c1424(_0x34e0f4,_0x210012);},'fPdAk':'ranger\x20use','ATsgc':_0x374a8f(0x12c),'PBovU':'ranger\x20config\x20list','fYWwo':_0x374a8f(0x14b),'UDYLp':'key','Glsgk':'Config\x20value','ABSyw':_0x374a8f(0xd8),'kREZR':_0x374a8f(0x183),'mgIir':_0x374a8f(0x158),'tGNVJ':_0x374a8f(0x199),'EgWvI':function(_0x5deaf1,_0xb8ebf2,_0x498183){return _0x5deaf1(_0xb8ebf2,_0x498183);},'qziwD':'env\x20list','iJgOr':_0x374a8f(0x15c),'ZSwKl':_0x374a8f(0x109),'fpfFX':function(_0x34e99c,_0x2968d,_0x33ce3a){return _0x34e99c(_0x2968d,_0x33ce3a);},'QrrTs':_0x374a8f(0x185),'UAmQp':'ranger\x20profile\x20update','qLQxQ':'You\x20must\x20specify\x20an\x20env\x20subcommand','ZnZLm':_0x374a8f(0x1c9),'qizHW':_0x374a8f(0x24b),'NGCOp':function(_0x16f7f8,_0x5cd21f,_0x4e16b8){return _0x16f7f8(_0x5cd21f,_0x4e16b8);},'WsdjT':'Feature\x20review\x20ID\x20to\x20restore','NOvre':_0x374a8f(0x1f3),'EoOtF':_0x374a8f(0xdb),'GgHPt':'feature\x20list','XGslL':_0x374a8f(0x102),'OtebL':'Scenario\x20description','XuPvl':_0x374a8f(0x1b6),'Vydeh':'ranger\x20feature\x20restore','qcKMC':'ranger\x20restore','oDIgO':_0x374a8f(0x10d),'WYddO':_0x374a8f(0xc9),'AJxib':'session-id','pNFlZ':_0x374a8f(0x10a),'xDHnF':_0x374a8f(0x16a),'qfPCl':_0x374a8f(0x166),'zjvup':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','AXqgf':_0x374a8f(0x147),'BLofW':function(_0x58a81d){return _0x58a81d();},'lMMjc':function(_0x160e3c,_0x123929){return _0x160e3c||_0x123929;},'BDLjS':_0x374a8f(0x215),'MPDBt':function(_0x16d9d6){return _0x16d9d6();},'wsbap':_0x374a8f(0xc8),'nDCYk':_0x374a8f(0x107),'DaUGW':_0x374a8f(0xe6),'lBMSL':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','yRSQM':'add-scenario\x20<description>','QdTZX':'report\x20[id]','WxTTh':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','UedFZ':'Restore\x20a\x20soft-deleted\x20feature\x20review','ACIMp':_0x374a8f(0x202),'SwieD':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','HzMFZ':'skillup','RQCRA':_0x374a8f(0x136),'NXKTm':_0x374a8f(0x1bb),'Dlhlx':_0x374a8f(0x18b),'VHlmc':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','sYgqM':_0x374a8f(0x193),'gINjt':_0x374a8f(0x1f9),'HFrFw':_0x374a8f(0x12b),'Ygufc':'add\x20env\x20<env-name>','nmgSU':function(_0x294fbc,_0x56bb48){return _0x294fbc+_0x56bb48;},'IrbhS':'\x20\x20https://docs.ranger.net\x0a'};return _0x56ed49['aGCsP'](_0x5766e5,_0x216c38??process[_0x374a8f(0x259)][_0x374a8f(0x184)](0x2))['scriptName'](_0x56ed49[_0x374a8f(0x12e)])[_0x374a8f(0x251)](TOP_LEVEL_HELP)[_0x374a8f(0xe7)](_0x56ed49['MPDBt'](getCurrentVersion))['command'](_0x56ed49['wsbap'],_0x56ed49[_0x374a8f(0xe2)],_0x4e7b70=>{const _0x52976a=_0x374a8f;return _0x4e7b70['positional'](_0x56ed49['rEgnK'],{'type':_0x52976a(0x268),'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x56ed49['Vxyac'],{'type':_0x56ed49[_0x52976a(0x232)],'alias':'d','description':_0x56ed49[_0x52976a(0x1f1)]})[_0x52976a(0x1ef)](_0x52976a(0xf2),{'type':'array','alias':'c','description':_0x56ed49[_0x52976a(0x220)]})['option'](_0x56ed49[_0x52976a(0x237)],{'type':'array','hidden':!![]});},async _0x5cefe5=>{const _0x51a957=_0x374a8f;if(!_0x5cefe5['name']){console[_0x51a957(0x222)](_0x56ed49['dkOcD'](_0x56ed49['Zceuw'],'Example:\x20ranger\x20create\x20my-feature')),process['exit'](0x1);return;}_0x56ed49['vxIFY'](warnFlagRenamed,_0x56ed49['SFgZH'],_0x56ed49['OOUmm'],_0x56ed49[_0x51a957(0x1ed)]);const _0x90c40f=_0x5cefe5[_0x51a957(0xf2)]||_0x5cefe5[_0x51a957(0x221)];await withTelemetry(_0x56ed49[_0x51a957(0x225)],()=>featureCreate(_0x5cefe5[_0x51a957(0x226)],{'description':_0x5cefe5[_0x51a957(0x239)],'scenarios':_0x90c40f}));})[_0x374a8f(0x1f8)]('list',_0x56ed49['DaUGW'],_0x12a52f=>{const _0x213358=_0x374a8f;return _0x12a52f[_0x213358(0x1ef)](_0x213358(0x24c),{'type':_0x56ed49['JszFX'],'description':_0x56ed49['nvSWW']})['option'](_0x213358(0x191),{'type':_0x56ed49[_0x213358(0x16c)],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x56ed49[_0x213358(0xf0)],{'type':_0x213358(0x1c5),'alias':'o','description':_0x213358(0x21b),'default':0x0})[_0x213358(0x1ef)](_0x56ed49['DdyrM'],{'type':_0x56ed49['JszFX'],'alias':'d','description':_0x213358(0x1b2),'default':![]});},async _0x522f12=>{const _0x2d95cf=_0x374a8f;await _0x56ed49[_0x2d95cf(0x1be)](withTelemetry,_0x56ed49['SxLpF'],()=>featureList({'currentBranch':_0x522f12['current-branch'],'limit':_0x522f12['limit'],'offset':_0x522f12[_0x2d95cf(0x15a)],'includeDeleted':_0x522f12[_0x2d95cf(0x10c)]}));})['command'](_0x374a8f(0x14f),_0x56ed49[_0x374a8f(0xdd)],_0x2e54c4=>{const _0x309d56=_0x374a8f;return _0x2e54c4['positional']('id',{'type':_0x56ed49[_0x309d56(0x232)],'description':_0x309d56(0x24f)});},async _0x3a4fc6=>{const _0x14052a=_0x374a8f;await withTelemetry(_0x14052a(0x1c0),()=>featureShow(_0x3a4fc6['id']));})['command']('resume\x20[id]',_0x374a8f(0x1e6),_0x12145f=>{const _0x5ce93a=_0x374a8f;return _0x12145f[_0x5ce93a(0x18a)]('id',{'type':_0x56ed49['Twkzu'],'description':_0x5ce93a(0x182)});},async _0x466011=>{await _0x56ed49['XUwaa'](withTelemetry,_0x56ed49['gHOmJ'],()=>featureResume(_0x466011['id']));})[_0x374a8f(0x1f8)](_0x56ed49[_0x374a8f(0x1e7)],'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x2aab39=>{const _0x243956=_0x374a8f;return _0x2aab39['positional']('description',{'type':'string','description':_0x243956(0x240),'demandOption':!![]})['option']('id',{'type':_0x56ed49['Twkzu'],'description':_0x56ed49[_0x243956(0x1ab)]});},async _0x2469c2=>{const _0x133783=_0x374a8f;await withTelemetry(_0x56ed49[_0x133783(0x20f)],()=>featureAddScenario(_0x2469c2['description'],_0x2469c2['id']));})[_0x374a8f(0x1f8)](_0x374a8f(0x139),'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x22105d=>{const _0x14cf8b=_0x374a8f;return _0x22105d['positional'](_0x56ed49['Vxyac'],{'type':_0x56ed49[_0x14cf8b(0x232)],'description':_0x56ed49[_0x14cf8b(0x106)],'demandOption':!![]})['option'](_0x14cf8b(0xf2),{'type':_0x14cf8b(0x1c5),'description':_0x56ed49['CQEwi'],'demandOption':!![]})[_0x14cf8b(0x1ef)]('id',{'type':_0x56ed49['Twkzu'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x14f834=>{await withTelemetry('edit-scenario',()=>featureEditScenario(_0x14f834['description'],{'id':_0x14f834['id'],'scenario':_0x14f834['scenario']}));})[_0x374a8f(0x1f8)](_0x56ed49['QdTZX'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x46a0d0=>{const _0xde636c=_0x374a8f;return _0x46a0d0[_0xde636c(0x18a)]('id',{'type':_0xde636c(0x268),'description':_0x56ed49[_0xde636c(0xfa)]})[_0xde636c(0x1ef)]('exclude-scenario',{'type':_0x56ed49['NIqck'],'description':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)'})[_0xde636c(0x1ef)](_0x56ed49['rIWYo'],{'type':_0x56ed49['JszFX'],'description':_0x56ed49['vkWtk'],'default':![]});},async _0x1a5878=>{const _0x1f36f9=_0x374a8f,_0x52ead7=_0x1a5878[_0x1f36f9(0x1f5)],_0x26eef0=_0x52ead7?_0x52ead7['map'](_0x5c92ce=>Number(_0x5c92ce)):undefined;await withTelemetry(_0x56ed49['Erkug'],()=>featureReportPrDescription(_0x1a5878['id'],{'excludeScenarios':_0x26eef0,'json':_0x1a5878['json']}));})['command'](_0x374a8f(0x212),_0x56ed49[_0x374a8f(0x26b)],_0x434897=>{const _0x24e2eb=_0x374a8f;return _0x434897[_0x24e2eb(0x18a)]('id',{'type':_0x56ed49[_0x24e2eb(0x232)],'description':_0x24e2eb(0xed)});},async _0x1a9d40=>{await _0x56ed49['fEJyw'](withTelemetry,'get-review',()=>featureGetReview(_0x1a9d40['id']));})['command']('delete\x20[id]','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x37b83e=>{const _0x119fd2=_0x374a8f;return _0x37b83e[_0x119fd2(0x18a)]('id',{'type':'string','description':_0x119fd2(0x24f)});},async _0x272497=>{const _0x20d665=_0x374a8f;await _0x56ed49[_0x20d665(0x127)](withTelemetry,_0x56ed49['DYhcR'],()=>featureDelete(_0x272497['id']));})[_0x374a8f(0x1f8)](_0x374a8f(0x249),_0x56ed49['UedFZ'],_0x2df997=>{const _0xea1a3f=_0x374a8f;return _0x2df997[_0xea1a3f(0x18a)]('id',{'type':'string','description':_0xea1a3f(0x1af),'demandOption':!![]});},async _0x3de42e=>{const _0xbd6e45=_0x374a8f;await withTelemetry(_0x56ed49[_0xbd6e45(0x23b)],()=>featureRestore(_0x3de42e['id']));})['command']('setup\x20[tokenOrSubcommand]',_0x56ed49['ACIMp'],_0x386c10=>{const _0x5a6f7e=_0x374a8f,_0xd763a3={'PyAdS':'token','sLcWS':'string','WyWvS':_0x5a6f7e(0x26a),'mygug':_0x56ed49['JszFX'],'terhm':_0x56ed49[_0x5a6f7e(0x17e)],'QWtXe':_0x5a6f7e(0x15f),'JQgsm':_0x56ed49['UzXor'],'lEqSS':_0x56ed49[_0x5a6f7e(0x203)],'TvCvc':_0x56ed49[_0x5a6f7e(0xde)],'NqStc':'opencode','CAIYv':_0x5a6f7e(0x1d1),'RLbKj':_0x56ed49[_0x5a6f7e(0x162)],'KwBxn':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','OMwQW':_0x56ed49['pVzXp'],'hrsKn':_0x56ed49['ynlPJ'],'rYsbb':_0x5a6f7e(0x22e),'PoXum':_0x56ed49['BcqXX'],'LNZIo':function(_0x2c9aee){return _0x2c9aee();},'IcRSI':'project','VLpZd':_0x5a6f7e(0x122),'PqGma':function(_0x41542b,_0x4bc96f,_0x4254a1){const _0x4d34c0=_0x5a6f7e;return _0x56ed49[_0x4d34c0(0x120)](_0x41542b,_0x4bc96f,_0x4254a1);},'kahHD':function(_0x1e6c52,_0x444864){return _0x1e6c52(_0x444864);},'XEqdV':_0x5a6f7e(0x211),'OiNpK':_0x56ed49['lpzEY'],'WTLKP':_0x56ed49['UAFWV'],'YFLgs':_0x56ed49['YZYap'],'jdfPI':'force'};return _0x386c10[_0x5a6f7e(0x251)](_0x5a6f7e(0x264))['positional']('tokenOrSubcommand',{'type':_0x56ed49['Twkzu'],'description':_0x5a6f7e(0x20c)})['command']('all',_0x56ed49[_0x5a6f7e(0x275)],_0x2918f8=>{const _0x2210f8=_0x5a6f7e;return _0x2918f8[_0x2210f8(0x1ef)](_0xd763a3[_0x2210f8(0x17c)],{'type':_0xd763a3['sLcWS'],'description':'Ranger\x20API\x20token'})['option'](_0xd763a3[_0x2210f8(0x181)],{'type':_0xd763a3['mygug'],'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option']('skip-auth',{'type':_0x2210f8(0x25a),'description':_0xd763a3[_0x2210f8(0x10e)],'default':![]})['option'](_0x2210f8(0xdf),{'type':_0x2210f8(0x25a),'description':_0x2210f8(0x1d6),'default':![]})[_0x2210f8(0x1ef)](_0xd763a3[_0x2210f8(0xcd)],{'type':'string','choices':['user'],'hidden':!![],'description':_0xd763a3[_0x2210f8(0x189)]})['option']('url',{'type':_0x2210f8(0x268),'description':_0xd763a3[_0x2210f8(0x231)]})['option'](_0x2210f8(0x1a6),{'type':_0xd763a3['mygug'],'description':_0xd763a3['TvCvc'],'default':![]})['option'](_0xd763a3['NqStc'],{'type':_0xd763a3['mygug'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0xd763a3[_0x2210f8(0x142)],{'type':_0x2210f8(0x25a),'description':_0xd763a3['RLbKj'],'default':![]})[_0x2210f8(0x1ef)](_0x2210f8(0x270),{'type':'boolean','description':_0xd763a3['KwBxn'],'default':![]})[_0x2210f8(0x1ef)](_0x2210f8(0x22e),{'type':'boolean','description':_0xd763a3['OMwQW'],'default':![]});},async _0x38b777=>{const _0xa95fb2=_0x5a6f7e;(_0x38b777[_0x56ed49[_0xa95fb2(0x1db)]]||_0x38b777[_0xa95fb2(0x22e)])&&await withTelemetry(_0xa95fb2(0x270),()=>mcpBootstrap()),await _0x56ed49[_0xa95fb2(0x266)](withTelemetry,'setup:all',_0x3663e5=>start(_0x38b777['token'],{'skipChromium':_0x38b777[_0xa95fb2(0x26a)],'skipAuth':_0x38b777['skip-auth'],'withDeps':_0x38b777['with-deps'],'scope':_0x38b777['scope'],'url':_0x38b777[_0xa95fb2(0x13e)],'force':_0x38b777[_0xa95fb2(0x1a6)],'opencode':_0x38b777[_0xa95fb2(0x10f)],'allowInsecureLocalhost':_0x38b777['allow-insecure-localhost']},_0x3663e5));})['command'](_0x5a6f7e(0x155),'Install\x20Chromium\x20browser\x20binary',_0xbf27f0=>{const _0xf06e51=_0x5a6f7e;return _0xbf27f0[_0xf06e51(0x1ef)](_0xf06e51(0xdf),{'type':_0xd763a3[_0xf06e51(0x1ce)],'description':_0xf06e51(0x25c),'default':![]});},async _0x5cdc6f=>{await _0x56ed49['fEJyw'](withTelemetry,'setup:deps',()=>ensureChromium(_0x5cdc6f['with-deps']));})['command'](_0x56ed49[_0x5a6f7e(0x119)],_0x56ed49[_0x5a6f7e(0x1d7)],_0x174ff8=>{const _0x5c0a39=_0x5a6f7e;return _0x174ff8['option'](_0x5c0a39(0x11e),{'type':_0xd763a3[_0x5c0a39(0x192)],'description':_0xd763a3['hrsKn']})['option'](_0xd763a3['rYsbb'],{'type':_0xd763a3['mygug'],'description':_0xd763a3[_0x5c0a39(0x26f)],'default':![]});},async _0x38c377=>{const _0x220e15=_0x5a6f7e,_0x259e8f={'IupMm':function(_0x1c8705){return _0xd763a3['LNZIo'](_0x1c8705);},'WnYqr':_0x220e15(0x1bc),'oqLYW':function(_0x2c9879,_0xddea42){return _0x2c9879(_0xddea42);}};await withTelemetry(_0x220e15(0x18c),async()=>{const _0x58c9c1=_0x220e15;if(_0x38c377['mcp']){await _0x259e8f['IupMm'](mcpBootstrap);const _0x11f737=await _0x259e8f[_0x58c9c1(0x19d)](refreshCliToken);if(!_0x11f737)throw new Error(_0x259e8f['WnYqr']);const _0x73d679=await getCurrentUser(_0x11f737);if(!_0x73d679['success'])throw new Error(_0x58c9c1(0xdc)+_0x73d679[_0x58c9c1(0x222)]);console[_0x58c9c1(0x1d4)]('✓\x20Authenticated\x20to\x20'+_0x73d679['user'][_0x58c9c1(0x130)]);return;}await _0x259e8f[_0x58c9c1(0x19b)](authenticate,_0x38c377[_0x58c9c1(0x11e)]);});})['command'](_0x56ed49[_0x5a6f7e(0x101)],_0x56ed49[_0x5a6f7e(0x14e)],_0x132f46=>{const _0x1547d7=_0x5a6f7e;return _0x132f46[_0x1547d7(0x1ef)](_0xd763a3[_0x1547d7(0xcd)],{'type':'string','choices':['user',_0xd763a3['IcRSI']],'description':_0x1547d7(0x1a8)})[_0x1547d7(0x1ef)](_0xd763a3[_0x1547d7(0x145)],{'type':'boolean','description':_0xd763a3['VLpZd'],'default':![]});},async _0x40c83e=>{const _0x566439={'sMjtg':function(_0x3ac8d6,_0x148535,_0xef8f81){const _0x59548e=_0x4e91;return _0xd763a3[_0x59548e(0x124)](_0x3ac8d6,_0x148535,_0xef8f81);},'OmQFz':function(_0x4db7de){return _0xd763a3['LNZIo'](_0x4db7de);},'GfzSz':function(_0x33950c,_0x5f0108){const _0x23fb85=_0x4e91;return _0xd763a3[_0x23fb85(0x253)](_0x33950c,_0x5f0108);}};await withTelemetry(_0xd763a3['XEqdV'],async()=>{const _0x56b70c=_0x4e91,_0x3e28b8=_0x40c83e[_0x56b70c(0x15f)];if(_0x40c83e['opencode']){const _0x13ae7c=await ensureOpencodePluginConfig(_0x3e28b8);_0x13ae7c&&await _0x566439[_0x56b70c(0x11b)](installSkill,_0x56b70c(0x215),{'level':_0x13ae7c[_0x56b70c(0x15f)],'cliVersion':_0x566439['OmQFz'](getCurrentVersion),'platform':_0x56b70c(0x10f)});}else await ensureClaudePlugin(_0x3e28b8),await _0x566439[_0x56b70c(0x1b4)](ensureClaudeSkills,_0x3e28b8);});})[_0x5a6f7e(0x1f8)](_0x56ed49[_0x5a6f7e(0x24a)],_0x56ed49[_0x5a6f7e(0x273)],_0x42f527=>{const _0x2ecd23=_0x5a6f7e;return _0x42f527['option'](_0xd763a3[_0x2ecd23(0xcd)],{'type':_0xd763a3['sLcWS'],'choices':[_0xd763a3[_0x2ecd23(0x149)]],'description':_0x2ecd23(0x1b9)})[_0x2ecd23(0x1ef)](_0x2ecd23(0x13e),{'type':_0xd763a3[_0x2ecd23(0x192)],'description':_0xd763a3['WTLKP']})[_0x2ecd23(0x1ef)](_0xd763a3['YFLgs'],{'type':'boolean','description':_0x2ecd23(0x1f4),'default':![]})[_0x2ecd23(0x1ef)](_0xd763a3[_0x2ecd23(0x15d)],{'type':_0x2ecd23(0x25a),'description':_0xd763a3['TvCvc'],'default':![]})[_0x2ecd23(0x1ef)](_0xd763a3['CAIYv'],{'type':_0x2ecd23(0x25a),'description':_0xd763a3[_0x2ecd23(0x110)],'default':![]});},async _0x34645e=>{const _0x2b74e4=_0x5a6f7e,_0x18fd8d=_0x34645e[_0x2b74e4(0x15f)];_0x56ed49['VSXJv'](_0x18fd8d,undefined)&&_0x56ed49['VSXJv'](_0x18fd8d,'user')&&(console[_0x2b74e4(0x222)](_0x2b74e4(0x23e)+_0x18fd8d+'\x20is\x20no\x20longer\x20supported.\x20'+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20'+_0x2b74e4(0x256)),process[_0x2b74e4(0x204)](0x1)),await _0x56ed49[_0x2b74e4(0x1be)](withTelemetry,_0x56ed49['jIkKV'],_0x5af2de=>ensureLocalEnv({'url':_0x34645e['url'],'force':_0x34645e['force'],'allowInsecureLocalhost':_0x34645e[_0x2b74e4(0x1d1)],'scope':_0x2b74e4(0x1cd)},_0x5af2de));})['option'](_0x5a6f7e(0x26a),{'type':_0x5a6f7e(0x25a),'description':_0x56ed49[_0x5a6f7e(0xd4)],'default':![]})[_0x5a6f7e(0x1ef)](_0x56ed49[_0x5a6f7e(0x12f)],{'type':'string','choices':[_0x5a6f7e(0x1cd)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})['option'](_0x5a6f7e(0x13e),{'type':'string','description':_0x56ed49[_0x5a6f7e(0xf4)]})['option'](_0x56ed49[_0x5a6f7e(0x1e0)],{'type':_0x56ed49[_0x5a6f7e(0x255)],'description':_0x56ed49['DzahE'],'default':![]})['option'](_0x5a6f7e(0x10f),{'type':_0x56ed49['JszFX'],'description':_0x5a6f7e(0x122),'default':![]})['option']('allow-insecure-localhost',{'type':_0x5a6f7e(0x25a),'description':_0x56ed49[_0x5a6f7e(0x1c2)],'default':![]})['option']('mcp-bootstrap',{'type':'boolean','description':_0x56ed49['JcIZF'],'default':![]})[_0x5a6f7e(0x1ef)](_0x5a6f7e(0x262),{'type':_0x56ed49['JszFX'],'description':_0x5a6f7e(0x276),'default':![]})[_0x5a6f7e(0x1ef)]('with-deps',{'type':_0x56ed49[_0x5a6f7e(0x255)],'description':_0x56ed49[_0x5a6f7e(0x132)],'default':![]})[_0x5a6f7e(0x1ef)](_0x56ed49[_0x5a6f7e(0xd6)],{'type':'string','hidden':!![],'description':_0x5a6f7e(0x18f)});},async _0x342e83=>{const _0x4208da=_0x374a8f,_0x4765d9=_0x342e83['tokenOrSubcommand'],_0x2b4774=_0x342e83[_0x4208da(0x11e)]??_0x4765d9;_0x342e83[_0x56ed49[_0x4208da(0x1db)]]&&await withTelemetry(_0x4208da(0x270),()=>mcpBootstrap()),await withTelemetry(_0x56ed49['RUFnc'],_0x21e943=>start(_0x2b4774,{'skipChromium':_0x342e83[_0x4208da(0x26a)],'skipAuth':_0x342e83[_0x4208da(0x262)],'withDeps':_0x342e83['with-deps'],'scope':_0x342e83['scope'],'url':_0x342e83[_0x4208da(0x13e)],'force':_0x342e83['force'],'opencode':_0x342e83['opencode'],'allowInsecureLocalhost':_0x342e83['allow-insecure-localhost']},_0x21e943));})[_0x374a8f(0x1f8)]('setup-ci\x20<token>',![],_0x1a17f7=>{const _0x29b25f=_0x374a8f;return _0x1a17f7['positional'](_0x56ed49[_0x29b25f(0xd6)],{'type':_0x29b25f(0x268),'description':_0x56ed49['IFOYF'],'demandOption':!![]})[_0x29b25f(0x1ef)](_0x56ed49[_0x29b25f(0x216)],{'type':'string','description':_0x56ed49['sYIot']})[_0x29b25f(0x1ef)](_0x56ed49['PVwjq'],{'type':'string','description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x29b25f(0x1ef)]('skip-chromium',{'type':_0x56ed49[_0x29b25f(0x255)],'description':_0x56ed49['TYYYV'],'default':![]});},async _0x311c89=>{await withTelemetry(_0x56ed49['zMCON'],_0x3b8c84=>setupCi(_0x311c89['token'],{'profile':_0x311c89['profile'],'baseUrl':_0x311c89['base-url'],'skipChromium':_0x311c89['skip-chromium']},_0x3b8c84));})['command'](_0x56ed49[_0x374a8f(0x119)],_0x56ed49[_0x374a8f(0x1cb)],()=>{},async()=>{const _0x42ab35=_0x374a8f;await withTelemetry(_0x42ab35(0x233),()=>login());})['command'](_0x56ed49['HzMFZ'],_0x374a8f(0x1cf),_0x5238d4=>{const _0xcc4a18=_0x374a8f;return _0x5238d4['option'](_0x56ed49['kVPft'],{'type':'boolean','description':_0x56ed49['sBHpH'],'default':![]})['option']('scope',{'type':_0x56ed49[_0xcc4a18(0x232)],'choices':[_0x56ed49['lpzEY'],_0xcc4a18(0x1f2)],'description':_0x56ed49['aBChR']});},async _0x1526c6=>{const _0x1187f3=_0x374a8f,_0x145eb3=_0x56ed49['aGCsP'](Boolean,_0x1526c6['opencode']);await withTelemetry(_0x1187f3(0x113),()=>skillup({'autoInstall':_0x1526c6[_0x1187f3(0x15f)],'platform':_0x145eb3?'opencode':'claude'}));})[_0x374a8f(0x1f8)](_0x374a8f(0x1c1),_0x56ed49['RQCRA'],()=>{},async()=>{await withTelemetry(_0x56ed49['wmkRn'],()=>clean());})['command']([_0x56ed49[_0x374a8f(0x216)],_0x56ed49['bDJkk']],'Manage\x20profiles',_0x26cc25=>{const _0x552b7d=_0x374a8f,_0x8f89d4={'WfZAS':function(_0x31caa4,_0x42189b){return _0x31caa4(_0x42189b);},'DIuxT':'string','NDapV':_0x552b7d(0xea),'VMMqP':_0x552b7d(0x1d1),'apCpl':function(_0x55421c,_0x4d2762,_0x26e04c){const _0x1ccb98=_0x552b7d;return _0x56ed49[_0x1ccb98(0x266)](_0x55421c,_0x4d2762,_0x26e04c);},'xTuIF':'profile\x20update','JZbYs':_0x56ed49['rEgnK'],'fpaKo':_0x552b7d(0x1dc),'WbYTR':function(_0x4eeecd,_0x524669){return _0x4eeecd||_0x524669;},'feaQc':function(_0x120ab0,_0x2164cd,_0x5a741f){return _0x120ab0(_0x2164cd,_0x5a741f);},'dCKgH':function(_0x4b980d,_0x5eeabb){return _0x4b980d===_0x5eeabb;},'lKwTS':function(_0x1dfbbd,_0x2ea9c8,_0x2ec269){return _0x1dfbbd(_0x2ea9c8,_0x2ec269);},'Oswhx':function(_0x465496,_0x3b9d73,_0x380c6f){const _0x17c53e=_0x552b7d;return _0x56ed49[_0x17c53e(0x170)](_0x465496,_0x3b9d73,_0x380c6f);},'KhFet':_0x552b7d(0x133),'EAJXd':'key','cTwns':_0x56ed49[_0x552b7d(0x105)],'nFNgm':_0x552b7d(0xf5),'xWNYR':'List\x20all\x20config\x20for\x20a\x20profile','eeDzL':_0x56ed49[_0x552b7d(0xf7)],'MPAMa':_0x552b7d(0x213),'uWXFg':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand'};return _0x26cc25['usage'](PROFILE_HELP)['command'](_0x56ed49['XUIXH'],_0x56ed49[_0x552b7d(0x258)],_0x398af2=>{const _0x2138b8=_0x552b7d;return _0x398af2[_0x2138b8(0x18a)]('profile-name',{'type':_0x2138b8(0x268),'description':_0x56ed49['OJxHR'],'demandOption':!![]})['option']('ci',{'type':_0x2138b8(0x25a),'hidden':!![],'default':![]})[_0x2138b8(0x1ef)](_0x56ed49[_0x2138b8(0x180)],{'type':_0x56ed49[_0x2138b8(0x255)],'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})['option'](_0x56ed49['eTRjO'],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x56ed49[_0x2138b8(0x1e0)],{'type':_0x56ed49[_0x2138b8(0x255)],'description':_0x56ed49['DzahE'],'default':![]})[_0x2138b8(0x1ef)](_0x56ed49['MHTBn'],{'type':'string','description':_0x2138b8(0xda)})['option'](_0x56ed49['rdCEX'],{'type':_0x2138b8(0x25a),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x2138b8(0x1ef)](_0x2138b8(0x1d2),{'type':_0x56ed49[_0x2138b8(0x255)],'description':_0x56ed49['ehrJm'],'default':![]})[_0x2138b8(0x1ef)](_0x56ed49[_0x2138b8(0x13c)],{'type':_0x56ed49['Twkzu'],'array':!![],'description':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'})['option'](_0x56ed49[_0x2138b8(0x12f)],{'type':_0x56ed49[_0x2138b8(0x232)],'choices':[_0x56ed49[_0x2138b8(0x1b5)],'project'],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})['option']('yes',{'type':_0x2138b8(0x25a),'alias':'y','description':_0x2138b8(0x242),'default':![]});},async _0x4ffe12=>{const _0x5c5d81=_0x552b7d;await withTelemetry(_0x5c5d81(0x103),_0x2775d7=>addEnv(_0x4ffe12['profile-name'],{'ci':_0x4ffe12['ci'],'skipAuth':_0x4ffe12['skip-auth'],'url':_0x4ffe12[_0x5c5d81(0x13e)],'force':_0x4ffe12[_0x5c5d81(0x1a6)],'cdpEndpoint':_0x4ffe12[_0x5c5d81(0xef)],'allowInsecureLocalhost':_0x4ffe12[_0x5c5d81(0x1d1)],'safeMode':_0x4ffe12[_0x5c5d81(0x1d2)],'setupHeader':_0x4ffe12['setup-header'],'scope':_0x4ffe12['scope'],'yes':_0x4ffe12['yes']},_0x2775d7),{'isElectron':_0x8f89d4[_0x5c5d81(0x250)](Boolean,_0x4ffe12['cdp-endpoint'])});})[_0x552b7d(0x1f8)](_0x56ed49[_0x552b7d(0x19a)],'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x2a4b12=>{const _0x523bf5=_0x552b7d;return _0x2a4b12['positional']('profile-name',{'type':_0x8f89d4['DIuxT'],'description':_0x523bf5(0x1cc),'demandOption':!![]});},async _0x2e5dc4=>{const _0x157c7b=_0x552b7d;await _0x56ed49['hvqXu'](withTelemetry,'profile\x20use',()=>useEnv(_0x2e5dc4[_0x157c7b(0xea)]));})['command'](_0x552b7d(0x26e),_0x56ed49[_0x552b7d(0x21f)],_0x11b83f=>{const _0x4e161f=_0x552b7d;return _0x11b83f['positional'](_0x56ed49[_0x4e161f(0x1df)],{'type':'string','description':_0x4e161f(0x1a7),'demandOption':!![]})[_0x4e161f(0x1ef)]('yes',{'type':_0x4e161f(0x25a),'alias':'y','description':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','default':![]});},async _0x47430c=>{await _0x56ed49['eAzFK'](withTelemetry,'profile\x20delete',()=>deleteProfile(_0x47430c['profile-name'],{'yes':_0x47430c['yes']}));})[_0x552b7d(0x1f8)](_0x56ed49['GroYZ'],![],_0x547925=>{const _0x190971=_0x552b7d;return _0x547925['positional']('profile',{'type':_0x8f89d4['DIuxT'],'description':_0x190971(0x133),'demandOption':!![]});},async _0x47075c=>{const _0x179af3=_0x552b7d;await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0x47075c[_0x179af3(0x11c)]));})['command']('ls',_0x552b7d(0x223),()=>{},async()=>{const _0x522693=_0x552b7d;await withTelemetry(_0x56ed49[_0x522693(0x17f)],()=>envList());})[_0x552b7d(0x1f8)](_0x552b7d(0x21d),_0x552b7d(0xc5),_0xd3f168=>{const _0x41063a=_0x552b7d;return _0xd3f168['positional'](_0x8f89d4['NDapV'],{'type':_0x41063a(0x268),'description':_0x41063a(0xf1),'demandOption':!![]})['option'](_0x8f89d4['VMMqP'],{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'});},async _0x47f27f=>{const _0x55f658=_0x552b7d;await _0x8f89d4['apCpl'](withTelemetry,_0x8f89d4['xTuIF'],_0x56ca75=>updateEnv(_0x47f27f['profile-name'],_0x56ca75,{'allowInsecureLocalhost':_0x47f27f[_0x55f658(0x1d1)]}));})[_0x552b7d(0x1f8)](_0x56ed49[_0x552b7d(0x234)],![],_0xbfbefa=>{const _0x538ab4=_0x552b7d;return _0xbfbefa[_0x538ab4(0x18a)](_0x8f89d4[_0x538ab4(0x218)],{'type':_0x8f89d4[_0x538ab4(0xfd)],'description':_0x8f89d4['fpaKo'],'demandOption':!![]});},async _0x59dd4d=>{await withTelemetry('profile\x20login',async()=>{const _0x1567c8=_0x4e91,_0x4a36fd=process[_0x1567c8(0xe3)]['RANGER_TEST_USERNAME'],_0x141197=process[_0x1567c8(0xe3)]['RANGER_TEST_PASSWORD'];_0x8f89d4[_0x1567c8(0x1c6)](!_0x4a36fd,!_0x141197)&&(console[_0x1567c8(0x222)](_0x1567c8(0x271)),process['exit'](0x1));const _0x546e8a=_0x59dd4d['name'],_0x15616f=await _0x8f89d4['feaQc'](serverSideLogin,_0x546e8a,{'force':!![]});_0x15616f['status']==='not_configured'&&(console[_0x1567c8(0x222)](_0x1567c8(0xff)),process['exit'](0x1)),_0x8f89d4[_0x1567c8(0x21e)](_0x15616f[_0x1567c8(0x1bb)],'failed')&&(console['error'](_0x1567c8(0xe0)+(_0x15616f[_0x1567c8(0x222)]??_0x1567c8(0x1f7))),_0x15616f[_0x1567c8(0xf6)]&&console['error'](_0x15616f['test_output']),process[_0x1567c8(0x204)](0x1)),console['log'](_0x1567c8(0x1bd)+_0x546e8a+'\x27.\x20Session\x20saved.');});})['command'](_0x56ed49['caFDU'],![],_0x215fcf=>{const _0x232d4f=_0x552b7d;return _0x215fcf['positional'](_0x232d4f(0xea),{'type':_0x232d4f(0x268),'description':_0x232d4f(0x135)})[_0x232d4f(0x1ef)](_0x56ed49[_0x232d4f(0x11a)],{'type':_0x56ed49['JszFX'],'description':_0x56ed49['MQkWQ'],'default':![]})[_0x232d4f(0x1ef)]('dry-run',{'type':'boolean','description':_0x56ed49['dFvXa'],'default':![]})['option']('yes',{'type':_0x56ed49[_0x232d4f(0x255)],'alias':'y','description':_0x56ed49[_0x232d4f(0x190)],'default':![]})[_0x232d4f(0x1ef)]('save-creds',{'type':_0x56ed49['JszFX'],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x4da0e0=>{const _0x1637e3=_0x552b7d;await _0x8f89d4['feaQc'](withTelemetry,_0x1637e3(0x167),_0x57d214=>migrateProfile({'profileName':_0x4da0e0['profile-name'],'all':_0x4da0e0[_0x1637e3(0x137)],'dryRun':_0x4da0e0['dry-run'],'yes':_0x4da0e0['yes'],'saveCreds':_0x4da0e0[_0x1637e3(0x198)]},_0x57d214));})[_0x552b7d(0x1f8)](_0x56ed49[_0x552b7d(0x1e9)],_0x56ed49[_0x552b7d(0x168)],_0xd4c058=>{const _0x33e89a=_0x552b7d,_0x1f7caf={'ibgSB':'profile','AgyvV':'string','sXUuL':_0x8f89d4[_0x33e89a(0x13f)],'IBaim':_0x8f89d4['EAJXd'],'VjNyH':function(_0xa77c77,_0x195bac,_0x1a6229){return _0xa77c77(_0x195bac,_0x1a6229);},'hSETH':_0x33e89a(0xe5),'OzvXi':function(_0xc5e9d3,_0x2baf3a,_0x1560a0){const _0x4c9d5f=_0x33e89a;return _0x8f89d4[_0x4c9d5f(0x1ec)](_0xc5e9d3,_0x2baf3a,_0x1560a0);}};return _0xd4c058['usage'](PROFILE_CONFIG_HELP)['command']('set\x20<profile>\x20<key>\x20<value>','Set\x20a\x20config\x20value',_0x3fc660=>{const _0x34f170=_0x33e89a;return _0x3fc660['positional'](_0x1f7caf['ibgSB'],{'type':_0x1f7caf['AgyvV'],'description':_0x1f7caf[_0x34f170(0x159)],'demandOption':!![]})[_0x34f170(0x18a)](_0x1f7caf['IBaim'],{'type':'string','description':_0x34f170(0x1fd),'demandOption':!![]})[_0x34f170(0x18a)](_0x34f170(0x16d),{'type':_0x34f170(0x268),'description':'Config\x20value','demandOption':!![]});},async _0x4891c9=>{const _0x28b413=_0x33e89a;await _0x8f89d4[_0x28b413(0x22d)](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x4891c9[_0x28b413(0x11c)],_0x4891c9[_0x28b413(0x16f)],_0x4891c9['value']));})['command'](_0x8f89d4['cTwns'],_0x8f89d4[_0x33e89a(0x207)],_0x4c18e7=>{const _0x126e75=_0x33e89a;return _0x4c18e7[_0x126e75(0x18a)](_0x1f7caf[_0x126e75(0x235)],{'type':_0x126e75(0x268),'description':'Profile\x20name','demandOption':!![]})[_0x126e75(0x18a)](_0x126e75(0x16f),{'type':_0x126e75(0x268),'description':'Config\x20key','demandOption':!![]});},async _0x250a1e=>{const _0x374060=_0x33e89a;await withTelemetry('profile\x20config\x20get',()=>configGet(_0x250a1e[_0x374060(0x11c)],_0x250a1e[_0x374060(0x16f)]));})['command']('list\x20<profile>',_0x8f89d4[_0x33e89a(0xe9)],_0x222038=>{const _0x2bcf76=_0x33e89a;return _0x222038['positional'](_0x2bcf76(0x11c),{'type':_0x8f89d4['DIuxT'],'description':'Profile\x20name','demandOption':!![]});},async _0x392c48=>{const _0x269fc2=_0x33e89a;await _0x8f89d4[_0x269fc2(0x1ec)](withTelemetry,_0x269fc2(0x165),()=>configList(_0x392c48[_0x269fc2(0x11c)]));})['command'](_0x33e89a(0x210),_0x8f89d4['eeDzL'],_0x523778=>{const _0x557168=_0x33e89a;return _0x523778['positional']('profile',{'type':_0x1f7caf['AgyvV'],'description':'Profile\x20name','demandOption':!![]})[_0x557168(0x18a)](_0x1f7caf['IBaim'],{'type':_0x557168(0x268),'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x38fa92=>{const _0x584122=_0x33e89a;await _0x1f7caf[_0x584122(0x1b7)](withTelemetry,_0x1f7caf[_0x584122(0x1de)],()=>configUnset(_0x38fa92[_0x584122(0x11c)],_0x38fa92['key']));})['command'](_0x8f89d4[_0x33e89a(0x217)],'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile',_0x1f2c55=>{const _0x10aec7=_0x33e89a;return _0x1f2c55[_0x10aec7(0x18a)](_0x10aec7(0x11c),{'type':_0x1f7caf[_0x10aec7(0x179)],'description':_0x1f7caf['sXUuL'],'demandOption':!![]});},async _0x3c584f=>{const _0x34257c=_0x33e89a;await _0x1f7caf[_0x34257c(0x17d)](withTelemetry,_0x34257c(0x1ba),()=>configReset(_0x3c584f['profile']));})['demandCommand'](0x1,_0x8f89d4[_0x33e89a(0x18e)]);})['demandCommand'](0x1,_0x56ed49[_0x552b7d(0x11f)]);})[_0x374a8f(0x1f8)](_0x56ed49[_0x374a8f(0x25b)],_0x56ed49['Dlhlx'],()=>{},async()=>{const _0x154c0a=_0x374a8f;await withTelemetry(_0x154c0a(0x1bb),()=>status());})[_0x374a8f(0x1f8)]('update',_0x56ed49[_0x374a8f(0x152)],()=>{},async()=>{const _0x587bb1=_0x374a8f;await withTelemetry(_0x587bb1(0x188),()=>update());})['command'](_0x374a8f(0x272),_0x374a8f(0xd3),()=>{},async()=>{const _0x3a3b3f=_0x374a8f;await _0x56ed49['zmZqx'](withTelemetry,_0x56ed49[_0x3a3b3f(0x14d)],async()=>{const _0x3d7dae=_0x3a3b3f,_0x635003=await _0x56ed49['KRgKZ'](getToken);if(!_0x635003)throw new Error(_0x56ed49['UteIk']);console[_0x3d7dae(0x1d4)](_0x635003);});})['command']('go',_0x56ed49['sYgqM'],_0x563e1a=>{const _0x2a671e=_0x374a8f;return _0x563e1a['option']('feature',{'type':_0x2a671e(0x268),'description':_0x56ed49['fCTwr']})[_0x2a671e(0x1ef)]('profile',{'type':_0x56ed49[_0x2a671e(0x232)],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)'})[_0x2a671e(0x1ef)](_0x56ed49[_0x2a671e(0x1e4)],{'type':_0x56ed49['Twkzu'],'description':_0x56ed49['NnuGh']})[_0x2a671e(0x1ef)](_0x56ed49['Pczvk'],{'type':_0x56ed49['EHkdZ'],'description':_0x56ed49[_0x2a671e(0x176)]})['option'](_0x56ed49[_0x2a671e(0xd5)],{'type':_0x56ed49['Twkzu'],'description':_0x2a671e(0x22b)})[_0x2a671e(0x1ef)](_0x56ed49['PVwjq'],{'type':_0x2a671e(0x268),'description':_0x2a671e(0x1e8)})[_0x2a671e(0x1ef)](_0x2a671e(0xca),{'type':'string','description':_0x2a671e(0x164)})[_0x2a671e(0x1ef)]('headed',{'type':_0x2a671e(0x25a),'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})['option'](_0x56ed49[_0x2a671e(0x15e)],{'type':'string','hidden':!![],'choices':[_0x56ed49['lofOS'],'partial',_0x56ed49['LFikC'],_0x56ed49[_0x2a671e(0x1dd)],_0x56ed49['XtenC']]})['option']('debug-address-comments',{'type':'boolean','hidden':!![]})['option'](_0x56ed49['ykmUj'],{'type':'string','hidden':!![]})['option'](_0x2a671e(0x247),{'type':_0x56ed49['Twkzu'],'hidden':!![]})['option'](_0x56ed49[_0x2a671e(0x14a)],{'type':_0x2a671e(0x1c5),'hidden':!![]});},async _0xe03084=>{await _0x56ed49['aGCsP'](runGoCommand,_0xe03084);})[_0x374a8f(0x1f8)](_0x56ed49['gINjt'],![],_0x4db058=>{const _0x5ac490=_0x374a8f,_0x1c184f={'ktnXk':_0x56ed49['Twkzu'],'QviHv':function(_0x44ef27,_0x9ff516,_0x2f2bb5){return _0x44ef27(_0x9ff516,_0x2f2bb5);},'OtxYR':_0x56ed49['Xdmqa'],'gpgNZ':'ranger\x20profile\x20encrypt-auth','GnJBr':function(_0x13e325,_0x4e7914){return _0x13e325(_0x4e7914);}};return _0x4db058[_0x5ac490(0x1f8)](_0x56ed49['AnaRv'],![],_0x422b44=>{const _0x547038=_0x5ac490;return _0x422b44[_0x547038(0x18a)](_0x547038(0x11c),{'type':_0x1c184f[_0x547038(0xee)],'description':_0x547038(0x133),'demandOption':!![]});},async _0x14d6ec=>{const _0x11547b=_0x5ac490;_0x1c184f['QviHv'](warnRenamed,_0x1c184f[_0x11547b(0x125)],_0x1c184f[_0x11547b(0x148)]),await _0x1c184f[_0x11547b(0xe4)](authEncrypt,_0x14d6ec['profile']);})[_0x5ac490(0x21c)](0x1,_0x5ac490(0xf8));},()=>{})[_0x374a8f(0x1f8)](_0x374a8f(0xf3),![],_0x371f07=>{const _0x473255=_0x374a8f;return _0x371f07['positional'](_0x56ed49[_0x473255(0xd6)],{'type':_0x56ed49[_0x473255(0x232)],'description':_0x473255(0x156)})['option'](_0x56ed49[_0x473255(0x246)],{'type':'boolean','description':_0x56ed49['aVHSv'],'default':![]})[_0x473255(0x1ef)](_0x56ed49[_0x473255(0x12f)],{'type':_0x56ed49[_0x473255(0x232)],'choices':['user'],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x473255(0x1ef)](_0x473255(0x13e),{'type':_0x56ed49['Twkzu'],'description':_0x56ed49['GkneX']})['option'](_0x56ed49['oPEuL'],{'type':_0x473255(0x25a),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x473255(0x1ef)](_0x473255(0x262),{'type':'boolean','description':_0x56ed49['TYvSF'],'default':![]})[_0x473255(0x1ef)]('with-deps',{'type':_0x473255(0x25a),'description':_0x56ed49[_0x473255(0x227)],'default':![]});},async _0x44a38f=>{const _0x5a4dee=_0x374a8f;warnRenamed(_0x56ed49[_0x5a4dee(0x208)],_0x5a4dee(0xd2)),await withTelemetry('start',_0x25436f=>start(_0x44a38f['token'],{'skipChromium':_0x44a38f['skip-chromium'],'skipAuth':_0x44a38f[_0x5a4dee(0x262)],'withDeps':_0x44a38f[_0x5a4dee(0xdf)],'scope':_0x44a38f[_0x5a4dee(0x15f)],'url':_0x44a38f['url'],'force':_0x44a38f['force']},_0x25436f));})['command'](_0x56ed49[_0x374a8f(0x23f)],![],_0xed301a=>{const _0x196567=_0x374a8f;return _0xed301a[_0x196567(0x1ef)](_0x56ed49['ykmUj'],{'type':'string','description':_0x56ed49['gSbKM']})[_0x196567(0x1ef)](_0x56ed49[_0x196567(0x194)],{'type':_0x196567(0x268),'description':_0x56ed49[_0x196567(0x108)]})['option']('item',{'type':_0x196567(0x1c5),'description':_0x56ed49['DKaGn']})[_0x196567(0x1ef)](_0x56ed49['RgFfB'],{'type':_0x196567(0x268),'hidden':!![]})['option'](_0x196567(0x26d),{'type':_0x196567(0x268),'hidden':!![]})[_0x196567(0x1ef)](_0x56ed49[_0x196567(0x201)],{'type':'number','hidden':!![]})['option']('start-path',{'type':_0x56ed49['Twkzu'],'description':_0x196567(0x22b)})['option'](_0x56ed49[_0x196567(0x153)],{'type':_0x56ed49['Twkzu'],'description':_0x56ed49[_0x196567(0x23a)]})['option']('model',{'type':_0x56ed49[_0x196567(0x232)],'hidden':!![]})['option'](_0x56ed49[_0x196567(0x140)],{'type':'boolean','hidden':!![],'default':![]})[_0x196567(0x1ef)]('debug-outcome',{'type':'string','hidden':!![],'choices':[_0x196567(0x131),_0x196567(0x274),'blocked',_0x56ed49[_0x196567(0x1dd)],_0x56ed49[_0x196567(0x1e5)]]});},async _0x188fba=>{await _0x56ed49['eaORm'](runGoCommand,_0x188fba,!![]);})[_0x374a8f(0x1f8)](_0x56ed49[_0x374a8f(0x20b)],![],_0x2702cf=>{const _0x287af7=_0x374a8f;return _0x2702cf[_0x287af7(0x18a)](_0x287af7(0x15c),{'type':_0x56ed49[_0x287af7(0x232)],'description':_0x287af7(0xe1),'demandOption':!![]})['option']('ci',{'type':_0x56ed49[_0x287af7(0x255)],'description':_0x56ed49[_0x287af7(0x178)],'default':![]})['option'](_0x56ed49[_0x287af7(0x180)],{'type':_0x56ed49['JszFX'],'description':_0x56ed49[_0x287af7(0x1f6)],'default':![]});},async _0x398553=>{const _0x220269=_0x374a8f;_0x56ed49['eRpNR'](warnRenamed,_0x220269(0x1d0),_0x56ed49[_0x220269(0x1a2)]),await _0x56ed49[_0x220269(0x120)](withTelemetry,'add\x20env',_0x38c4c0=>addEnv(_0x398553['env-name'],{'ci':_0x398553['ci'],'skipAuth':_0x398553[_0x220269(0x262)]},_0x38c4c0));})[_0x374a8f(0x1f8)](_0x374a8f(0x219),![],_0x19a08e=>{const _0x3fa499=_0x374a8f;return _0x19a08e['positional']('env-name',{'type':_0x56ed49[_0x3fa499(0x232)],'description':_0x56ed49['BkHzC'],'demandOption':!![]});},async _0x323508=>{const _0x1d6c44=_0x374a8f;_0x56ed49['AfUAX'](warnRenamed,_0x56ed49['fPdAk'],_0x56ed49['ATsgc']),await withTelemetry('use',()=>useEnv(_0x323508[_0x1d6c44(0x15c)]));})[_0x374a8f(0x1f8)](_0x56ed49[_0x374a8f(0x1e9)],![],_0x1d7f96=>{const _0x41fcaa=_0x374a8f,_0x58ef13={'cxxGW':_0x41fcaa(0x268),'aXSIY':_0x56ed49['UDYLp'],'UKCvU':_0x56ed49['Glsgk'],'WzXGI':_0x41fcaa(0xf9),'UmcxF':function(_0x182bd0,_0x3ee7be,_0x309a9f){return _0x182bd0(_0x3ee7be,_0x309a9f);},'REGKp':'ranger\x20config\x20get','QqGRA':'Environment\x20name','OUcnd':'Config\x20key\x20to\x20remove','JyRVz':function(_0x5c25d8,_0x5e59b0,_0x5602ed){return _0x56ed49['XUwaa'](_0x5c25d8,_0x5e59b0,_0x5602ed);},'owfpz':_0x56ed49['ABSyw']};return _0x1d7f96['command'](_0x41fcaa(0x1c7),![],_0x30d7a3=>{const _0x93663c=_0x41fcaa;return _0x30d7a3[_0x93663c(0x18a)]('env',{'type':_0x58ef13[_0x93663c(0x1aa)],'description':'Environment\x20name','demandOption':!![]})['positional'](_0x58ef13['aXSIY'],{'type':_0x93663c(0x268),'description':_0x93663c(0x1fd),'demandOption':!![]})['positional'](_0x93663c(0x16d),{'type':'string','description':_0x58ef13[_0x93663c(0x1ad)],'demandOption':!![]});},async _0x458085=>{const _0x48ab67=_0x41fcaa;warnRenamed('ranger\x20config\x20set',_0x58ef13['WzXGI']),await _0x58ef13[_0x48ab67(0x26c)](withTelemetry,_0x48ab67(0x1fe),()=>configSet(_0x458085[_0x48ab67(0xe3)],_0x458085[_0x48ab67(0x16f)],_0x458085[_0x48ab67(0x16d)]));})[_0x41fcaa(0x1f8)](_0x56ed49[_0x41fcaa(0x20e)],![],_0x57b6a5=>{const _0x27da99=_0x41fcaa;return _0x57b6a5['positional']('env',{'type':_0x27da99(0x268),'description':'Environment\x20name','demandOption':!![]})[_0x27da99(0x18a)](_0x27da99(0x16f),{'type':_0x56ed49['Twkzu'],'description':'Config\x20key','demandOption':!![]});},async _0x1a43a4=>{const _0x5b11c8=_0x41fcaa;warnRenamed(_0x58ef13[_0x5b11c8(0x116)],_0x5b11c8(0xfe)),await withTelemetry(_0x5b11c8(0x1a5),()=>configGet(_0x1a43a4[_0x5b11c8(0xe3)],_0x1a43a4[_0x5b11c8(0x16f)]));})[_0x41fcaa(0x1f8)]('list\x20<env>',![],_0x4e5baf=>{const _0x516da7=_0x41fcaa;return _0x4e5baf['positional'](_0x516da7(0xe3),{'type':_0x516da7(0x268),'description':'Environment\x20name','demandOption':!![]});},async _0x3a4089=>{const _0x25c9f0=_0x41fcaa;_0x56ed49['XUwaa'](warnRenamed,_0x56ed49['PBovU'],_0x56ed49[_0x25c9f0(0x1fa)]),await withTelemetry('config\x20list',()=>configList(_0x3a4089['env']));})[_0x41fcaa(0x1f8)](_0x41fcaa(0xc6),![],_0x40eb65=>{const _0xa731d8=_0x41fcaa;return _0x40eb65['positional'](_0xa731d8(0xe3),{'type':'string','description':_0x58ef13['QqGRA'],'demandOption':!![]})['positional']('key',{'type':_0x58ef13['cxxGW'],'description':_0x58ef13[_0xa731d8(0x261)],'demandOption':!![]});},async _0x31f8d5=>{const _0x5cc925=_0x41fcaa;_0x58ef13[_0x5cc925(0x141)](warnRenamed,_0x5cc925(0x19f),_0x58ef13[_0x5cc925(0x1ac)]),await _0x58ef13[_0x5cc925(0x141)](withTelemetry,'config\x20unset',()=>configUnset(_0x31f8d5[_0x5cc925(0xe3)],_0x31f8d5[_0x5cc925(0x16f)]));})['demandCommand'](0x1,_0x56ed49['mgIir']);})['command']('env',![],_0x2bc3c2=>{const _0xe23d7c=_0x374a8f;return _0x2bc3c2[_0xe23d7c(0x1f8)]('ls',![],()=>{},async()=>{const _0x430501=_0xe23d7c;warnRenamed('ranger\x20env\x20ls',_0x56ed49[_0x430501(0x200)]),await _0x56ed49[_0x430501(0x252)](withTelemetry,_0x56ed49['qziwD'],()=>envList());})[_0xe23d7c(0x1f8)](_0xe23d7c(0x244),![],_0x285141=>{return _0x285141['positional'](_0x56ed49['iJgOr'],{'type':'string','description':_0x56ed49['ZSwKl'],'demandOption':!![]});},async _0x321eb0=>{const _0x4b30e7=_0xe23d7c;_0x56ed49['fpfFX'](warnRenamed,_0x56ed49[_0x4b30e7(0x1bf)],_0x56ed49['UAmQp']),await withTelemetry('env\x20update',_0x716c99=>updateEnv(_0x321eb0['env-name'],_0x716c99));})['demandCommand'](0x1,_0x56ed49[_0xe23d7c(0xcc)]);})['command'](_0x374a8f(0x18d),![],_0x116efc=>{const _0x4fe482=_0x374a8f,_0x358346={'lqRIu':_0x56ed49['NOvre'],'djpVn':_0x56ed49['SFgZH'],'qaxeX':_0x4fe482(0x13b),'rpBdf':'feature\x20create','HSFHh':'current-branch','UisHh':_0x56ed49[_0x4fe482(0x117)],'sWOAx':_0x4fe482(0x15a),'YZzzI':_0x4fe482(0x10c),'gqQHG':function(_0x4f0a4c,_0x10fb9d,_0x243fa7){return _0x56ed49['eaORm'](_0x4f0a4c,_0x10fb9d,_0x243fa7);},'IMquD':_0x56ed49[_0x4fe482(0x209)],'gMMzk':function(_0x416d97,_0x10d6b9,_0x1bc03e){return _0x416d97(_0x10d6b9,_0x1bc03e);},'HreQt':'ranger\x20feature\x20show','BVQQF':'ranger\x20show','wFHUW':function(_0x152224,_0x5982cf,_0x15abc2){return _0x152224(_0x5982cf,_0x15abc2);},'pTFfu':_0x56ed49['XGslL'],'NZlpG':'string','zWjHu':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','SGkQx':function(_0x8ff872,_0x409f05,_0x49a3a2){return _0x8ff872(_0x409f05,_0x49a3a2);},'WgolW':_0x4fe482(0x239),'DVjra':_0x56ed49['OtebL'],'BpCje':_0x56ed49['ZMMSV'],'fzkGo':'feature\x20get-feedback','zRclx':_0x56ed49['XuPvl'],'eoMsD':_0x4fe482(0x22a),'Zkyja':_0x56ed49['Vydeh'],'VQJds':_0x56ed49[_0x4fe482(0xd1)]};return _0x116efc[_0x4fe482(0x1f8)]('create\x20<name>',![],_0x4ea721=>{const _0x26a3f9=_0x4fe482;return _0x4ea721[_0x26a3f9(0x18a)](_0x26a3f9(0x226),{'type':_0x26a3f9(0x268),'description':_0x56ed49[_0x26a3f9(0x21a)],'demandOption':!![]})[_0x26a3f9(0x1ef)](_0x56ed49[_0x26a3f9(0x1a4)],{'type':_0x26a3f9(0x268),'alias':'d','description':_0x56ed49[_0x26a3f9(0x1f1)]})['option'](_0x26a3f9(0x221),{'type':_0x56ed49[_0x26a3f9(0x163)],'alias':'c','description':_0x56ed49[_0x26a3f9(0x220)]})[_0x26a3f9(0x1ef)]('scenario',{'type':_0x56ed49['NIqck'],'hidden':!![]});},async _0x33b9c8=>{const _0x2ff5b9=_0x4fe482;warnRenamed(_0x358346['lqRIu'],'ranger\x20create'),warnFlagRenamed(_0x358346[_0x2ff5b9(0x1e3)],_0x358346['qaxeX'],_0x2ff5b9(0xcf));const _0x58aca6=_0x33b9c8[_0x2ff5b9(0xf2)]||_0x33b9c8['checklist'];await withTelemetry(_0x358346[_0x2ff5b9(0xfb)],()=>featureCreate(_0x33b9c8['name'],{'description':_0x33b9c8['description'],'scenarios':_0x58aca6}));})['command'](_0x56ed49['SxLpF'],![],_0x1c8fc8=>{const _0x1689fe=_0x4fe482;return _0x1c8fc8['option'](_0x358346[_0x1689fe(0x24d)],{'type':_0x1689fe(0x25a),'description':_0x1689fe(0x174)})[_0x1689fe(0x1ef)]('limit',{'type':_0x1689fe(0x1c5),'alias':'l','description':_0x358346['UisHh'],'default':0xa})[_0x1689fe(0x1ef)](_0x358346['sWOAx'],{'type':_0x1689fe(0x1c5),'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x1689fe(0x1ef)](_0x358346[_0x1689fe(0x20d)],{'type':_0x1689fe(0x25a),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x80aea0=>{const _0xeb1c3c=_0x4fe482;warnRenamed(_0xeb1c3c(0x123),'ranger\x20list'),await _0x358346[_0xeb1c3c(0x154)](withTelemetry,_0x358346[_0xeb1c3c(0x115)],()=>featureList({'currentBranch':_0x80aea0['current-branch'],'limit':_0x80aea0[_0xeb1c3c(0x191)],'offset':_0x80aea0['offset'],'includeDeleted':_0x80aea0['include-deleted']}));})[_0x4fe482(0x1f8)]('show\x20[id]',![],_0x13e6a9=>{return _0x13e6a9['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x2501c6=>{const _0x287c45=_0x4fe482;_0x358346['gMMzk'](warnRenamed,_0x358346[_0x287c45(0x205)],_0x358346[_0x287c45(0x128)]),await _0x358346[_0x287c45(0x146)](withTelemetry,_0x358346['pTFfu'],()=>featureShow(_0x2501c6['id']));})[_0x4fe482(0x1f8)](_0x4fe482(0x1b0),![],_0x36cbbb=>{return _0x36cbbb['positional']('id',{'type':_0x358346['NZlpG'],'description':_0x358346['zWjHu']});},async _0x4de7b8=>{const _0x1516e1=_0x4fe482;_0x358346[_0x1516e1(0x19c)](warnRenamed,_0x1516e1(0x186),_0x1516e1(0x1ff)),await withTelemetry('feature\x20resume',()=>featureResume(_0x4de7b8['id']));})['command'](_0x4fe482(0x121),![],_0x57f97e=>{const _0x82debe=_0x4fe482;return _0x57f97e['positional'](_0x358346['WgolW'],{'type':_0x82debe(0x268),'description':_0x358346[_0x82debe(0x104)],'demandOption':!![]})['option']('id',{'type':_0x358346['NZlpG'],'description':_0x358346['BpCje']});},async _0x326d93=>{const _0xe052c7=_0x4fe482;warnRenamed(_0xe052c7(0x1c8),_0x56ed49[_0xe052c7(0x15b)]),await _0x56ed49[_0xe052c7(0x1a3)](withTelemetry,'feature\x20add-checklist-item',()=>featureAddScenario(_0x326d93['description'],_0x326d93['id']));})[_0x4fe482(0x1f8)]('get-feedback\x20[id]',![],_0x5bc8ea=>{const _0x25b0f3=_0x4fe482;return _0x5bc8ea[_0x25b0f3(0x18a)]('id',{'type':'string','description':_0x358346['BpCje']});},async _0x900be2=>{const _0x41a92d=_0x4fe482;_0x358346[_0x41a92d(0x146)](warnRenamed,_0x41a92d(0x22c),'ranger\x20get-review'),await withTelemetry(_0x358346[_0x41a92d(0x25f)],()=>featureGetReview(_0x900be2['id']));})['command'](_0x56ed49[_0x4fe482(0x134)],![],_0x3f18ee=>{const _0x3a56b9=_0x4fe482;return _0x3f18ee['positional']('id',{'type':_0x56ed49[_0x3a56b9(0x232)],'description':'Feature\x20review\x20ID'});},async _0x298a34=>{const _0x458fcd=_0x4fe482;warnRenamed(_0x358346[_0x458fcd(0x144)],_0x358346[_0x458fcd(0x16b)]),await _0x358346['SGkQx'](withTelemetry,_0x458fcd(0x118),()=>featureDelete(_0x298a34['id']));})['command'](_0x4fe482(0x249),![],_0xf5ec90=>{return _0xf5ec90['positional']('id',{'type':_0x56ed49['Twkzu'],'description':_0x56ed49['WsdjT'],'demandOption':!![]});},async _0xb476da=>{const _0x5c44ee=_0x4fe482;warnRenamed(_0x358346[_0x5c44ee(0x1d5)],_0x358346['VQJds']),await withTelemetry(_0x5c44ee(0x1ee),()=>featureRestore(_0xb476da['id']));})[_0x4fe482(0x21c)](0x1,_0x4fe482(0x24e));})['command'](_0x374a8f(0x195),![],_0x2d022a=>{const _0x269091=_0x374a8f,_0x5541f3={'SGubB':_0x269091(0x268),'Aetbc':_0x56ed49[_0x269091(0x1ca)],'kfqEG':_0x56ed49[_0x269091(0x160)]};return _0x2d022a[_0x269091(0x1f8)]('enable',_0x56ed49['xDHnF'],_0x2508dc=>{const _0x263fdd=_0x269091;return _0x2508dc[_0x263fdd(0x1ef)](_0x263fdd(0x1a9),{'type':_0x5541f3['SGubB'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x5e74a3=>{const _0x549280=_0x269091;await _0x56ed49['fEJyw'](withTelemetry,_0x56ed49[_0x549280(0x1d8)],()=>hook('enable',_0x5e74a3[_0x549280(0x1a9)]));})['command'](_0x56ed49['qfPCl'],_0x56ed49[_0x269091(0xc7)],_0x5a8722=>{const _0x31ac38=_0x269091;return _0x5a8722[_0x31ac38(0x1ef)](_0x5541f3['Aetbc'],{'type':_0x31ac38(0x268),'description':_0x5541f3['kfqEG']});},async _0x2ae468=>{const _0x3ea13b=_0x269091;await withTelemetry('hook:disable',()=>hook(_0x3ea13b(0x166),_0x2ae468['session-id']));})['option'](_0x269091(0x226),{'type':_0x56ed49['Twkzu'],'description':_0x269091(0x248)})['option']('session-id',{'type':_0x56ed49[_0x269091(0x232)],'description':_0x269091(0x10a)});},async _0x4910d7=>{const _0x173094=_0x374a8f;_0x4910d7['name']&&await _0x56ed49['eRpNR'](hook,_0x4910d7[_0x173094(0x226)],_0x4910d7['session-id']);})[_0x374a8f(0x21c)](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()[_0x374a8f(0x224)](async(_0xfbd40,_0x342dd0,_0x163213)=>{const _0x186f67=_0x374a8f,_0x58f86d=_0x56ed49['aGCsP'](sanitizeArgs,process['argv']['slice'](0x2)),_0xefd414=getErrorType(_0xfbd40,_0x342dd0);if(_0xfbd40&&_0xfbd40['includes'](_0x56ed49['AXqgf'])){const _0x49b3af=process['argv'][0x2];console[_0x186f67(0x222)]('\x0aUnknown\x20command:\x20'+_0x49b3af),console['error'](_0x186f67(0x1f0));}else{if(_0xfbd40)console[_0x186f67(0x222)]('\x0a'+_0xfbd40+'\x0a');else _0x342dd0&&console['error'](_0x186f67(0x241)+_0x342dd0['message']+'\x0a');}await logDesirePath({'rawCommand':_0x58f86d,'errorMessage':_0xfbd40||_0x342dd0?.['message'],'errorType':_0xefd414});const _0x39f23d=_0x56ed49['BLofW'](getCurrentCollector);_0x39f23d&&await _0x39f23d['trackCommandError'](_0x342dd0||new Error(_0x56ed49['lMMjc'](_0xfbd40,_0x186f67(0x169)))),process['exit'](0x1);})['epilogue'](_0x56ed49[_0x374a8f(0x20a)]('Documentation:\x0a',_0x56ed49[_0x374a8f(0x19e)])+_0x374a8f(0x267))[_0x374a8f(0x1da)]()[_0x374a8f(0xe8)](_0x374a8f(0x1da),'h');}process['env'][_0x42f322(0x254)]!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x42f322(0x12a)]());
|