@ranger-testing/ranger-cli 2.5.4-alpha.78800d3-3 → 2.5.4-alpha.9360c2a-16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -14
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -1
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/agentEnv.js +1 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -1
- package/build/commands/utils/cloudProfileSession.js +1 -1
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/legacyWarning.js +1 -0
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/skills/ranger/SKILL.md +36 -6
- package/build/skills/ranger/create.md +19 -0
- package/build/skills/ranger/verify.md +46 -7
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ This walks you through everything interactively:
|
|
|
25
25
|
- **Authentication** -- opens your browser to log in (credentials stored in OS Keychain)
|
|
26
26
|
- **Chromium** -- installs the browser used for verification
|
|
27
27
|
- **Plugin** -- installs the Claude Code plugin (you choose user-level or project-level)
|
|
28
|
-
- **Profile** -- prompts for your app's URL, opens a browser to capture
|
|
28
|
+
- **Profile** -- prompts for your app's URL, opens a browser to capture a session for the verification agent
|
|
29
29
|
- **Skills** -- installs markdown files that teach Claude the Ranger workflow
|
|
30
30
|
|
|
31
31
|
> For CI, pass a token directly: `ranger setup [token]`. See `RANGER_CLI_TOKEN` env var for non-interactive use.
|
|
@@ -61,13 +61,24 @@ Ask Claude to build a UI feature. Ranger handles the rest: creating a feature re
|
|
|
61
61
|
|
|
62
62
|
### Profiles
|
|
63
63
|
|
|
64
|
+
A profile tells Ranger where your app runs and how to log in. Run
|
|
65
|
+
`ranger profile add <name>` once — a browser opens, you log in, Ranger
|
|
66
|
+
saves the session for every subsequent run. Convention is one profile per
|
|
67
|
+
account; the CLI suggests `git config user.email` as a default name.
|
|
68
|
+
|
|
64
69
|
| Command | Description |
|
|
65
70
|
| ------------------------------------- | ----------------------------------------------------- |
|
|
66
|
-
| `ranger profile add <name>` | Add a
|
|
71
|
+
| `ranger profile add <name>` | Add a profile (opens a browser for login). Use `--safe-mode` if the browser crashes. |
|
|
67
72
|
| `ranger profile use <name>` | Switch active profile |
|
|
68
73
|
| `ranger profile ls` | List all profiles |
|
|
69
|
-
|
|
70
|
-
|
|
74
|
+
|
|
75
|
+
For CI / background agents and other setup options, see
|
|
76
|
+
https://docs.ranger.net/main/concepts/profiles.
|
|
77
|
+
|
|
78
|
+
> Deprecated: `ranger profile update`, `ranger profile encrypt-auth`, and
|
|
79
|
+
> `ranger profile migrate` exit non-zero with a redirect. Run
|
|
80
|
+
> `ranger profile add <name>` to set up a fresh profile. See
|
|
81
|
+
> https://docs.ranger.net/main/concepts/profiles for setup options.
|
|
71
82
|
|
|
72
83
|
### Feature Reviews
|
|
73
84
|
|
|
@@ -89,7 +100,12 @@ Ask Claude to build a UI feature. Ranger handles the rest: creating a feature re
|
|
|
89
100
|
| ------------ | ------------------------------------ |
|
|
90
101
|
| `ranger go` | Verify a scenario in the browser |
|
|
91
102
|
|
|
92
|
-
Options: `--scenario <N>` (scenario index), `--notes "<desc>"` (override notes), `--start-path /path` (start URL), `--profile <name>`, `--model <model>`, `--headed` (force headed browser for this run only).
|
|
103
|
+
Options: `--scenario <N>` (scenario index), `--notes "<desc>"` (override notes), `--start-path /path` (start URL), `--base-url <url>` (override profile base URL), `--profile <name>`, `--model <model>`, `--headed` (force headed browser for this run only).
|
|
104
|
+
|
|
105
|
+
Env vars:
|
|
106
|
+
- `RANGER_TEST_USERNAME` / `RANGER_TEST_PASSWORD` — for [automated login](https://docs.ranger.net/main/concepts/profiles#automated-login). The fastest path for CI / background agents. Works for any login flow we can run deterministically (username/password, SSO, OAuth, MFA, passkeys, magic links) — set up per-app with our team. Talk to us.
|
|
107
|
+
- `RANGER_PROFILE` — pin a profile (lower precedence than `--profile`).
|
|
108
|
+
- `RANGER_BASE_URL` / `RANGER_START_PATH` — analogues of `--base-url` / `--start-path`.
|
|
93
109
|
|
|
94
110
|
You can set a default verify model in `.ranger/config.json`:
|
|
95
111
|
|
|
@@ -101,14 +117,18 @@ You can set a default verify model in `.ranger/config.json`:
|
|
|
101
117
|
|
|
102
118
|
### Config
|
|
103
119
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
|
108
|
-
|
|
|
109
|
-
| `ranger profile config
|
|
120
|
+
Fine-tune browser behavior for a profile. Settings apply per cwd, so
|
|
121
|
+
different checkouts of the same repo can have different overrides.
|
|
122
|
+
|
|
123
|
+
| Command | Description |
|
|
124
|
+
| --------------------------------------------------- | ------------------------------ |
|
|
125
|
+
| `ranger profile config set <profile> <key> <value>` | Set a config value |
|
|
126
|
+
| `ranger profile config get <profile> <key>` | Read a config value |
|
|
127
|
+
| `ranger profile config list <profile>` | Show all config for a profile |
|
|
128
|
+
| `ranger profile config unset <profile> <key>` | Remove a config value |
|
|
129
|
+
| `ranger profile config reset <profile>` | Clear all overrides (cloud only) |
|
|
110
130
|
|
|
111
|
-
Keys: `headless`, `userAgent`, `storageState`, `
|
|
131
|
+
Keys: `baseUrl`, `headless`, `userAgent`, `storageState`, `allowInsecureLocalhost`, `headers.<name>`, `setupHeaders.<name>`. Environment variables (e.g., `${AUTH_TOKEN}`) are resolved at runtime.
|
|
112
132
|
|
|
113
133
|
## Plugin
|
|
114
134
|
|
|
@@ -121,12 +141,14 @@ claude plugin install ranger@trailhead --scope user
|
|
|
121
141
|
|
|
122
142
|
## Troubleshooting
|
|
123
143
|
|
|
124
|
-
**"No active profile"** -- Run `ranger profile use <profile-name
|
|
144
|
+
**"No active profile"** -- Run `ranger profile use <profile-name>`, or set `RANGER_PROFILE=<name>` for the session.
|
|
125
145
|
|
|
126
|
-
**Authentication expired** -- Run `ranger profile
|
|
146
|
+
**Authentication expired** -- Run `ranger profile add <name>` to refresh. (For automated login, re-run `ranger go` with `RANGER_TEST_USERNAME` / `RANGER_TEST_PASSWORD` set.)
|
|
127
147
|
|
|
128
148
|
**Browser crashes during profile setup** -- On some macOS + Chrome combinations, the browser may crash during authentication. Run `ranger profile add <name> --safe-mode` to disable browser features that trigger the crash.
|
|
129
149
|
|
|
130
150
|
**"No active feature review"** -- Run `ranger list` then `ranger resume <id>`.
|
|
131
151
|
|
|
152
|
+
**Daily warning about legacy `.ranger/` paths** -- Existing sessions in those paths still work as a fallback, but new sessions are managed for you. Run `ranger profile add <name>` to set up a fresh profile, then delete the legacy dirs to silence the warning. See https://docs.ranger.net/main/concepts/profiles.
|
|
153
|
+
|
|
132
154
|
Run `ranger status` to see everything at a glance.
|
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x3f7e8a=_0x8fb0;(function(_0x17b644,_0x3b1c94){const _0x56cc17=_0x8fb0,_0xb367af=_0x17b644();while(!![]){try{const _0x36f0a2=-parseInt(_0x56cc17(0x203))/0x1+-parseInt(_0x56cc17(0x243))/0x2*(-parseInt(_0x56cc17(0x22f))/0x3)+-parseInt(_0x56cc17(0x258))/0x4*(-parseInt(_0x56cc17(0x2c3))/0x5)+parseInt(_0x56cc17(0x1cc))/0x6*(-parseInt(_0x56cc17(0x2d8))/0x7)+parseInt(_0x56cc17(0x269))/0x8+parseInt(_0x56cc17(0x2a2))/0x9+-parseInt(_0x56cc17(0x234))/0xa*(parseInt(_0x56cc17(0x2eb))/0xb);if(_0x36f0a2===_0x3b1c94)break;else _0xb367af['push'](_0xb367af['shift']());}catch(_0x496d18){_0xb367af['push'](_0xb367af['shift']());}}}(_0x5e0d,0x8e77d));import _0x2f5e9f from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x297b76=_0x8fb0,_0x575b55={'oAAgL':function(_0x5f40c1,_0x195509){return _0x5f40c1!==_0x195509;},'jcgjG':function(_0x2e555a,_0x5117aa,_0x61b725){return _0x2e555a(_0x5117aa,_0x61b725);},'wgSSj':'.ranger','eGBvE':function(_0xb1074b,_0x55eb31){return _0xb1074b(_0x55eb31);}};let _0x2e85d2=process['cwd']();const _0x279853=parse(_0x2e85d2)['root'];while(_0x575b55[_0x297b76(0x2df)](_0x2e85d2,_0x279853)){if(existsSync(_0x575b55[_0x297b76(0x33d)](join,_0x2e85d2,_0x575b55['wgSSj']))||existsSync(_0x575b55['jcgjG'](join,_0x2e85d2,'.env')))return _0x2e85d2;_0x2e85d2=_0x575b55['eGBvE'](dirname,_0x2e85d2);}return process['cwd']();}_0x2f5e9f['config']({'path':join(findProjectRoot(),_0x3f7e8a(0x211))});import _0x49a8f5 from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{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{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';function _0x5e0d(){const _0x8fd146=['akhEe','Scenario\x20index\x20(1-based)','ePRNf','Authenticate\x20via\x20MCP\x20proxy','ranger\x20create','swnOx','feature\x20resume','base-url','GZXyD','Environment\x20name','ROjIt','epsMn','OWRAA','skip-auth','nKflN','Kcygl','login','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ranger\x20profile\x20use','save-creds','tTJGV','jTNJL','force','ranger\x20profile\x20add','ranger\x20use','dCxAG','FrSrn','get\x20<profile>\x20<key>','bOeUi','Ranger\x20API\x20token','json','get\x20<env>\x20<key>','LlNCD','Profile\x20name','cVkHK','summary','create','kEEYW','\x20INCOMPLETE','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','vWyYU','issues','FGacm','all','sxgus','config\x20get','QWqPX','feature\x20create','966474zZZkrE','Set\x20up\x20a\x20local\x20browser\x20profile','MIclY','update\x20<profile-name>','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','VZFJc','token','NpEBw','dry-run','headed','YeGvk','Include\x20soft-deleted\x20feature\x20reviews','env','some','.env','xULgB','show','organizationName','wZgAs','fYvXe','AbGxK','oDYAP','GAEbd','YfeRt','VFVxZ','Feature\x20review\x20ID','ZVyUP','scenario','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','debug-outcome','project','--scenario','UwdsJ','error','scriptName','kTeod','CGxVo','OPMwT','pCpYY','surpG','pfmyd','XjVLJ','WYJIb','debug-address-comments','209154yjGeVT','zGHoA','success','ZTiQt','tokenOrSubcommand','19450DqMvSs','quhKR','blocked','TQOMZ','repeat','dTiKV','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.','session-id','QLDYe','ranger\x20config\x20list','NODE_ENV','aKJlE','--profile','ytPNL','claude','6kjVBbE','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','PorVr','partial','KfJFZ','xHZBz','setup-header','jLORW','uwAfw','map','include-deleted','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','You\x20must\x20specify\x20a\x20command','You\x20must\x20specify\x20an\x20auth\x20subcommand','ranger\x20feature\x20create','Number\x20of\x20feature\x20reviews\x20to\x20skip','demandCommand','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','jzQuQ','Scenario\x20description','dUhvi','15452lUvdaH','ranger\x20delete','ptwWx','ksJDh','Get\x20a\x20config\x20value','cramu','Feature\x20review\x20description','strictCommands','ijliY','description','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','SyTgL','encrypt\x20<profile>','setup:deps','start\x20[token]','Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','opencode','7354216DJifZH','Set\x20a\x20config\x20value','qFrqU','mNlQd','icQcJ','command','task','feature\x20add-checklist-item','MCibx','LAdcO','get-review','add-scenario','UvaEU','ZiINB','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','current-branch','name','Skip\x20browser\x20authentication','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','cnPMd','ranger\x20config\x20set','profile\x20config\x20reset','List\x20all\x20feature\x20reviews','qEasq','log','Install\x20scope\x20for\x20skills','jcXAy','notes','GqjeF','Optional\x20feature\x20ID','SEKvU','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','hovqW','mcp-bootstrap','kFkZN','nSZpB','AowZe','limit','bXSPV','OSfcL','setup:all','UZGwG','usage','fFDTt','ranger\x20auth\x20encrypt','KBfjY','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','DCJzE','message','setup:login','HwkSm','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','edit-scenario','XnFzp','THfdq','status','10201284jpRGZu','qHPkQ','ranger\x20env\x20ls','ranger\x20feature\x20resume','ranger\x20profile\x20encrypt-auth','incomplete','with-deps','VrFiY','setup-ci','FPMkY','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','WCHJB','cedjm','NgFsP','rpAue','fULAf','--checklist','MXVjP','WaBeL','xeYvB','kRKIe','Authenticate\x20with\x20Ranger','Config\x20value','profile-name','profile\x20add','Cllqy','resume','LQMoG','epilogue','skip-chromium','pFulN','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','1015WlUmtA','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','Print\x20the\x20current\x20CLI\x20access\x20token','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','ranger\x20profile\x20config\x20unset','reset\x20<profile>','cdp-endpoint','qBIRl','list\x20<profile>','list','BpwnB','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','svEXW','test','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','exclude-scenario','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','profile\x20config\x20set','yes','resume\x20[id]','ugJrI','392RSvLGT','kWypX','string','ranger\x20get-review','ranger\x20start','number','hook:enable','oAAgL','feature\x20get-feedback','FcokL','MEwkz','argv','auth','Skip\x20interactive\x20confirmation\x20prompts.','config\x20list','bduqj','Config\x20key\x20(e.g.,\x20userAgent,\x20header.X-Custom)','qKpks','allow-insecure-localhost','5643rZCYvm','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','slice','jWRXQ','create\x20<name>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','mElEo','YGNgg','exit','unhandledRejection','positional','item','pvMhx','Install\x20skills\x20for\x20OpenCode','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','ranger\x20env\x20update','pMJWT','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','start','Zoeqz','Evaluation:\x20','List\x20all\x20config\x20for\x20a\x20profile','ranger\x20list','TdtkC','value','qFIig','Update\x20authentication\x20for\x20an\x20existing\x20profile','parse','etoen','Ranger\x20API\x20token\x20(rngr_...)','UbNfc','array','sKRNq','JrfLZ','delete\x20[id]','vFyge','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','New\x20scenario\x20description','evaluation','get-review\x20[id]','RHvGx','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','hook','mGeRJ','QDtlb','Config\x20key','skills','profile\x20migrate','JeQQE','offset','TVsHy','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','env\x20update','scope','KNFwL','list\x20<env>','delete','CVRXE','ranger\x20profile\x20config\x20set','user','Scenario\x20number\x20to\x20edit\x20(1-based)','Feature\x20review\x20name','RraSG','bAbYN','TjxbV','OoUxL','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','Name\x20of\x20the\x20environment','env-name','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Mkznl','disable','kPsFM','ranger\x20add-scenario','zjrEi','inCmD','USuMF','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','DITeR','help','\x0aIssues:','jcgjG','url','hXZMZ','dZwmy','ranger\x20profile\x20config\x20get','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','enable','unset\x20<env>\x20<key>','EbQWV','wywWl','CRJNt','QocFa','boolean','DTiXR','ranger\x20config\x20get','FCazN','epOwV','xcFAa','Restore\x20a\x20soft-deleted\x20feature\x20review','bnhmM','uBavU','checklist','profile','verified','You\x20must\x20specify\x20a\x20profile\x20subcommand','Name\x20of\x20the\x20environment\x20to\x20update','Switch\x20to\x20using\x20a\x20specific\x20profile','UEQfZ','FnfCy','model','✓\x20Authenticated\x20to\x20','alxCi','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','ranger\x20go','eQFpD','XYbiG','set\x20<env>\x20<key>\x20<value>','Config\x20key\x20to\x20remove','eOKIE','start-path','option','fHpMo','print-access-token','53388LuNBEQ','exitCode','nDGiZ','ranger\x20config\x20unset','VBgQo','EOIvX','key'];_0x5e0d=function(){return _0x8fd146;};return _0x5e0d();}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'](_0x3f7e8a(0x2f4),async _0xf44936=>{const _0x323684=_0x3f7e8a,_0x2b5d10=getCurrentCollector();_0x2b5d10&&await _0x2b5d10['trackCommandError'](_0xf44936),process[_0x323684(0x1cd)]=0x1;});const rawArgs=process[_0x3f7e8a(0x2e3)][_0x3f7e8a(0x2ed)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20migrate\x20--all\x20--dry-run',PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aProfile\x20config.\x20Routes\x20automatically\x20based\x20on\x20where\x20the\x20profile\x20lives:\x0a\x20\x20-\x20Local\x20profiles\x20write\x20to\x20.ranger/<env>/settings.json\x0a\x20\x20-\x20Cloud\x20profiles\x20write\x20a\x20local\x20overlay\x20in\x20~/.ranger/projects.json\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x20(effective\x20value\x20for\x20cloud\x20profiles)\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20local\x20overrides\x20(cloud\x20profiles\x20only)\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override\x20for\x20cloud\x20profiles)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20header.<name>\x20\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20header.X-Test-Mode)\x0a\x20\x20setupHeader.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeader.x-bypass-turnstile)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0xb21b7f,_0x7d0d68){console['error']('\x0a'+_0xb21b7f+'\x20is\x20now\x20'+_0x7d0d68+'\x0a');}function argUsed(_0x3a8157){const _0x5f0cfb=_0x3f7e8a;return rawArgs[_0x5f0cfb(0x210)](_0x1ae211=>_0x1ae211===_0x3a8157||_0x1ae211['startsWith'](_0x3a8157+'='));}function _0x8fb0(_0x5c95e9,_0xdc738){_0x5c95e9=_0x5c95e9-0x1a9;const _0x5e0df0=_0x5e0d();let _0x8fb05c=_0x5e0df0[_0x5c95e9];return _0x8fb05c;}function warnFlagRenamed(_0xfedded,_0x577ea4,_0x37b250){const _0x34d532=_0x3f7e8a,_0x578f31={'AowZe':function(_0x16a48d,_0x5f31ff){return _0x16a48d(_0x5f31ff);},'icQcJ':function(_0x290347,_0x4a832e,_0x3019ab){return _0x290347(_0x4a832e,_0x3019ab);}};_0x578f31[_0x34d532(0x28e)](argUsed,_0x577ea4)&&_0x578f31[_0x34d532(0x26d)](warnRenamed,_0xfedded+'\x20'+_0x577ea4,_0xfedded+'\x20'+_0x37b250);}async function runGoCommand(_0x41e122,_0x32e2b2=![]){const _0x338289=_0x3f7e8a,_0x18c4ce={'sJvlf':'ranger\x20verify-feature','UvaEU':_0x338289(0x1c2),'VZFJc':'--env','MEwkz':_0x338289(0x240),'XyWbP':'--task','epOwV':function(_0x25e978,_0x2df13a,_0x4d0a8f,_0x263dc5){return _0x25e978(_0x2df13a,_0x4d0a8f,_0x263dc5);},'akhEe':function(_0x2abf39){return _0x2abf39();},'SwGua':function(_0x373fb2,_0x2e2f52){return _0x373fb2(_0x2e2f52);},'XbaXI':_0x338289(0x220),'Iuxix':'debug-address-comments','Bvcds':function(_0x28ec8a,_0x34c52f){return _0x28ec8a+_0x34c52f;},'SzoTM':_0x338289(0x1b8),'ofHVB':'\x20VERIFIED','EToUt':function(_0x31a535,_0xfc0422){return _0x31a535===_0xfc0422;},'xcFAa':'\x20PARTIAL','TQOMZ':'\x20FAILED','ulFFj':_0x338289(0x33c),'epsMn':function(_0x587199,_0x87c9ef){return _0x587199===_0x87c9ef;}};_0x32e2b2&&warnRenamed(_0x18c4ce['sJvlf'],_0x338289(0x1c2));warnFlagRenamed(_0x18c4ce[_0x338289(0x275)],_0x18c4ce[_0x338289(0x208)],_0x18c4ce[_0x338289(0x2e2)]),warnFlagRenamed('ranger\x20go',_0x18c4ce['XyWbP'],'--notes'),_0x18c4ce[_0x338289(0x1b1)](warnFlagRenamed,_0x338289(0x1c2),'--item',_0x338289(0x222));const _0x4e508c=await loadRangerConfig(),_0x55e611=_0x18c4ce[_0x338289(0x1d3)](isByokEnabled),_0x4d9095=_0x41e122[_0x338289(0x1be)],_0x1a56d8=_0x4e508c[_0x338289(0x1be)],_0x53d2bf=await _0x18c4ce['SwGua'](verifyFeature,{'featureId':_0x41e122['feature'],'profile':_0x41e122[_0x338289(0x1b7)]??_0x41e122['env'],'notes':_0x41e122[_0x338289(0x284)]??_0x41e122[_0x338289(0x26f)],'scenario':_0x41e122['scenario']??_0x41e122[_0x338289(0x2f6)],'startPath':_0x41e122['start-path'],'baseUrl':_0x41e122[_0x338289(0x1da)],'debugOutcome':_0x41e122[_0x18c4ce['XbaXI']],'debugAddressComments':_0x41e122[_0x18c4ce['Iuxix']],'headed':_0x41e122[_0x338289(0x20c)],'byokEnabled':_0x55e611,'flagVerifyModel':_0x4d9095,'configVerifyModel':_0x1a56d8});console[_0x338289(0x281)](_0x18c4ce['Bvcds']('\x0a','='['repeat'](0x3c))),console['log'](_0x53d2bf['evaluation']===_0x18c4ce['SzoTM']?_0x18c4ce['ofHVB']:_0x53d2bf[_0x338289(0x311)]===_0x338289(0x2a7)?_0x338289(0x1f9):_0x18c4ce['EToUt'](_0x53d2bf['evaluation'],'partial')?_0x18c4ce[_0x338289(0x1b2)]:_0x53d2bf[_0x338289(0x311)]===_0x338289(0x236)?'\x20BLOCKED':_0x18c4ce[_0x338289(0x237)]),console['log']('='[_0x338289(0x238)](0x3c)),console['log']('Summary:\x20'+_0x53d2bf[_0x338289(0x1f6)]),console[_0x338289(0x281)](_0x338289(0x2ff)+_0x53d2bf[_0x338289(0x311)]),console['log']('Reason:\x20'+_0x53d2bf['evaluationReason']),_0x53d2bf['issues']?.['length']&&(console[_0x338289(0x281)](_0x18c4ce['ulFFj']),_0x53d2bf[_0x338289(0x1fc)]['forEach']((_0x276660,_0x50ce02)=>{const _0x49273a=_0x338289;console[_0x49273a(0x281)]('\x0a'+(_0x50ce02+0x1)+'.\x20['+_0x276660['severity']+']\x20'+_0x276660['description']);})),process[_0x338289(0x2f3)](_0x18c4ce[_0x338289(0x1de)](_0x53d2bf[_0x338289(0x311)],_0x18c4ce['SzoTM'])?0x0:0x1);}export function buildParser(_0x5e8c3d){const _0x51ec5c=_0x3f7e8a,_0x589fb0={'OoUxL':'name','FPMkY':_0x51ec5c(0x328),'OgVOO':'description','zTMgz':_0x51ec5c(0x25e),'xHZBz':'array','LlNCD':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','fYvXe':function(_0x540b2a,_0x19c710,_0x5f58b4,_0x575c90){return _0x540b2a(_0x19c710,_0x5f58b4,_0x575c90);},'BLAoF':_0x51ec5c(0x222),'MIclY':function(_0x4f1e3e,_0x5d03be,_0x5e06ba){return _0x4f1e3e(_0x5d03be,_0x5e06ba);},'wyQkM':_0x51ec5c(0x1f7),'rpAue':'boolean','inCmD':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','jWRXQ':_0x51ec5c(0x288),'NpEBw':'number','SodzD':'include-deleted','ZVyUP':_0x51ec5c(0x2cc),'eQFpD':_0x51ec5c(0x21c),'XIkPl':_0x51ec5c(0x213),'UbNfc':'string','oDYAP':_0x51ec5c(0x21e),'Cllqy':_0x51ec5c(0x327),'rUFLE':_0x51ec5c(0x2ec),'sxgus':_0x51ec5c(0x29e),'nDobP':_0x51ec5c(0x1f1),'bnhmM':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','fHpMo':'report','PlIhl':_0x51ec5c(0x273),'ffkjp':_0x51ec5c(0x323),'xeYvB':'Feature\x20review\x20ID\x20to\x20restore','ZTiQt':function(_0xd2226c,_0x599236,_0x53f77b){return _0xd2226c(_0x599236,_0x53f77b);},'OpXZK':_0x51ec5c(0x28b),'EOIvX':_0x51ec5c(0x292),'ZiINB':_0x51ec5c(0x29b),'zjrEi':_0x51ec5c(0x320),'KNFwL':'user','GqjeF':_0x51ec5c(0x221),'WZVDw':_0x51ec5c(0x268),'ptwWx':_0x51ec5c(0x262),'YGNgg':'setup:skills','bOeUi':'skip-auth','tUDpc':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','PorVr':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','qFIig':'allow-insecure-localhost','CshQd':_0x51ec5c(0x308),'QDqre':_0x51ec5c(0x27a),'CVRXE':_0x51ec5c(0x1e9),'QjzZY':_0x51ec5c(0x1fe),'lHbzT':'Run\x20full\x20interactive\x20setup','kWypX':'deps','nKflN':'login','hBdne':_0x51ec5c(0x2b8),'KfJFZ':_0x51ec5c(0x319),'ugJrI':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','XjVLJ':'profiles','pMJWT':_0x51ec5c(0x2d3),'GZXyD':'url','TdtkC':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','dZwmy':function(_0x71ad1,_0x1c639b,_0x33975d){return _0x71ad1(_0x1c639b,_0x33975d);},'Xqbia':_0x51ec5c(0x1f0),'QDtlb':_0x51ec5c(0x2c4),'cramu':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','tTJGV':'skip-chromium','ePRNf':'Skip\x20Chromium\x20browser\x20installation','ZQsJT':_0x51ec5c(0x2aa),'TmJSh':function(_0x1af67d,_0x3d9ba6){return _0x1af67d(_0x3d9ba6);},'JrfLZ':function(_0x3a0964,_0x177d7b,_0x36b6fd){return _0x3a0964(_0x177d7b,_0x36b6fd);},'XuGmV':'clean','XyiHd':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','ijliY':_0x51ec5c(0x2ac),'BCAGD':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','TjxbV':'setup-header','WMjwp':_0x51ec5c(0x2ad),'VBgQo':function(_0x14b2a9,_0x3dd303){return _0x14b2a9(_0x3dd303);},'ksTtE':'Name\x20of\x20the\x20profile','oTGyr':'yes','MXVjP':'save-creds','KarcQ':_0x51ec5c(0x2d4),'qHPkQ':'key','qFrqU':_0x51ec5c(0x26a),'alxCi':_0x51ec5c(0x25c),'XDboz':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','CjUDc':'Name\x20of\x20the\x20profile\x20to\x20update','nDGiZ':'profile','pinxF':_0x51ec5c(0x2e8),'UZGwG':'add\x20<profile-name>','KBfjY':_0x51ec5c(0x1bb),'ytPNL':'List\x20all\x20profiles','svEXW':_0x51ec5c(0x206),'SEKvU':'config','pCpYY':'Manage\x20profile\x20configuration','OPMwT':_0x51ec5c(0x1b9),'uwAfw':_0x51ec5c(0x1cb),'sarlW':'feature','oSOVW':_0x51ec5c(0x284),'CRJNt':_0x51ec5c(0x244),'AWuDk':_0x51ec5c(0x2d1),'DITeR':_0x51ec5c(0x1da),'fWyno':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','fULAf':'model','DuSpi':_0x51ec5c(0x20c),'TVsHy':'debug-outcome','BMxIY':'verified','rYLIh':'incomplete','Mkznl':_0x51ec5c(0x20f),'UwdsJ':'task','kRKIe':function(_0x27d28b,_0x1a8025){return _0x27d28b(_0x1a8025);},'bduqj':_0x51ec5c(0x264),'LvQVc':_0x51ec5c(0x209),'meVcr':_0x51ec5c(0x2dc),'PggtW':'ranger\x20setup','cVkHK':_0x51ec5c(0x2fd),'FGacm':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','sOLho':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','VpuQa':_0x51ec5c(0x1d4),'YfeRt':_0x51ec5c(0x330),'TvfbT':'blocked','LAdcO':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','qqXDi':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','gPSri':_0x51ec5c(0x1ea),'tjsVU':function(_0x1afb81,_0xc1cac5,_0x10bd20){return _0x1afb81(_0xc1cac5,_0x10bd20);},'gCpfH':_0x51ec5c(0x1eb),'PcXwC':_0x51ec5c(0x1e5),'FmRJL':function(_0xbc3da6,_0x41fa4b,_0xf04ef7){return _0xbc3da6(_0x41fa4b,_0xf04ef7);},'eOKIE':_0x51ec5c(0x1dc),'THfdq':_0x51ec5c(0x1cf),'Ijtty':_0x51ec5c(0x23d),'hbuCW':_0x51ec5c(0x1c5),'CVxRd':_0x51ec5c(0x1f2),'hdPTL':_0x51ec5c(0x322),'EmSsi':'You\x20must\x20specify\x20a\x20config\x20subcommand','cOfYL':'ranger\x20profile\x20update','Wnvuh':'checklist','VFVxZ':_0x51ec5c(0x202),'GAEbd':'ranger\x20feature\x20list','CzFdv':_0x51ec5c(0x301),'CldVs':function(_0x131065,_0xeffb86,_0x384096){return _0x131065(_0xeffb86,_0x384096);},'Kcygl':'feature\x20list','RraSG':'ranger\x20show','WYJIb':'feature\x20show','DTiXR':'ranger\x20feature\x20add-checklist-item','ygwJN':_0x51ec5c(0x335),'udBLZ':_0x51ec5c(0x270),'FrSrn':'ranger\x20restore','EOeuF':function(_0x48f86b,_0x3c42f4,_0x32107b){return _0x48f86b(_0x3c42f4,_0x32107b);},'mElEo':'feature\x20restore','BNXop':'current-branch','bXSPV':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','goSxR':'ranger\x20resume','qIkjs':_0x51ec5c(0x1d9),'hsqtp':'ranger\x20feature\x20get-feedback','mNlQd':'show\x20[id]','tyeAz':'add-checklist-item\x20<description>','KdIwn':'get-feedback\x20[id]','jLORW':_0x51ec5c(0x30d),'rwpSV':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','dCxAG':_0x51ec5c(0x343),'MCibx':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','mGeRJ':_0x51ec5c(0x23b),'cedjm':'Unknown\x20command','nSZpB':'ranger','OSfcL':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','LwIxm':_0x51ec5c(0x27f),'NgFsP':_0x51ec5c(0x1fa),'USuMF':_0x51ec5c(0x2d6),'sKRNq':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','OWRAA':'Initialize\x20Ranger\x20in\x20your\x20project','hXZMZ':'setup-ci\x20<token>','Txdge':'Install\x20Ranger\x20skills','kFkZN':'Manage\x20profiles','xULgB':'status','hovqW':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','QWqPX':_0x51ec5c(0x2c5),'gfEqA':_0x51ec5c(0x266),'BpgcY':'verify-feature','kEEYW':'use\x20<env-name>','qKpks':_0x51ec5c(0x315),'FcokL':function(_0x345b5e,_0x115141){return _0x345b5e+_0x115141;},'BvuAR':'\x20\x20https://docs.ranger.net\x0a','XJpgz':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'};return _0x49a8f5(_0x5e8c3d??process[_0x51ec5c(0x2e3)][_0x51ec5c(0x2ed)](0x2))[_0x51ec5c(0x225)](_0x589fb0[_0x51ec5c(0x28d)])[_0x51ec5c(0x294)](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x51ec5c(0x2ef),_0x589fb0[_0x51ec5c(0x291)],_0x58f349=>{const _0x1145b4=_0x51ec5c;return _0x58f349[_0x1145b4(0x2f5)](_0x589fb0[_0x1145b4(0x32c)],{'type':'string','description':_0x589fb0[_0x1145b4(0x2ab)],'demandOption':!![]})['option'](_0x589fb0['OgVOO'],{'type':_0x1145b4(0x2da),'alias':'d','description':_0x589fb0['zTMgz']})[_0x1145b4(0x1c9)]('scenario',{'type':_0x589fb0[_0x1145b4(0x248)],'alias':'c','description':_0x589fb0[_0x1145b4(0x1f3)]})[_0x1145b4(0x1c9)]('checklist',{'type':'array','hidden':!![]});},async _0x4a2a5a=>{const _0x1db90e=_0x51ec5c;_0x589fb0[_0x1db90e(0x216)](warnFlagRenamed,_0x1db90e(0x1d7),'--checklist',_0x589fb0['BLAoF']);const _0x396b97=_0x4a2a5a['scenario']||_0x4a2a5a[_0x1db90e(0x1b6)];await _0x589fb0['MIclY'](withTelemetry,_0x589fb0['wyQkM'],()=>featureCreate(_0x4a2a5a[_0x1db90e(0x279)],{'description':_0x4a2a5a['description'],'scenarios':_0x396b97}));})[_0x51ec5c(0x26e)]('list',_0x589fb0['LwIxm'],_0x10b8dd=>{const _0xcca51=_0x51ec5c;return _0x10b8dd[_0xcca51(0x1c9)]('current-branch',{'type':_0x589fb0[_0xcca51(0x2b1)],'description':_0x589fb0[_0xcca51(0x337)]})[_0xcca51(0x1c9)](_0xcca51(0x28f),{'type':'number','alias':'l','description':_0x589fb0[_0xcca51(0x2ee)],'default':0xa})[_0xcca51(0x1c9)](_0xcca51(0x31c),{'type':_0x589fb0[_0xcca51(0x20a)],'alias':'o','description':_0xcca51(0x252),'default':0x0})[_0xcca51(0x1c9)](_0x589fb0['SodzD'],{'type':'boolean','alias':'d','description':_0xcca51(0x20e),'default':![]});},async _0x42a50e=>{const _0x3d133f=_0x51ec5c;await _0x589fb0['MIclY'](withTelemetry,_0x589fb0[_0x3d133f(0x21d)],()=>featureList({'currentBranch':_0x42a50e['current-branch'],'limit':_0x42a50e['limit'],'offset':_0x42a50e['offset'],'includeDeleted':_0x42a50e['include-deleted']}));})[_0x51ec5c(0x26e)](_0x589fb0[_0x51ec5c(0x26c)],_0x589fb0[_0x51ec5c(0x2b0)],_0x5f570a=>{const _0x27fa73=_0x51ec5c;return _0x5f570a[_0x27fa73(0x2f5)]('id',{'type':_0x27fa73(0x2da),'description':_0x589fb0[_0x27fa73(0x1c3)]});},async _0x5d5a59=>{await withTelemetry(_0x589fb0['XIkPl'],()=>featureShow(_0x5d5a59['id']));})[_0x51ec5c(0x26e)](_0x589fb0[_0x51ec5c(0x338)],_0x51ec5c(0x277),_0x10e991=>{const _0x5be1f6=_0x51ec5c;return _0x10e991[_0x5be1f6(0x2f5)]('id',{'type':_0x5be1f6(0x2da),'description':_0x5be1f6(0x2c6)});},async _0x43c66c=>{const _0x3a0df4=_0x51ec5c;await _0x589fb0['MIclY'](withTelemetry,_0x3a0df4(0x2bd),()=>featureResume(_0x43c66c['id']));})['command']('add-scenario\x20<description>',_0x51ec5c(0x29d),_0x553a37=>{const _0x6b016e=_0x51ec5c;return _0x553a37['positional'](_0x6b016e(0x261),{'type':_0x589fb0['UbNfc'],'description':_0x6b016e(0x256),'demandOption':!![]})['option']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x404fcd=>{const _0x1ca195=_0x51ec5c;await _0x589fb0['MIclY'](withTelemetry,_0x1ca195(0x274),()=>featureAddScenario(_0x404fcd[_0x1ca195(0x261)],_0x404fcd['id']));})['command']('edit-scenario\x20<description>',_0x51ec5c(0x2f0),_0x110683=>{const _0x134ee1=_0x51ec5c;return _0x110683['positional'](_0x589fb0['OgVOO'],{'type':_0x134ee1(0x2da),'description':_0x134ee1(0x310),'demandOption':!![]})[_0x134ee1(0x1c9)](_0x589fb0['oDYAP'],{'type':_0x589fb0['NpEBw'],'description':_0x589fb0[_0x134ee1(0x2bc)],'demandOption':!![]})[_0x134ee1(0x1c9)]('id',{'type':_0x589fb0['UbNfc'],'description':_0x589fb0['rUFLE']});},async _0x116f95=>{const _0x578c9c=_0x51ec5c;await withTelemetry(_0x589fb0[_0x578c9c(0x1ff)],()=>featureEditScenario(_0x116f95[_0x578c9c(0x261)],{'id':_0x116f95['id'],'scenario':_0x116f95['scenario']}));})['command']('report\x20[id]',_0x589fb0[_0x51ec5c(0x30b)],_0x359cfd=>{const _0x11a363=_0x51ec5c;return _0x359cfd['positional']('id',{'type':_0x589fb0['UbNfc'],'description':_0x589fb0[_0x11a363(0x1c3)]})['option']('exclude-scenario',{'type':_0x11a363(0x30a),'description':_0x11a363(0x31e)})[_0x11a363(0x1c9)](_0x589fb0['nDobP'],{'type':_0x589fb0[_0x11a363(0x2b1)],'description':_0x589fb0[_0x11a363(0x1b4)],'default':![]});},async _0x396436=>{const _0x2c04ff=_0x51ec5c,_0x5511d5=_0x396436[_0x2c04ff(0x2d2)],_0x80422f=_0x5511d5?_0x5511d5[_0x2c04ff(0x24c)](_0x4f4127=>Number(_0x4f4127)):undefined;await withTelemetry(_0x589fb0[_0x2c04ff(0x1ca)],()=>featureReportPrDescription(_0x396436['id'],{'excludeScenarios':_0x80422f,'json':_0x396436['json']}));})[_0x51ec5c(0x26e)](_0x51ec5c(0x312),'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x4306fb=>{const _0x5cc6ba=_0x51ec5c;return _0x4306fb[_0x5cc6ba(0x2f5)]('id',{'type':_0x5cc6ba(0x2da),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4d617e=>{await withTelemetry(_0x589fb0['PlIhl'],()=>featureGetReview(_0x4d617e['id']));})['command'](_0x589fb0['jLORW'],'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x3cc2fa=>{const _0x756fe7=_0x51ec5c;return _0x3cc2fa[_0x756fe7(0x2f5)]('id',{'type':'string','description':_0x756fe7(0x21c)});},async _0x2df8a4=>{await withTelemetry(_0x589fb0['ffkjp'],()=>featureDelete(_0x2df8a4['id']));})[_0x51ec5c(0x26e)]('restore\x20<id>',_0x51ec5c(0x1b3),_0x50978f=>{const _0x31f30f=_0x51ec5c;return _0x50978f[_0x31f30f(0x2f5)]('id',{'type':'string','description':_0x589fb0[_0x31f30f(0x2b6)],'demandOption':!![]});},async _0x14ad56=>{const _0x1d6d48=_0x51ec5c;await _0x589fb0[_0x1d6d48(0x232)](withTelemetry,'restore',()=>featureRestore(_0x14ad56['id']));})[_0x51ec5c(0x26e)]('setup\x20[tokenOrSubcommand]',_0x589fb0[_0x51ec5c(0x1df)],_0x36f052=>{const _0x29d914=_0x51ec5c,_0x4f8e92={'XnFzp':_0x589fb0['UbNfc'],'JeQQE':_0x589fb0[_0x29d914(0x2b1)],'PdWSD':_0x29d914(0x2d3),'gaCTC':_0x589fb0['bOeUi'],'HXjnO':'Skip\x20authentication','JsAQk':_0x589fb0['tUDpc'],'kPsFM':_0x29d914(0x326),'oazeN':_0x589fb0[_0x29d914(0x245)],'VvsKI':_0x29d914(0x1e4),'pfmyd':_0x589fb0['WZVDw'],'HfhwR':_0x589fb0[_0x29d914(0x304)],'DCJzE':_0x589fb0['OpXZK'],'tlExQ':'Alias\x20for\x20--mcp-bootstrap','uBavU':'with-deps','ofcJz':_0x29d914(0x265),'FCazN':_0x589fb0['CshQd'],'qEasq':function(_0x2599b6){return _0x2599b6();},'LQMoG':function(_0x2bb37f){return _0x2bb37f();},'aKJlE':function(_0x40c669,_0x4d34b9){return _0x40c669(_0x4d34b9);},'wZgAs':function(_0x412ee1,_0x205b31,_0x3001b4){return _0x412ee1(_0x205b31,_0x3001b4);},'vWyYU':_0x29d914(0x320),'nQNBU':_0x589fb0[_0x29d914(0x285)],'EbQWV':'Where\x20to\x20store\x20the\x20profile','mOekn':'url','Zoeqz':'Base\x20URL\x20of\x20the\x20running\x20app','VrFiY':_0x589fb0['QDqre'],'VGGQK':_0x589fb0[_0x29d914(0x324)],'SNUCb':_0x29d914(0x207)};return _0x36f052['usage'](_0x29d914(0x27b))[_0x29d914(0x2f5)]('tokenOrSubcommand',{'type':_0x589fb0[_0x29d914(0x309)],'description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})[_0x29d914(0x26e)](_0x589fb0['QjzZY'],_0x589fb0['lHbzT'],_0x4fbce1=>{const _0x3dd7d9=_0x29d914;return _0x4fbce1['option']('token',{'type':_0x4f8e92['XnFzp'],'description':_0x3dd7d9(0x1f0)})[_0x3dd7d9(0x1c9)](_0x3dd7d9(0x2c0),{'type':_0x4f8e92[_0x3dd7d9(0x31b)],'description':_0x4f8e92['PdWSD'],'default':![]})[_0x3dd7d9(0x1c9)](_0x4f8e92['gaCTC'],{'type':_0x4f8e92['JeQQE'],'description':_0x4f8e92['HXjnO'],'default':![]})['option']('with-deps',{'type':'boolean','description':_0x4f8e92['JsAQk'],'default':![]})[_0x3dd7d9(0x1c9)]('scope',{'type':_0x4f8e92['XnFzp'],'choices':[_0x4f8e92[_0x3dd7d9(0x334)],'project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})['option'](_0x3dd7d9(0x33e),{'type':_0x4f8e92['XnFzp'],'description':_0x4f8e92['oazeN']})[_0x3dd7d9(0x1c9)]('force',{'type':_0x3dd7d9(0x1ad),'description':_0x4f8e92['VvsKI'],'default':![]})[_0x3dd7d9(0x1c9)](_0x4f8e92['pfmyd'],{'type':_0x4f8e92['JeQQE'],'description':_0x3dd7d9(0x262),'default':![]})['option'](_0x4f8e92['HfhwR'],{'type':_0x4f8e92[_0x3dd7d9(0x31b)],'description':_0x3dd7d9(0x207),'default':![]})['option'](_0x4f8e92[_0x3dd7d9(0x299)],{'type':_0x4f8e92['JeQQE'],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})['option']('mcp',{'type':_0x3dd7d9(0x1ad),'description':_0x4f8e92['tlExQ'],'default':![]});},async _0x49a463=>{const _0x7b9069=_0x29d914;(_0x49a463[_0x7b9069(0x28b)]||_0x49a463['mcp'])&&await withTelemetry(_0x589fb0['OpXZK'],()=>mcpBootstrap()),await _0x589fb0[_0x7b9069(0x232)](withTelemetry,_0x589fb0[_0x7b9069(0x1d1)],_0x2fc810=>start(_0x49a463['token'],{'skipChromium':_0x49a463[_0x7b9069(0x2c0)],'skipAuth':_0x49a463['skip-auth'],'withDeps':_0x49a463[_0x7b9069(0x2a8)],'scope':_0x49a463['scope'],'url':_0x49a463['url'],'force':_0x49a463['force'],'opencode':_0x49a463['opencode'],'allowInsecureLocalhost':_0x49a463['allow-insecure-localhost']},_0x2fc810));})['command'](_0x589fb0[_0x29d914(0x2d9)],'Install\x20Chromium\x20browser\x20binary',_0x2056de=>{const _0x33fd31=_0x29d914;return _0x2056de[_0x33fd31(0x1c9)](_0x4f8e92[_0x33fd31(0x1b5)],{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]});},async _0xab13ff=>{const _0x502a9d=_0x29d914;await withTelemetry(_0x4f8e92['ofcJz'],()=>ensureChromium(_0xab13ff[_0x502a9d(0x2a8)]));})[_0x29d914(0x26e)](_0x589fb0[_0x29d914(0x1e1)],_0x589fb0['hBdne'],_0x3a06b1=>{const _0x27f19d=_0x29d914;return _0x3a06b1[_0x27f19d(0x1c9)](_0x27f19d(0x209),{'type':_0x4f8e92[_0x27f19d(0x29f)],'description':_0x4f8e92[_0x27f19d(0x1b0)]})['option']('mcp',{'type':_0x27f19d(0x1ad),'description':_0x27f19d(0x1d6),'default':![]});},async _0x103fa6=>{const _0x501f55=_0x29d914;await withTelemetry(_0x589fb0[_0x501f55(0x276)],async()=>{const _0x3c0d66=_0x501f55;if(_0x103fa6['mcp']){await _0x4f8e92[_0x3c0d66(0x280)](mcpBootstrap);const _0xca7319=await _0x4f8e92[_0x3c0d66(0x2be)](refreshCliToken);if(!_0xca7319)throw new Error(_0x3c0d66(0x289));const _0x1887be=await _0x4f8e92[_0x3c0d66(0x23f)](getCurrentUser,_0xca7319);if(!_0x1887be[_0x3c0d66(0x231)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x1887be['error']);console['log'](_0x3c0d66(0x1bf)+_0x1887be['user'][_0x3c0d66(0x214)]);return;}await _0x4f8e92[_0x3c0d66(0x23f)](authenticate,_0x103fa6[_0x3c0d66(0x209)]);});})['command'](_0x589fb0[_0x29d914(0x247)],_0x589fb0[_0x29d914(0x2d7)],_0x5ec4bc=>{const _0x5cd0ea=_0x29d914;return _0x5ec4bc[_0x5cd0ea(0x1c9)](_0x589fb0[_0x5cd0ea(0x336)],{'type':_0x589fb0['UbNfc'],'choices':[_0x589fb0[_0x5cd0ea(0x321)],_0x589fb0['GqjeF']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})[_0x5cd0ea(0x1c9)](_0x589fb0['WZVDw'],{'type':_0x5cd0ea(0x1ad),'description':_0x589fb0[_0x5cd0ea(0x25a)],'default':![]});},async _0x4a6e9e=>{const _0x301e23=_0x29d914;await withTelemetry(_0x589fb0[_0x301e23(0x2f2)],async()=>{const _0x3bdab9=_0x301e23,_0x3c11dd=_0x4a6e9e[_0x3bdab9(0x320)];if(_0x4a6e9e['opencode']){const _0x5a388c=await _0x4f8e92[_0x3bdab9(0x23f)](ensureOpencodePluginConfig,_0x3c11dd);_0x5a388c&&await _0x4f8e92[_0x3bdab9(0x215)](installSkill,'ranger',{'level':_0x5a388c[_0x3bdab9(0x320)],'cliVersion':getCurrentVersion(),'platform':_0x4f8e92[_0x3bdab9(0x22b)]});}else await _0x4f8e92[_0x3bdab9(0x23f)](ensureClaudePlugin,_0x3c11dd),await ensureClaudeSkills(_0x3c11dd);});})['command'](_0x589fb0[_0x29d914(0x22c)],_0x29d914(0x204),_0x5c77b1=>{const _0x5c66b1=_0x29d914;return _0x5c77b1['option'](_0x4f8e92[_0x5c66b1(0x1fb)],{'type':_0x5c66b1(0x2da),'choices':[_0x5c66b1(0x326),_0x4f8e92['nQNBU']],'description':_0x4f8e92[_0x5c66b1(0x1a9)]})[_0x5c66b1(0x1c9)](_0x4f8e92['mOekn'],{'type':_0x4f8e92[_0x5c66b1(0x29f)],'description':_0x4f8e92[_0x5c66b1(0x2fe)]})['option'](_0x4f8e92['gaCTC'],{'type':_0x4f8e92['JeQQE'],'description':_0x4f8e92[_0x5c66b1(0x2a9)],'default':![]})[_0x5c66b1(0x1c9)](_0x4f8e92['VGGQK'],{'type':_0x4f8e92['JeQQE'],'description':_0x4f8e92['VvsKI'],'default':![]})[_0x5c66b1(0x1c9)](_0x4f8e92['HfhwR'],{'type':_0x5c66b1(0x1ad),'description':_0x4f8e92['SNUCb'],'default':![]});},async _0x14bd01=>{const _0x2a2ef1=_0x29d914;await _0x4f8e92['wZgAs'](withTelemetry,'setup:profiles',_0x139741=>ensureLocalEnv({'url':_0x14bd01['url'],'force':_0x14bd01['force'],'allowInsecureLocalhost':_0x14bd01['allow-insecure-localhost'],'scope':_0x14bd01['scope']==='user'?_0x2a2ef1(0x326):undefined},_0x139741));})['option']('skip-chromium',{'type':'boolean','description':_0x589fb0['pMJWT'],'default':![]})[_0x29d914(0x1c9)](_0x589fb0[_0x29d914(0x336)],{'type':_0x29d914(0x2da),'choices':[_0x589fb0['KNFwL'],_0x589fb0['GqjeF']],'description':_0x29d914(0x267)})[_0x29d914(0x1c9)](_0x589fb0['GZXyD'],{'type':'string','description':_0x29d914(0x331)})[_0x29d914(0x1c9)](_0x29d914(0x1e9),{'type':'boolean','description':_0x29d914(0x1e4),'default':![]})['option'](_0x29d914(0x268),{'type':_0x589fb0['rpAue'],'description':_0x589fb0['ptwWx'],'default':![]})['option'](_0x589fb0['qFIig'],{'type':_0x589fb0['rpAue'],'description':_0x29d914(0x2c2),'default':![]})['option']('mcp-bootstrap',{'type':'boolean','description':_0x589fb0[_0x29d914(0x302)],'default':![]})['option'](_0x589fb0[_0x29d914(0x1ef)],{'type':_0x29d914(0x1ad),'description':_0x29d914(0x24e),'default':![]})[_0x29d914(0x1c9)](_0x29d914(0x2a8),{'type':_0x589fb0[_0x29d914(0x2b1)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})[_0x29d914(0x1c9)]('token',{'type':_0x29d914(0x2da),'hidden':!![],'description':'API\x20token'});},async _0x3bc6b7=>{const _0x4034bc=_0x51ec5c,_0xf5a0a=_0x3bc6b7[_0x4034bc(0x233)],_0x34cba0=_0x3bc6b7['token']??_0xf5a0a;_0x3bc6b7[_0x4034bc(0x28b)]&&await _0x589fb0[_0x4034bc(0x232)](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await _0x589fb0[_0x4034bc(0x340)](withTelemetry,_0x4034bc(0x2fd),_0xb9d445=>start(_0x34cba0,{'skipChromium':_0x3bc6b7[_0x4034bc(0x2c0)],'skipAuth':_0x3bc6b7[_0x4034bc(0x1e0)],'withDeps':_0x3bc6b7['with-deps'],'scope':_0x3bc6b7[_0x4034bc(0x320)],'url':_0x3bc6b7['url'],'force':_0x3bc6b7[_0x4034bc(0x1e9)],'opencode':_0x3bc6b7[_0x4034bc(0x268)],'allowInsecureLocalhost':_0x3bc6b7['allow-insecure-localhost']},_0xb9d445));})[_0x51ec5c(0x26e)](_0x589fb0[_0x51ec5c(0x33f)],_0x51ec5c(0x2f9),_0x113bc0=>{const _0x247960=_0x51ec5c;return _0x113bc0[_0x247960(0x2f5)](_0x247960(0x209),{'type':_0x589fb0['UbNfc'],'description':_0x589fb0['Xqbia'],'demandOption':!![]})['option']('profile',{'type':'string','description':_0x589fb0[_0x247960(0x317)]})[_0x247960(0x1c9)](_0x247960(0x1da),{'type':_0x247960(0x2da),'description':_0x589fb0[_0x247960(0x25d)]})['option'](_0x589fb0[_0x247960(0x1e7)],{'type':'boolean','description':_0x589fb0[_0x247960(0x1d5)],'default':![]});},async _0x3e8bf9=>{const _0x38fec8=_0x51ec5c;await withTelemetry(_0x589fb0['ZQsJT'],_0x99e6c8=>setupCi(_0x3e8bf9[_0x38fec8(0x209)],{'profile':_0x3e8bf9['profile'],'baseUrl':_0x3e8bf9['base-url'],'skipChromium':_0x3e8bf9['skip-chromium']},_0x99e6c8));})['command'](_0x51ec5c(0x1e3),_0x51ec5c(0x32d),()=>{},async()=>{await withTelemetry(_0x589fb0['nKflN'],()=>login());})[_0x51ec5c(0x26e)]('skillup',_0x589fb0['Txdge'],_0x1ec44d=>{const _0x4c2c4d=_0x51ec5c;return _0x1ec44d['option'](_0x589fb0['WZVDw'],{'type':'boolean','description':_0x4c2c4d(0x2f8),'default':![]})['option'](_0x589fb0[_0x4c2c4d(0x336)],{'type':_0x589fb0[_0x4c2c4d(0x309)],'choices':[_0x589fb0[_0x4c2c4d(0x321)],'project'],'description':_0x4c2c4d(0x282)});},async _0x1f0691=>{const _0x28894c=_0x51ec5c,_0x43a61f=_0x589fb0['TmJSh'](Boolean,_0x1f0691['opencode']);await _0x589fb0[_0x28894c(0x340)](withTelemetry,'skillup',()=>skillup({'autoInstall':_0x1f0691['scope'],'platform':_0x43a61f?'opencode':_0x28894c(0x242)}));})['command']('clean',_0x51ec5c(0x2ce),()=>{},async()=>{const _0x12a335=_0x51ec5c;await _0x589fb0[_0x12a335(0x30c)](withTelemetry,_0x589fb0['XuGmV'],()=>clean());})[_0x51ec5c(0x26e)](_0x51ec5c(0x1b7),_0x589fb0[_0x51ec5c(0x28c)],_0x5665b2=>{const _0x54bb3a=_0x51ec5c,_0x45dcf4={'UEQfZ':_0x589fb0['UbNfc'],'fRVSU':_0x54bb3a(0x2ba),'rtYJG':_0x589fb0['CjUDc'],'kTeod':_0x589fb0['qFIig'],'vGfni':'boolean','LUIZq':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ksJDh':_0x589fb0[_0x54bb3a(0x1ce)],'dTiKV':_0x589fb0['qHPkQ'],'YeGvk':_0x589fb0['pinxF'],'OHuSX':_0x54bb3a(0x2b9),'iyJKl':_0x54bb3a(0x1f4)};return _0x5665b2[_0x54bb3a(0x294)](PROFILE_HELP)['command'](_0x589fb0[_0x54bb3a(0x293)],'Add\x20profile\x20configuration',_0x561968=>{const _0x38483e=_0x54bb3a;return _0x561968[_0x38483e(0x2f5)](_0x38483e(0x2ba),{'type':_0x589fb0['UbNfc'],'description':_0x589fb0['XyiHd'],'demandOption':!![]})[_0x38483e(0x1c9)]('ci',{'type':_0x38483e(0x1ad),'description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x589fb0['bOeUi'],{'type':_0x589fb0[_0x38483e(0x2b1)],'description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x38483e(0x1c9)](_0x589fb0[_0x38483e(0x1db)],{'type':_0x589fb0[_0x38483e(0x309)],'description':_0x38483e(0x342)})['option'](_0x38483e(0x1e9),{'type':'boolean','description':_0x38483e(0x1e4),'default':![]})[_0x38483e(0x1c9)]('cdp-endpoint',{'type':'string','description':_0x589fb0[_0x38483e(0x260)]})['option'](_0x38483e(0x2ea),{'type':_0x589fb0['rpAue'],'description':_0x38483e(0x2c2),'default':![]})['option']('safe-mode',{'type':_0x589fb0[_0x38483e(0x2b1)],'description':_0x589fb0['BCAGD'],'default':![]})['option'](_0x589fb0[_0x38483e(0x32b)],{'type':'string','array':!![],'description':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'})['option'](_0x589fb0['zjrEi'],{'type':_0x589fb0['UbNfc'],'choices':[_0x589fb0['KNFwL'],'project'],'description':_0x589fb0['WMjwp']})['option']('yes',{'type':_0x38483e(0x1ad),'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x4eb94c=>{const _0x4ce20e=_0x54bb3a;await _0x589fb0[_0x4ce20e(0x216)](withTelemetry,_0x4ce20e(0x2bb),_0x3a14d7=>addEnv(_0x4eb94c[_0x4ce20e(0x2ba)],{'ci':_0x4eb94c['ci'],'skipAuth':_0x4eb94c[_0x4ce20e(0x1e0)],'url':_0x4eb94c[_0x4ce20e(0x33e)],'force':_0x4eb94c[_0x4ce20e(0x1e9)],'cdpEndpoint':_0x4eb94c['cdp-endpoint'],'allowInsecureLocalhost':_0x4eb94c['allow-insecure-localhost'],'safeMode':_0x4eb94c['safe-mode'],'setupHeader':_0x4eb94c[_0x4ce20e(0x249)],'scope':_0x4eb94c['scope'],'yes':_0x4eb94c[_0x4ce20e(0x2d5)]},_0x3a14d7),{'isElectron':_0x589fb0[_0x4ce20e(0x1d0)](Boolean,_0x4eb94c[_0x4ce20e(0x2c9)])});})['command']('use\x20<profile-name>',_0x589fb0[_0x54bb3a(0x297)],_0x141a71=>{const _0x444ced=_0x54bb3a;return _0x141a71['positional']('profile-name',{'type':_0x589fb0[_0x444ced(0x309)],'description':_0x589fb0['ksTtE'],'demandOption':!![]});},async _0x1659fb=>{await withTelemetry('profile\x20use',()=>useEnv(_0x1659fb['profile-name']));})['command']('encrypt-auth\x20<profile>','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)',_0x3b5805=>{const _0x197825=_0x54bb3a;return _0x3b5805['positional'](_0x197825(0x1b7),{'type':_0x45dcf4[_0x197825(0x1bc)],'description':_0x197825(0x1f4),'demandOption':!![]});},async _0x4f5241=>{const _0x4ba51f=_0x54bb3a;await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0x4f5241[_0x4ba51f(0x1b7)]));})['command']('ls',_0x589fb0[_0x54bb3a(0x241)],()=>{},async()=>{const _0x32c73d=_0x54bb3a;await _0x589fb0[_0x32c73d(0x232)](withTelemetry,'profile\x20ls',()=>envList());})[_0x54bb3a(0x26e)](_0x589fb0[_0x54bb3a(0x2cf)],_0x54bb3a(0x305),_0x1829d0=>{const _0x5442d1=_0x54bb3a;return _0x1829d0[_0x5442d1(0x2f5)](_0x45dcf4['fRVSU'],{'type':_0x5442d1(0x2da),'description':_0x45dcf4['rtYJG'],'demandOption':!![]})[_0x5442d1(0x1c9)](_0x45dcf4[_0x5442d1(0x226)],{'type':_0x45dcf4['vGfni'],'description':_0x45dcf4['LUIZq']});},async _0xeda28c=>{const _0x1d8c3d=_0x54bb3a;await withTelemetry('profile\x20update',_0x423ba9=>updateEnv(_0xeda28c[_0x1d8c3d(0x2ba)],_0x423ba9,{'allowInsecureLocalhost':_0xeda28c['allow-insecure-localhost']}));})['command']('migrate\x20[profile-name]','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)',_0x12afdc=>{const _0x22d146=_0x54bb3a;return _0x12afdc['positional'](_0x22d146(0x2ba),{'type':_0x589fb0['UbNfc'],'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})[_0x22d146(0x1c9)]('all',{'type':'boolean','description':_0x22d146(0x30f),'default':![]})[_0x22d146(0x1c9)](_0x22d146(0x20b),{'type':_0x589fb0['rpAue'],'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})[_0x22d146(0x1c9)](_0x589fb0['oTGyr'],{'type':_0x22d146(0x1ad),'alias':'y','description':_0x22d146(0x2e5),'default':![]})[_0x22d146(0x1c9)](_0x589fb0[_0x22d146(0x2b4)],{'type':_0x589fb0['rpAue'],'description':_0x22d146(0x254),'default':![]});},async _0x4ba049=>{const _0x2b869d=_0x54bb3a;await withTelemetry(_0x2b869d(0x31a),_0x2510b6=>migrateProfile({'profileName':_0x4ba049['profile-name'],'all':_0x4ba049['all'],'dryRun':_0x4ba049[_0x2b869d(0x20b)],'yes':_0x4ba049['yes'],'saveCreds':_0x4ba049[_0x2b869d(0x1e6)]},_0x2510b6));})['command'](_0x589fb0[_0x54bb3a(0x287)],_0x589fb0[_0x54bb3a(0x229)],_0x597252=>{const _0x24cbea=_0x54bb3a,_0x418cb2={'jTNJL':function(_0x3e996f,_0x1b39d4,_0x4c0e87){return _0x3e996f(_0x1b39d4,_0x4c0e87);},'jzQuQ':_0x589fb0['KarcQ'],'ROjIt':'string','bAbYN':_0x589fb0['qHPkQ'],'MQfuV':'Config\x20key','sqXXX':'Config\x20key\x20to\x20remove','etoen':'profile\x20config\x20unset','enfMn':function(_0x75c630,_0x181cb6,_0x56843c){return _0x589fb0['MIclY'](_0x75c630,_0x181cb6,_0x56843c);}};return _0x597252[_0x24cbea(0x294)](PROFILE_CONFIG_HELP)['command']('set\x20<profile>\x20<key>\x20<value>',_0x589fb0[_0x24cbea(0x26b)],_0x974227=>{const _0xec2515=_0x24cbea;return _0x974227[_0xec2515(0x2f5)](_0x45dcf4[_0xec2515(0x25b)],{'type':_0x45dcf4[_0xec2515(0x1bc)],'description':'Profile\x20name','demandOption':!![]})[_0xec2515(0x2f5)](_0x45dcf4[_0xec2515(0x239)],{'type':_0xec2515(0x2da),'description':_0x45dcf4[_0xec2515(0x20d)],'demandOption':!![]})['positional'](_0xec2515(0x303),{'type':_0x45dcf4['UEQfZ'],'description':_0x45dcf4['OHuSX'],'demandOption':!![]});},async _0x6f1016=>{const _0x2e2e6e=_0x24cbea;await _0x418cb2[_0x2e2e6e(0x1e8)](withTelemetry,_0x418cb2[_0x2e2e6e(0x255)],()=>configSet(_0x6f1016[_0x2e2e6e(0x1b7)],_0x6f1016['key'],_0x6f1016['value']));})[_0x24cbea(0x26e)](_0x24cbea(0x1ee),_0x589fb0[_0x24cbea(0x1c0)],_0x148331=>{const _0x5dd3cc=_0x24cbea;return _0x148331['positional'](_0x5dd3cc(0x1b7),{'type':_0x418cb2['ROjIt'],'description':_0x5dd3cc(0x1f4),'demandOption':!![]})['positional'](_0x418cb2['bAbYN'],{'type':_0x418cb2[_0x5dd3cc(0x1dd)],'description':_0x418cb2['MQfuV'],'demandOption':!![]});},async _0x2b3928=>{const _0x409073=_0x24cbea;await withTelemetry('profile\x20config\x20get',()=>configGet(_0x2b3928[_0x409073(0x1b7)],_0x2b3928['key']));})[_0x24cbea(0x26e)](_0x24cbea(0x2cb),_0x24cbea(0x300),_0x246e76=>{const _0x12d648=_0x24cbea;return _0x246e76['positional'](_0x45dcf4['ksJDh'],{'type':_0x45dcf4[_0x12d648(0x1bc)],'description':_0x45dcf4['iyJKl'],'demandOption':!![]});},async _0x3f6e8a=>{const _0x55b06c=_0x24cbea;await withTelemetry('profile\x20config\x20list',()=>configList(_0x3f6e8a[_0x55b06c(0x1b7)]));})[_0x24cbea(0x26e)]('unset\x20<profile>\x20<key>','Remove\x20a\x20config\x20value',_0x1f6da0=>{const _0x55b8f8=_0x24cbea;return _0x1f6da0[_0x55b8f8(0x2f5)](_0x55b8f8(0x1b7),{'type':_0x418cb2[_0x55b8f8(0x1dd)],'description':_0x55b8f8(0x1f4),'demandOption':!![]})['positional'](_0x418cb2[_0x55b8f8(0x32a)],{'type':'string','description':_0x418cb2['sqXXX'],'demandOption':!![]});},async _0x459d23=>{const _0x34b5a5=_0x24cbea;await withTelemetry(_0x418cb2[_0x34b5a5(0x307)],()=>configUnset(_0x459d23['profile'],_0x459d23[_0x34b5a5(0x1d2)]));})['command'](_0x24cbea(0x2c8),'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)',_0x129b4a=>{const _0x32ad7c=_0x24cbea;return _0x129b4a['positional'](_0x45dcf4[_0x32ad7c(0x25b)],{'type':_0x32ad7c(0x2da),'description':_0x45dcf4['iyJKl'],'demandOption':!![]});},async _0x25f4fa=>{const _0x4d3f69=_0x24cbea;await _0x418cb2['enfMn'](withTelemetry,_0x4d3f69(0x27e),()=>configReset(_0x25f4fa[_0x4d3f69(0x1b7)]));})['demandCommand'](0x1,_0x589fb0['XDboz']);})[_0x54bb3a(0x253)](0x1,_0x589fb0[_0x54bb3a(0x228)]);})['command'](_0x589fb0[_0x51ec5c(0x212)],_0x589fb0[_0x51ec5c(0x28a)],()=>{},async()=>{const _0x4853de=_0x51ec5c;await _0x589fb0[_0x4853de(0x340)](withTelemetry,_0x4853de(0x2a1),()=>status());})['command']('update',_0x51ec5c(0x1c1),()=>{},async()=>{await withTelemetry('update',()=>update());})[_0x51ec5c(0x26e)](_0x589fb0[_0x51ec5c(0x24b)],_0x589fb0[_0x51ec5c(0x201)],()=>{},async()=>{await withTelemetry(_0x589fb0['uwAfw'],async()=>{const _0x17a750=await getToken();if(!_0x17a750)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console['log'](_0x17a750);});})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)',_0x3f9258=>{const _0x2434a4=_0x51ec5c;return _0x3f9258[_0x2434a4(0x1c9)](_0x589fb0['sarlW'],{'type':'string','description':_0x2434a4(0x286)})['option'](_0x589fb0['nDGiZ'],{'type':_0x2434a4(0x2da),'description':_0x2434a4(0x21f)})[_0x2434a4(0x1c9)](_0x589fb0['oSOVW'],{'type':_0x589fb0['UbNfc'],'description':_0x589fb0[_0x2434a4(0x1ab)]})['option'](_0x589fb0[_0x2434a4(0x218)],{'type':_0x589fb0[_0x2434a4(0x20a)],'description':'Scenario\x20index\x20(1-based)'})['option']('start-path',{'type':_0x589fb0[_0x2434a4(0x309)],'description':_0x589fb0['AWuDk']})['option'](_0x589fb0[_0x2434a4(0x33a)],{'type':_0x2434a4(0x2da),'description':_0x589fb0['fWyno']})['option'](_0x589fb0[_0x2434a4(0x2b2)],{'type':'string','description':_0x2434a4(0x23a)})['option'](_0x589fb0['DuSpi'],{'type':_0x2434a4(0x1ad),'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})[_0x2434a4(0x1c9)](_0x589fb0[_0x2434a4(0x31d)],{'type':_0x589fb0['UbNfc'],'hidden':!![],'choices':[_0x589fb0['BMxIY'],_0x2434a4(0x246),_0x2434a4(0x236),'failed',_0x589fb0['rYLIh']]})['option'](_0x2434a4(0x22e),{'type':_0x589fb0[_0x2434a4(0x2b1)],'hidden':!![]})['option'](_0x589fb0[_0x2434a4(0x332)],{'type':_0x589fb0[_0x2434a4(0x309)],'hidden':!![]})['option'](_0x589fb0['UwdsJ'],{'type':_0x589fb0['UbNfc'],'hidden':!![]})['option']('item',{'type':_0x589fb0[_0x2434a4(0x20a)],'hidden':!![]});},async _0x33fd40=>{await runGoCommand(_0x33fd40);})[_0x51ec5c(0x26e)](_0x51ec5c(0x2e4),![],_0x14f59f=>{const _0x4e77ef=_0x51ec5c,_0x440c9d={'vCKgt':_0x589fb0[_0x4e77ef(0x1ce)],'zGHoA':function(_0x3da93c,_0x4ad084,_0x39e031){return _0x3da93c(_0x4ad084,_0x39e031);},'IqZlc':_0x4e77ef(0x2a6),'RHvGx':function(_0x30dcd7,_0x463141){const _0x2b9310=_0x4e77ef;return _0x589fb0[_0x2b9310(0x2b7)](_0x30dcd7,_0x463141);}};return _0x14f59f['command'](_0x589fb0[_0x4e77ef(0x2e7)],![],_0x4a35ee=>{const _0x2d290d=_0x4e77ef;return _0x4a35ee[_0x2d290d(0x2f5)](_0x440c9d['vCKgt'],{'type':'string','description':_0x2d290d(0x1f4),'demandOption':!![]});},async _0x5bf1a4=>{const _0x178b02=_0x4e77ef;_0x440c9d[_0x178b02(0x230)](warnRenamed,_0x178b02(0x296),_0x440c9d['IqZlc']),await _0x440c9d[_0x178b02(0x313)](authEncrypt,_0x5bf1a4[_0x178b02(0x1b7)]);})[_0x4e77ef(0x253)](0x1,_0x4e77ef(0x250));},()=>{})[_0x51ec5c(0x26e)](_0x589fb0['gfEqA'],![],_0x4a5a93=>{const _0x108be6=_0x51ec5c;return _0x4a5a93[_0x108be6(0x2f5)](_0x589fb0['LvQVc'],{'type':_0x108be6(0x2da),'description':_0x108be6(0x298)})[_0x108be6(0x1c9)](_0x108be6(0x2c0),{'type':_0x108be6(0x1ad),'description':_0x589fb0[_0x108be6(0x2fb)],'default':![]})['option']('scope',{'type':_0x108be6(0x2da),'choices':[_0x589fb0[_0x108be6(0x321)],_0x589fb0[_0x108be6(0x285)]],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})[_0x108be6(0x1c9)](_0x589fb0[_0x108be6(0x1db)],{'type':_0x589fb0[_0x108be6(0x309)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})[_0x108be6(0x1c9)]('force',{'type':'boolean','description':_0x108be6(0x1e4),'default':![]})['option']('skip-auth',{'type':'boolean','description':'Skip\x20authentication','default':![]})['option'](_0x108be6(0x2a8),{'type':_0x589fb0[_0x108be6(0x2b1)],'description':_0x589fb0['tUDpc'],'default':![]});},async _0x390ab4=>{const _0x399a7e=_0x51ec5c;warnRenamed(_0x589fb0['meVcr'],_0x589fb0['PggtW']),await withTelemetry(_0x589fb0[_0x399a7e(0x1f5)],_0x37a085=>start(_0x390ab4['token'],{'skipChromium':_0x390ab4['skip-chromium'],'skipAuth':_0x390ab4['skip-auth'],'withDeps':_0x390ab4[_0x399a7e(0x2a8)],'scope':_0x390ab4['scope'],'url':_0x390ab4[_0x399a7e(0x33e)],'force':_0x390ab4[_0x399a7e(0x1e9)]},_0x37a085));})['command'](_0x589fb0['BpgcY'],![],_0x254903=>{const _0x2f27c8=_0x51ec5c;return _0x254903[_0x2f27c8(0x1c9)](_0x589fb0['Mkznl'],{'type':_0x2f27c8(0x2da),'description':_0x589fb0[_0x2f27c8(0x1fd)]})[_0x2f27c8(0x1c9)](_0x589fb0[_0x2f27c8(0x223)],{'type':_0x589fb0['UbNfc'],'description':_0x589fb0['sOLho']})[_0x2f27c8(0x1c9)](_0x2f27c8(0x2f6),{'type':'number','description':_0x589fb0['VpuQa']})['option'](_0x2f27c8(0x1b7),{'type':_0x2f27c8(0x2da),'hidden':!![]})['option'](_0x2f27c8(0x284),{'type':'string','hidden':!![]})['option'](_0x589fb0['oDYAP'],{'type':_0x589fb0['NpEBw'],'hidden':!![]})[_0x2f27c8(0x1c9)](_0x2f27c8(0x1c8),{'type':_0x2f27c8(0x2da),'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})[_0x2f27c8(0x1c9)](_0x589fb0['DITeR'],{'type':_0x589fb0[_0x2f27c8(0x309)],'description':_0x589fb0[_0x2f27c8(0x21a)]})[_0x2f27c8(0x1c9)](_0x589fb0['fULAf'],{'type':_0x2f27c8(0x2da),'hidden':!![]})[_0x2f27c8(0x1c9)](_0x589fb0['DuSpi'],{'type':_0x589fb0['rpAue'],'hidden':!![],'default':![]})[_0x2f27c8(0x1c9)](_0x589fb0[_0x2f27c8(0x31d)],{'type':_0x589fb0['UbNfc'],'hidden':!![],'choices':[_0x589fb0['BMxIY'],_0x2f27c8(0x246),_0x589fb0['TvfbT'],'failed',_0x589fb0['rYLIh']]});},async _0x54c691=>{await runGoCommand(_0x54c691,!![]);})[_0x51ec5c(0x26e)]('add\x20env\x20<env-name>',![],_0x5d65c0=>{const _0x1a6650=_0x51ec5c;return _0x5d65c0[_0x1a6650(0x2f5)]('env-name',{'type':_0x1a6650(0x2da),'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x1a6650(0x1c9)]('ci',{'type':'boolean','description':_0x589fb0[_0x1a6650(0x272)],'default':![]})[_0x1a6650(0x1c9)]('skip-auth',{'type':_0x589fb0[_0x1a6650(0x2b1)],'description':_0x589fb0['qqXDi'],'default':![]});},async _0x1cdc81=>{const _0x57f59e=_0x51ec5c;_0x589fb0['MIclY'](warnRenamed,'ranger\x20add\x20env',_0x589fb0['gPSri']),await _0x589fb0['tjsVU'](withTelemetry,'add\x20env',_0x58c48e=>addEnv(_0x1cdc81['env-name'],{'ci':_0x1cdc81['ci'],'skipAuth':_0x1cdc81[_0x57f59e(0x1e0)]},_0x58c48e));})['command'](_0x589fb0[_0x51ec5c(0x1f8)],![],_0x163880=>{const _0x5b8b48=_0x51ec5c;return _0x163880['positional'](_0x5b8b48(0x32f),{'type':'string','description':_0x5b8b48(0x32e),'demandOption':!![]});},async _0x5dd332=>{const _0x2899f1=_0x51ec5c;_0x589fb0[_0x2899f1(0x340)](warnRenamed,_0x589fb0['gCpfH'],_0x589fb0['PcXwC']),await withTelemetry('use',()=>useEnv(_0x5dd332[_0x2899f1(0x32f)]));})['command']('config',![],_0x33357b=>{const _0x4256cc=_0x51ec5c,_0x2740ba={'pFulN':_0x589fb0['eOKIE'],'BpwnB':'key','surpG':_0x589fb0[_0x4256cc(0x309)],'PfDuo':_0x4256cc(0x303),'CGxVo':function(_0x2c17a6,_0x256c6e,_0x1f4a6f){return _0x2c17a6(_0x256c6e,_0x1f4a6f);},'AbGxK':_0x4256cc(0x1af),'lmxwe':_0x4256cc(0x341),'dUhvi':_0x589fb0['Ijtty'],'QLDYe':'ranger\x20profile\x20config\x20list','OgKGO':_0x4256cc(0x2e6)};return _0x33357b[_0x4256cc(0x26e)](_0x589fb0['hbuCW'],![],_0x38f561=>{const _0x31f85f=_0x4256cc;return _0x38f561[_0x31f85f(0x2f5)](_0x31f85f(0x20f),{'type':_0x31f85f(0x2da),'description':_0x2740ba[_0x31f85f(0x2c1)],'demandOption':!![]})[_0x31f85f(0x2f5)](_0x2740ba[_0x31f85f(0x2cd)],{'type':_0x2740ba[_0x31f85f(0x22a)],'description':_0x31f85f(0x2e8),'demandOption':!![]})['positional'](_0x2740ba['PfDuo'],{'type':_0x2740ba['surpG'],'description':'Config\x20value','demandOption':!![]});},async _0x5c8405=>{const _0xc52f45=_0x4256cc;_0x589fb0['FmRJL'](warnRenamed,_0xc52f45(0x27d),_0xc52f45(0x325)),await withTelemetry('config\x20set',()=>configSet(_0x5c8405['env'],_0x5c8405['key'],_0x5c8405['value']));})['command'](_0x589fb0['CVxRd'],![],_0x1f53a2=>{const _0x534ae9=_0x4256cc;return _0x1f53a2['positional'](_0x589fb0['Mkznl'],{'type':_0x589fb0[_0x534ae9(0x309)],'description':_0x589fb0[_0x534ae9(0x1c7)],'demandOption':!![]})['positional']('key',{'type':'string','description':_0x534ae9(0x318),'demandOption':!![]});},async _0x24ba33=>{const _0x26bfc1=_0x4256cc;_0x2740ba[_0x26bfc1(0x227)](warnRenamed,_0x2740ba[_0x26bfc1(0x217)],_0x2740ba['lmxwe']),await withTelemetry(_0x26bfc1(0x200),()=>configGet(_0x24ba33['env'],_0x24ba33['key']));})[_0x4256cc(0x26e)](_0x589fb0['hdPTL'],![],_0x3c3ece=>{const _0x1b747e=_0x4256cc;return _0x3c3ece[_0x1b747e(0x2f5)](_0x589fb0['Mkznl'],{'type':'string','description':_0x589fb0[_0x1b747e(0x1c7)],'demandOption':!![]});},async _0xc078c5=>{const _0x2e0f93=_0x4256cc;warnRenamed(_0x2740ba[_0x2e0f93(0x257)],_0x2740ba[_0x2e0f93(0x23c)]),await withTelemetry(_0x2740ba['OgKGO'],()=>configList(_0xc078c5[_0x2e0f93(0x20f)]));})[_0x4256cc(0x26e)](_0x4256cc(0x344),![],_0x4cf851=>{const _0xb912=_0x4256cc;return _0x4cf851[_0xb912(0x2f5)](_0xb912(0x20f),{'type':_0x589fb0['UbNfc'],'description':_0xb912(0x1dc),'demandOption':!![]})['positional'](_0x589fb0[_0xb912(0x2a3)],{'type':_0x589fb0['UbNfc'],'description':_0xb912(0x1c6),'demandOption':!![]});},async _0x56ddbb=>{const _0x6e297e=_0x4256cc;_0x589fb0['FmRJL'](warnRenamed,_0x589fb0[_0x6e297e(0x2a0)],_0x6e297e(0x2c7)),await withTelemetry('config\x20unset',()=>configUnset(_0x56ddbb['env'],_0x56ddbb[_0x6e297e(0x1d2)]));})[_0x4256cc(0x253)](0x1,_0x589fb0['EmSsi']);})['command']('env',![],_0x20f09=>{const _0x250a25=_0x51ec5c,_0x3a92b6={'cnPMd':function(_0x4f79b8,_0x394614,_0x396f4c){return _0x4f79b8(_0x394614,_0x396f4c);},'swnOx':'env\x20list','CNGvp':_0x250a25(0x2da),'jcXAy':_0x250a25(0x1ba)};return _0x20f09['command']('ls',![],()=>{},async()=>{const _0x7d9e2c=_0x250a25;_0x3a92b6[_0x7d9e2c(0x27c)](warnRenamed,_0x7d9e2c(0x2a4),'ranger\x20profile\x20ls'),await withTelemetry(_0x3a92b6[_0x7d9e2c(0x1d8)],()=>envList());})['command']('update\x20<env-name>',![],_0xb55b57=>{const _0x5f58e9=_0x250a25;return _0xb55b57['positional'](_0x5f58e9(0x32f),{'type':_0x3a92b6['CNGvp'],'description':_0x3a92b6[_0x5f58e9(0x283)],'demandOption':!![]});},async _0x2fbc0c=>{const _0x4dc4ce=_0x250a25;_0x589fb0['dZwmy'](warnRenamed,_0x4dc4ce(0x2fa),_0x589fb0['cOfYL']),await withTelemetry(_0x4dc4ce(0x31f),_0x420255=>updateEnv(_0x2fbc0c['env-name'],_0x420255));})[_0x250a25(0x253)](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})['command']('feature',![],_0x4f5d7f=>{const _0x963e7c=_0x51ec5c,_0x2ca47e={'fFDTt':_0x589fb0['BNXop'],'nLMMw':_0x589fb0['rpAue'],'vFyge':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','yLOox':_0x963e7c(0x2dd),'FnfCy':'offset','JBpqR':_0x963e7c(0x252),'wtgRK':_0x963e7c(0x24d),'quhKR':_0x589fb0[_0x963e7c(0x290)],'pvMhx':function(_0x36b37e,_0x37e431,_0xca628){return _0x36b37e(_0x37e431,_0xca628);},'wywWl':_0x963e7c(0x2a5),'WaBeL':_0x589fb0['goSxR'],'QocFa':_0x589fb0['qIkjs'],'QVUPg':_0x963e7c(0x2da),'XYbiG':_0x589fb0['rUFLE'],'WCHJB':_0x589fb0['hsqtp'],'JbVQL':_0x963e7c(0x2db),'qBIRl':_0x963e7c(0x2e0),'TOjYG':_0x963e7c(0x259),'HwkSm':'feature\x20delete'};return _0x4f5d7f[_0x963e7c(0x26e)](_0x963e7c(0x2ef),![],_0x103454=>{const _0x1b615e=_0x963e7c;return _0x103454['positional']('name',{'type':'string','description':_0x1b615e(0x328),'demandOption':!![]})[_0x1b615e(0x1c9)](_0x589fb0['OgVOO'],{'type':_0x1b615e(0x2da),'alias':'d','description':'Feature\x20review\x20description'})['option'](_0x589fb0['Wnvuh'],{'type':'array','alias':'c','description':_0x589fb0[_0x1b615e(0x1f3)]})[_0x1b615e(0x1c9)](_0x589fb0[_0x1b615e(0x218)],{'type':_0x589fb0[_0x1b615e(0x248)],'hidden':!![]});},async _0x3c02c=>{const _0x344586=_0x963e7c;warnRenamed(_0x344586(0x251),_0x344586(0x1d7)),_0x589fb0[_0x344586(0x216)](warnFlagRenamed,_0x344586(0x1d7),_0x344586(0x2b3),_0x589fb0['BLAoF']);const _0x331b7a=_0x3c02c[_0x344586(0x21e)]||_0x3c02c[_0x344586(0x1b6)];await withTelemetry(_0x589fb0[_0x344586(0x21b)],()=>featureCreate(_0x3c02c[_0x344586(0x279)],{'description':_0x3c02c[_0x344586(0x261)],'scenarios':_0x331b7a}));})[_0x963e7c(0x26e)]('list',![],_0x47cb92=>{const _0x2fc622=_0x963e7c;return _0x47cb92['option'](_0x2ca47e[_0x2fc622(0x295)],{'type':_0x2ca47e['nLMMw'],'description':_0x2ca47e[_0x2fc622(0x30e)]})[_0x2fc622(0x1c9)](_0x2fc622(0x28f),{'type':_0x2ca47e['yLOox'],'alias':'l','description':_0x2fc622(0x288),'default':0xa})['option'](_0x2ca47e[_0x2fc622(0x1bd)],{'type':'number','alias':'o','description':_0x2ca47e['JBpqR'],'default':0x0})[_0x2fc622(0x1c9)](_0x2ca47e['wtgRK'],{'type':_0x2ca47e['nLMMw'],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x4e5102=>{const _0x176691=_0x963e7c;warnRenamed(_0x589fb0[_0x176691(0x219)],_0x589fb0['CzFdv']),await _0x589fb0['CldVs'](withTelemetry,_0x589fb0[_0x176691(0x1e2)],()=>featureList({'currentBranch':_0x4e5102[_0x176691(0x278)],'limit':_0x4e5102['limit'],'offset':_0x4e5102[_0x176691(0x31c)],'includeDeleted':_0x4e5102[_0x176691(0x24d)]}));})['command'](_0x589fb0[_0x963e7c(0x26c)],![],_0x4d12a1=>{const _0x41074f=_0x963e7c;return _0x4d12a1[_0x41074f(0x2f5)]('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x42ffca=>{const _0x3613dd=_0x963e7c;warnRenamed('ranger\x20feature\x20show',_0x589fb0[_0x3613dd(0x329)]),await _0x589fb0[_0x3613dd(0x30c)](withTelemetry,_0x589fb0[_0x3613dd(0x22d)],()=>featureShow(_0x42ffca['id']));})['command']('resume\x20[id]',![],_0x5acb9e=>{const _0x40ade0=_0x963e7c;return _0x5acb9e['positional']('id',{'type':'string','description':_0x2ca47e[_0x40ade0(0x235)]});},async _0x224ac6=>{const _0x437670=_0x963e7c;_0x2ca47e[_0x437670(0x2f7)](warnRenamed,_0x2ca47e[_0x437670(0x1aa)],_0x2ca47e[_0x437670(0x2b5)]),await withTelemetry(_0x2ca47e[_0x437670(0x1ac)],()=>featureResume(_0x224ac6['id']));})[_0x963e7c(0x26e)](_0x589fb0['tyeAz'],![],_0x4a9085=>{const _0x4a043b=_0x963e7c;return _0x4a9085[_0x4a043b(0x2f5)](_0x4a043b(0x261),{'type':_0x2ca47e['QVUPg'],'description':_0x4a043b(0x256),'demandOption':!![]})[_0x4a043b(0x1c9)]('id',{'type':'string','description':_0x2ca47e[_0x4a043b(0x1c4)]});},async _0x476207=>{const _0x2f2055=_0x963e7c;warnRenamed(_0x589fb0[_0x2f2055(0x1ae)],_0x589fb0['ygwJN']),await withTelemetry(_0x589fb0['udBLZ'],()=>featureAddScenario(_0x476207[_0x2f2055(0x261)],_0x476207['id']));})[_0x963e7c(0x26e)](_0x589fb0['KdIwn'],![],_0x33a7ac=>{const _0x569dfa=_0x963e7c;return _0x33a7ac[_0x569dfa(0x2f5)]('id',{'type':_0x589fb0[_0x569dfa(0x309)],'description':_0x569dfa(0x2ec)});},async _0x9ec9a4=>{const _0x19e9f1=_0x963e7c;_0x2ca47e[_0x19e9f1(0x2f7)](warnRenamed,_0x2ca47e[_0x19e9f1(0x2ae)],_0x2ca47e['JbVQL']),await withTelemetry(_0x2ca47e[_0x19e9f1(0x2ca)],()=>featureGetReview(_0x9ec9a4['id']));})[_0x963e7c(0x26e)](_0x589fb0[_0x963e7c(0x24a)],![],_0x4467cf=>{const _0x40b77d=_0x963e7c;return _0x4467cf[_0x40b77d(0x2f5)]('id',{'type':'string','description':_0x40b77d(0x21c)});},async _0x1820da=>{const _0x90adb8=_0x963e7c;_0x2ca47e[_0x90adb8(0x2f7)](warnRenamed,'ranger\x20feature\x20delete',_0x2ca47e['TOjYG']),await withTelemetry(_0x2ca47e[_0x90adb8(0x29c)],()=>featureDelete(_0x1820da['id']));})[_0x963e7c(0x26e)]('restore\x20<id>',![],_0x33ca25=>{const _0x4ed181=_0x963e7c;return _0x33ca25[_0x4ed181(0x2f5)]('id',{'type':'string','description':_0x589fb0['xeYvB'],'demandOption':!![]});},async _0x307df9=>{const _0x40a608=_0x963e7c;warnRenamed('ranger\x20feature\x20restore',_0x589fb0[_0x40a608(0x1ed)]),await _0x589fb0['EOeuF'](withTelemetry,_0x589fb0[_0x40a608(0x2f1)],()=>featureRestore(_0x307df9['id']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})['command'](_0x589fb0[_0x51ec5c(0x2e9)],![],_0x41377e=>{const _0x2dd578=_0x51ec5c,_0xf29fd9={'SyTgL':_0x589fb0['rwpSV'],'MroKe':_0x589fb0[_0x2dd578(0x309)]};return _0x41377e[_0x2dd578(0x26e)](_0x589fb0[_0x2dd578(0x1ec)],_0x589fb0[_0x2dd578(0x271)],_0x2a67e2=>{const _0x3b51fc=_0x2dd578;return _0x2a67e2[_0x3b51fc(0x1c9)](_0x3b51fc(0x23b),{'type':'string','description':_0xf29fd9[_0x3b51fc(0x263)]});},async _0x33ef79=>{const _0x1dde61=_0x2dd578;await withTelemetry(_0x1dde61(0x2de),()=>hook('enable',_0x33ef79['session-id']));})['command'](_0x2dd578(0x333),_0x2dd578(0x314),_0x4724cb=>{const _0x3dbe04=_0x2dd578;return _0x4724cb[_0x3dbe04(0x1c9)]('session-id',{'type':_0xf29fd9['MroKe'],'description':_0xf29fd9['SyTgL']});},async _0x2c318d=>{await _0x589fb0['EOeuF'](withTelemetry,'hook:disable',()=>hook('disable',_0x2c318d['session-id']));})[_0x2dd578(0x1c9)](_0x589fb0['OoUxL'],{'type':'string','description':_0x2dd578(0x339)})[_0x2dd578(0x1c9)](_0x589fb0[_0x2dd578(0x316)],{'type':_0x2dd578(0x2da),'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x48f9d6=>{const _0xeee245=_0x51ec5c;_0x48f9d6['name']&&await _0x589fb0[_0xeee245(0x205)](hook,_0x48f9d6['name'],_0x48f9d6[_0xeee245(0x23b)]);})[_0x51ec5c(0x253)](0x1,_0x51ec5c(0x24f))[_0x51ec5c(0x25f)]()['fail'](async(_0x2a6ad1,_0x5d1f5d,_0x3c9930)=>{const _0x165e5c=_0x51ec5c,_0x40a248=_0x589fb0[_0x165e5c(0x2b7)](sanitizeArgs,process[_0x165e5c(0x2e3)][_0x165e5c(0x2ed)](0x2)),_0xafde2c=getErrorType(_0x2a6ad1,_0x5d1f5d);if(_0x2a6ad1&&_0x2a6ad1['includes'](_0x589fb0[_0x165e5c(0x2af)])){const _0x17f785=process['argv'][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x17f785),console[_0x165e5c(0x224)](_0x165e5c(0x2fc));}else{if(_0x2a6ad1)console['error']('\x0a'+_0x2a6ad1+'\x0a');else _0x5d1f5d&&console['error']('\x0aError:\x20'+_0x5d1f5d[_0x165e5c(0x29a)]+'\x0a');}await _0x589fb0[_0x165e5c(0x2b7)](logDesirePath,{'rawCommand':_0x40a248,'errorMessage':_0x2a6ad1||_0x5d1f5d?.[_0x165e5c(0x29a)],'errorType':_0xafde2c});const _0x30fe88=getCurrentCollector();_0x30fe88&&await _0x30fe88['trackCommandError'](_0x5d1f5d||new Error(_0x2a6ad1||'Unknown\x20error')),process['exit'](0x1);})[_0x51ec5c(0x2bf)](_0x589fb0['FcokL'](_0x589fb0[_0x51ec5c(0x2e1)]('Documentation:\x0a',_0x589fb0['BvuAR']),_0x589fb0['XJpgz']))[_0x51ec5c(0x33b)]()['alias'](_0x51ec5c(0x33b),'h');}process['env'][_0x3f7e8a(0x23e)]!==_0x3f7e8a(0x2d0)&&buildParser()[_0x3f7e8a(0x306)]();
|
|
2
|
+
const _0x109c06=_0x4cd6;(function(_0x141fc5,_0x3fdb5b){const _0x160039=_0x4cd6,_0x5a4635=_0x141fc5();while(!![]){try{const _0xd6067b=-parseInt(_0x160039(0x1a7))/0x1*(parseInt(_0x160039(0x93))/0x2)+-parseInt(_0x160039(0x11a))/0x3+-parseInt(_0x160039(0x171))/0x4+parseInt(_0x160039(0x202))/0x5+-parseInt(_0x160039(0x1d6))/0x6+parseInt(_0x160039(0x84))/0x7+parseInt(_0x160039(0xc2))/0x8;if(_0xd6067b===_0x3fdb5b)break;else _0x5a4635['push'](_0x5a4635['shift']());}catch(_0x13a65d){_0x5a4635['push'](_0x5a4635['shift']());}}}(_0x2c96,0xea4d2));import _0x25b0ae from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x3cd9ba=_0x4cd6,_0x39e812={'kDALk':function(_0xce3fe8,_0x84aeef,_0x8e9872){return _0xce3fe8(_0x84aeef,_0x8e9872);},'TfJiM':_0x3cd9ba(0x1b2),'YizFS':function(_0x4868ea,_0xebb379){return _0x4868ea(_0xebb379);},'DKzPr':function(_0x392e72,_0x165e05,_0x513a12){return _0x392e72(_0x165e05,_0x513a12);},'dkCeF':_0x3cd9ba(0x111)};let _0x21a363=process['cwd']();const _0x56bb5d=parse(_0x21a363)['root'];while(_0x21a363!==_0x56bb5d){if(existsSync(_0x39e812['kDALk'](join,_0x21a363,_0x39e812['TfJiM']))||_0x39e812['YizFS'](existsSync,_0x39e812['DKzPr'](join,_0x21a363,_0x39e812['dkCeF'])))return _0x21a363;_0x21a363=dirname(_0x21a363);}return process['cwd']();}_0x25b0ae[_0x109c06(0xe5)]({'path':join(findProjectRoot(),'.env')});import _0x13db1c from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';function _0x2c96(){const _0x385177=['start-path','profile','OiGwB','session-id','checklist','ranger\x20list','Feature\x20review\x20name','description','hook:enable','QRNLn','1554590tAeKYR','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','ranger\x20config\x20get','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','qWrjX','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','XCxEh','Raavy','Include\x20soft-deleted\x20feature\x20reviews','url','ojmag','auth','incomplete','severity','yYamD','WDpmB','✓\x20Login\x20succeeded\x20for\x20\x27','Profile\x20name','feature','debug-address-comments','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20','hook','RMFBN','unknown\x20error','login','RGcGs','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','save-creds','ranger\x20feature\x20add-checklist-item','profile\x20config\x20unset','SojPR','\x0aUnknown\x20command:\x20','--scenario','xTDWR','Install\x20scope\x20for\x20skills','Config\x20value','PDlOD','skills','UixHb','UIFpt','scope','profile\x20config\x20list','nNShl','map','uDyCJ','sXlDt','lpYYy','RqgKx','option','xWMKz','KTifR','11694466QlPQKF','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aDeprecated\x20(now\x20exit\x201\x20with\x20a\x20redirect):\x20`profile\x20update`,\x20`profile\x20encrypt-auth`,\x0a`profile\x20migrate`,\x20`setup\x20--ci`.\x20Run\x20`ranger\x20profile\x20add\x20<name>`\x20to\x20set\x20up\x20a\x0afresh\x20profile.\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.','ranger\x20config\x20set','exit','KCpWr','report\x20[id]','argv','xsZbR','profile\x20use','safe-mode','add-scenario\x20<description>','XkQRm','KprmH','get-feedback\x20[id]','gxwLw','1604lYqctP','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','\x20PARTIAL','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aDeprecated\x20(exit\x201\x20with\x20a\x20redirect\x20message):\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20→\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20to\x20refresh\x20auth\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20→\x20no\x20longer\x20needed;\x20Ranger\x20manages\x20session\x20state\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20→\x20run\x20`ranger\x20profile\x20add\x20<name>`;\x20old\x20dirs\x20stay\x20readable\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','npFJZ','setup:login','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','McabO','ranger\x20verify-feature','string','update','ranger\x20feature\x20list','gsieE','yeXyK','yuePB','SCvtK','alias','jFYou','limit','get\x20<profile>\x20<key>','profile\x20encrypt-auth','opencode','test','setup:deps','\x20BLOCKED','name','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','fOAVY','GVYFB','ranger','JefWz','Add\x20profile\x20configuration','SVlHV','ranger\x20env\x20ls','repeat','qLOAT','profile\x20update','VqsCP','gtwAe','SWIFg','vKfft','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','qaJWT','with-deps','ranger\x20delete','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','23244968noACAS','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','ranger\x20profile\x20ls','JfvZx','ranger\x20create','qhFQO','--env','Switch\x20to\x20using\x20a\x20specific\x20profile','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','BOyFY','XWJxW','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','uYcXq','lBARX','Install\x20scope\x20for\x20plugin\x20and\x20skills','ItgsB','edit-scenario','ranger\x20feature\x20restore','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','PgTGp','lQbiQ','ITJKP','item','\x20INCOMPLETE','unset\x20<env>\x20<key>','UwiWH','epilogue','CraEd','dleXH','model','ranger\x20get-review','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','EcsLp','help','ujGTQ','config','VSutw','mcp-bootstrap','delete\x20[id]','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','ranger\x20restore','epFPk','status','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','EVfLG','WsjKg','ranger\x20profile\x20config\x20list','UIqRB','Qlvpl','setup-header','sFsOw','utsog','Reason:\x20','WTkMI','yxGGn','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','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.','zXgGt','lOmqn','BipiV','demandCommand','zuPzT','TrMKE','oOlQt','failed','qyyLA','iBVwL','length','login\x20<name>','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','message','YCYHw','slice','env','current-branch','mqSdK','JNhkE','update\x20<profile-name>','.env','scriptName','WylcQ','Ranger\x20API\x20token','Get\x20a\x20config\x20value','force','rvwIM','You\x20must\x20specify\x20a\x20command','smxug','233274jgdeDU','You\x20must\x20specify\x20a\x20profile\x20subcommand','LWngU','number','hUDZL','delete','mYyIx','evaluationReason','offset','RLyCU','reset\x20<profile>','Ranger\x20API\x20token\x20(rngr_...)','QhECq','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','restore','get\x20<env>\x20<key>','tIvDS','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','IpYou','VJcbh','Environment\x20name','\x0aError:\x20','clean','evaluation','organizationName','znPkP','env\x20list','XhWow','skip-auth','ztYgK','atKcl','kfbxQ','summary','RWGYA','dhNfb','LkOuc','config\x20unset','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','nwJCf','gUlFW','uFlCj','Unknown\x20error','Skip\x20browser\x20authentication','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','detWe','BvWIL','base-url','skip-chromium','list','\x27.\x20Session\x20saved.','oKFSw','unset\x20<profile>\x20<key>','ranger\x20add-scenario','RYAEb','Feature\x20review\x20ID','driHg','pLcFa','sxIZW','edit-scenario\x20<description>','OHndg','bMBvE','QHDem','nrwFP','blocked','skillup','UbKJP','verify-feature','ranger\x20config\x20list','sMkvO','IEudI','--checklist','fxXUc','Manage\x20profile\x20configuration','vyHdP','UUSox','oAsEO','Update\x20authentication\x20for\x20an\x20existing\x20profile','FBHLc','config\x20get','EGjYh','Number\x20of\x20feature\x20reviews\x20to\x20skip','Set\x20a\x20config\x20value','positional','user','List\x20all\x20profiles','profile\x20config\x20set','disable','1833800NmJrmb','Config\x20key\x20to\x20remove','ranger\x20feature\x20get-feedback','\x20VERIFIED','setup\x20[tokenOrSubcommand]','MYQeE','Print\x20the\x20current\x20CLI\x20access\x20token','--item','BZDWb','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','profile\x20config\x20get','array','env-name','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','sAnaZ','issues','ranger\x20setup','token','cdp-endpoint','debug-outcome','sBCge','all','CeNbq','yOLVF','ArJHp','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','JwEHE','jcfNQ','start','boolean','SNQvR','fail','success','verified','nNnjO','lgbkN','adtqc','TMIdC','partial','log','mcp','IbtqD','ZbEvJ','DmVpz','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','print-access-token','Login\x20failed:\x20','pNDCV','lgARi','bxckD','LPUOj','hpLpd','encrypt-auth\x20<profile>','1964CaApoT','zpMfM','WqbPV','ranger\x20profile\x20use','task','headed','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','bsdAn','setup:all','allow-insecure-localhost','command','.ranger','BWKtO','WYvRD','aiuMG','test_output','LXZeI','You\x20must\x20specify\x20a\x20config\x20subcommand','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','sncLb','Skip\x20authentication','use\x20<env-name>','bUGyR','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','pVFZK','feature\x20create','kAipg','PEivW','yes','not_configured','wpmMg','ZWkzW','key','includes','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','OPJqj','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','ranger\x20config\x20unset','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','feature\x20get-feedback','Restore\x20a\x20soft-deleted\x20feature\x20review','VsVkv','rbRsa','scenario','enable','setup-ci','dry-run','10896858ttewGx','VijDB','CznnP','some','create\x20<name>','value','SsDQk','kWfKk','show','include-deleted','setup-ci\x20<token>','Remove\x20a\x20config\x20value','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','Set\x20up\x20a\x20local\x20browser\x20profile','Base\x20URL\x20of\x20the\x20running\x20app','error','IazQc','YETSJ','ymrsS','.\x20[','YKNZN','ETonC','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','feature\x20list','set\x20<env>\x20<key>\x20<value>','nkhFO','vBFNx','usage','uqJWP','Unknown\x20command','DGQpT','LRROP','kqwBw','profile-name'];_0x2c96=function(){return _0x385177;};return _0x2c96();}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 _0x5c9664=>{const _0x1aba86=_0x109c06,_0x1e283b={'smxug':function(_0x46e036){return _0x46e036();}},_0x4405d3=_0x1e283b[_0x1aba86(0x119)](getCurrentCollector);_0x4405d3&&await _0x4405d3['trackCommandError'](_0x5c9664),process['exitCode']=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP=_0x109c06(0x85),PROFILE_HELP=_0x109c06(0x96),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(_0x53573c,_0x454a15){const _0x14dc45=_0x109c06;console[_0x14dc45(0x1e5)]('\x0a'+_0x53573c+'\x20is\x20now\x20'+_0x454a15+'\x0a');}function _0x4cd6(_0x11b361,_0x2389b6){_0x11b361=_0x11b361-0x69;const _0x2c96cd=_0x2c96();let _0x4cd610=_0x2c96cd[_0x11b361];return _0x4cd610;}function argUsed(_0x2ee16e){const _0x2be166=_0x109c06;return rawArgs[_0x2be166(0x1d9)](_0x1597c2=>_0x1597c2===_0x2ee16e||_0x1597c2['startsWith'](_0x2ee16e+'='));}function warnFlagRenamed(_0x32e77f,_0x85124c,_0x37d7fa){const _0x12cbc4={'CXnSN':function(_0x3f8522,_0x2656cb,_0x21e265){return _0x3f8522(_0x2656cb,_0x21e265);}};argUsed(_0x85124c)&&_0x12cbc4['CXnSN'](warnRenamed,_0x32e77f+'\x20'+_0x85124c,_0x32e77f+'\x20'+_0x37d7fa);}async function runGoCommand(_0x9d31b0,_0x116ec8=![]){const _0x4ffbfc=_0x109c06,_0x2edbf8={'YCYHw':function(_0x109cd9,_0x24efe4,_0x371419){return _0x109cd9(_0x24efe4,_0x371419);},'pUadM':_0x4ffbfc(0x9c),'UhQfg':function(_0x91ae58,_0x2572c3,_0x4d39df,_0x44986f){return _0x91ae58(_0x2572c3,_0x4d39df,_0x44986f);},'DcRJD':'ranger\x20go','WYvRD':_0x4ffbfc(0xc8),'RYAEb':'--profile','UbKJP':_0x4ffbfc(0x178),'WsjKg':function(_0xb607a6,_0x8f7f6a){return _0xb607a6+_0x8f7f6a;},'yeXyK':function(_0x1ecad1,_0xf06d36){return _0x1ecad1===_0xf06d36;},'lQbiQ':'verified','atKcl':_0x4ffbfc(0x174),'IazQc':function(_0x1b0c3e,_0x2c83bc){return _0x1b0c3e===_0x2c83bc;},'sAnaZ':_0x4ffbfc(0x20e),'fOAVY':'partial','nwJCf':_0x4ffbfc(0x159),'BWKtO':_0x4ffbfc(0xac),'LRROP':'\x20FAILED'};_0x116ec8&&_0x2edbf8[_0x4ffbfc(0x10a)](warnRenamed,_0x2edbf8['pUadM'],'ranger\x20go');_0x2edbf8['UhQfg'](warnFlagRenamed,_0x2edbf8['DcRJD'],_0x2edbf8[_0x4ffbfc(0x1b4)],_0x2edbf8[_0x4ffbfc(0x14f)]),warnFlagRenamed('ranger\x20go','--task','--notes'),warnFlagRenamed(_0x2edbf8['DcRJD'],_0x2edbf8[_0x4ffbfc(0x15b)],_0x4ffbfc(0x71));const _0x45a1fb=await loadRangerConfig(),_0x382759=isByokEnabled(),_0x3e9c73=_0x9d31b0[_0x4ffbfc(0xdf)],_0x5fd65a=_0x45a1fb[_0x4ffbfc(0xdf)],_0x2c8676=await verifyFeature({'featureId':_0x9d31b0['feature'],'profile':_0x9d31b0['profile']??_0x9d31b0['env']??process[_0x4ffbfc(0x10c)]['RANGER_PROFILE'],'notes':_0x9d31b0['notes']??_0x9d31b0[_0x4ffbfc(0x1ab)],'scenario':_0x9d31b0[_0x4ffbfc(0x1d2)]??_0x9d31b0[_0x4ffbfc(0xd8)],'startPath':_0x9d31b0[_0x4ffbfc(0x1f8)],'baseUrl':_0x9d31b0['base-url'],'debugOutcome':_0x9d31b0[_0x4ffbfc(0x184)],'debugAddressComments':_0x9d31b0['debug-address-comments'],'headed':_0x9d31b0['headed'],'byokEnabled':_0x382759,'flagVerifyModel':_0x3e9c73,'configVerifyModel':_0x5fd65a});console['log'](_0x2edbf8[_0x4ffbfc(0xf0)]('\x0a','='[_0x4ffbfc(0xb6)](0x3c))),console[_0x4ffbfc(0x199)](_0x2edbf8[_0x4ffbfc(0xa1)](_0x2c8676['evaluation'],_0x2edbf8[_0x4ffbfc(0xd6)])?_0x2edbf8[_0x4ffbfc(0x138)]:_0x2edbf8[_0x4ffbfc(0x1e6)](_0x2c8676[_0x4ffbfc(0x131)],_0x2edbf8[_0x4ffbfc(0x17f)])?_0x4ffbfc(0xd9):_0x2c8676['evaluation']===_0x2edbf8[_0x4ffbfc(0xaf)]?_0x4ffbfc(0x95):_0x2c8676[_0x4ffbfc(0x131)]===_0x2edbf8[_0x4ffbfc(0x140)]?_0x2edbf8[_0x4ffbfc(0x1b3)]:_0x2edbf8[_0x4ffbfc(0x1f5)]),console['log']('='[_0x4ffbfc(0xb6)](0x3c)),console['log']('Summary:\x20'+_0x2c8676[_0x4ffbfc(0x13a)]),console['log']('Evaluation:\x20'+_0x2c8676[_0x4ffbfc(0x131)]),console['log'](_0x4ffbfc(0xf7)+_0x2c8676[_0x4ffbfc(0x121)]),_0x2c8676[_0x4ffbfc(0x180)]?.[_0x4ffbfc(0x106)]&&(console[_0x4ffbfc(0x199)]('\x0aIssues:'),_0x2c8676[_0x4ffbfc(0x180)]['forEach']((_0x5e7a89,_0x36be62)=>{const _0x4264ce=_0x4ffbfc;console['log']('\x0a'+(_0x36be62+0x1)+_0x4264ce(0x1e9)+_0x5e7a89[_0x4264ce(0x20f)]+']\x20'+_0x5e7a89['description']);})),process['exit'](_0x2edbf8['IazQc'](_0x2c8676[_0x4ffbfc(0x131)],'verified')?0x0:0x1);}export function buildParser(_0xf589c8){const _0x1b1119=_0x109c06,_0x388df0={'mYyIx':_0x1b1119(0x9d),'VJcbh':'description','unrCj':'Feature\x20review\x20description','QHDem':_0x1b1119(0x1d2),'GdzFo':_0x1b1119(0x1cb),'yqkdi':_0x1b1119(0x17c),'bDihM':function(_0x446a91,_0x24880d,_0x79fdd0,_0x41dd01){return _0x446a91(_0x24880d,_0x79fdd0,_0x41dd01);},'hpLpd':_0x1b1119(0x10d),'GVYFB':'boolean','RWGYA':_0x1b1119(0xbd),'hMmPc':'number','gUlFW':_0x1b1119(0x14a),'HhxWw':function(_0x526f03,_0x1c1dec,_0x505be0){return _0x526f03(_0x1c1dec,_0x505be0);},'bUGyR':function(_0x4fcffe,_0x1e2c9b,_0x50bd6f){return _0x4fcffe(_0x1e2c9b,_0x50bd6f);},'UIFpt':'add-scenario','Rirpi':_0x1b1119(0x6a),'oOlQt':function(_0x2ce955,_0x5db2bd,_0x5c37cf){return _0x2ce955(_0x5db2bd,_0x5c37cf);},'CSMdg':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','SojPR':'json','PgTGp':'report','koekV':_0x1b1119(0x150),'JefWz':_0x1b1119(0x11f),'EGjYh':_0x1b1119(0x16d),'hzfSY':_0x1b1119(0x1e4),'FBHLc':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','CeNbq':'allow-insecure-localhost','kqwBw':function(_0x20bf66,_0x40db83){return _0x20bf66!==_0x40db83;},'GbCZz':'setup:profiles','ihoNg':_0x1b1119(0x114),'WDpmB':_0x1b1119(0x149),'vOeLw':_0x1b1119(0x1bb),'UwiWH':_0x1b1119(0x79),'kWfKk':_0x1b1119(0x205),'qLOAT':'url','DmVpz':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','WqbPV':'mcp','GUaAe':function(_0x5256c1,_0x4c3f0e,_0x26b868){return _0x5256c1(_0x4c3f0e,_0x26b868);},'aiuMG':_0x1b1119(0xe7),'uDyCJ':'token','RrKTz':_0x1b1119(0x125),'KCpWr':'Authenticate\x20via\x20MCP\x20proxy','JwEHE':_0x1b1119(0x17a),'ArJHp':function(_0x573719,_0x20455f){return _0x573719(_0x20455f);},'CEVjU':'tokenOrSubcommand','OiGwB':'all','nNnjO':_0x1b1119(0x21a),'adtqc':'Authenticate\x20with\x20Ranger','gtwAe':_0x1b1119(0xca),'gsieE':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','PDlOD':_0x1b1119(0xc1),'bsdAn':'skip-auth','lpYYy':_0x1b1119(0x1c9),'EHBKj':_0x1b1119(0x19e),'bMBvE':_0x1b1119(0xc3),'TwaKA':_0x1b1119(0x148),'yuePB':function(_0x500fb6,_0x1b5880,_0x486990){return _0x500fb6(_0x1b5880,_0x486990);},'vOQcf':_0x1b1119(0x1d4),'BvWIL':'Install\x20skills\x20for\x20OpenCode','pVFZK':function(_0x395912,_0x286ab6){return _0x395912(_0x286ab6);},'uFlCj':function(_0x5788f9,_0x456461,_0x5b2c37){return _0x5788f9(_0x456461,_0x5b2c37);},'nTisu':_0x1b1119(0x15a),'CznnP':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','OUyBW':_0x1b1119(0x18b),'KprmH':_0x1b1119(0x145),'SCvtK':'cdp-endpoint','UQZux':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','QEBsd':'project','LXZeI':_0x1b1119(0x207),'JfvZx':_0x1b1119(0x1c3),'KYPsC':_0x1b1119(0x8c),'epFPk':_0x1b1119(0x103),'UTztm':'profile\x20login','EjiRG':'Name\x20of\x20the\x20profile','CEpnb':'profile\x20ls','PEivW':_0x1b1119(0x127),'lBARX':'profile\x20migrate','npFJZ':'key','lgARi':_0x1b1119(0x16f),'DGQpT':'Config\x20key','zdBAc':_0x1b1119(0x6e),'wpmMg':_0x1b1119(0x14d),'mqSdK':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','nNShl':'use\x20<profile-name>','UWUKe':_0x1b1119(0x1a6),'zXgGt':'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','xsZbR':_0x1b1119(0x110),'VqsCP':_0x1b1119(0x107),'VsVkv':'migrate\x20[profile-name]','UIqRB':_0x1b1119(0xea),'kAipg':_0x1b1119(0xe5),'kNaYJ':_0x1b1119(0x11b),'mmbVy':function(_0x5da2e1){return _0x5da2e1();},'OHndg':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','iBVwL':_0x1b1119(0x19f),'eVIPq':_0x1b1119(0x214),'McabO':_0x1b1119(0x1f9),'nkhFO':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','YLypE':_0x1b1119(0x18a),'uYcXq':'Scenario\x20index\x20(1-based)','qaJWT':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','qYdXl':_0x1b1119(0xfb),'SEwDa':'headed','ciKJr':_0x1b1119(0x6b),'SWIFg':_0x1b1119(0x193),'JNhkE':'partial','IpYou':'env','ETonC':'item','rbRsa':function(_0x1e3912,_0x54da1c,_0x117c63){return _0x1e3912(_0x54da1c,_0x117c63);},'tIvDS':'encrypt\x20<profile>','buEKJ':'You\x20must\x20specify\x20an\x20auth\x20subcommand','nrwFP':'with-deps','scTTv':_0x1b1119(0x181),'VSutw':'start','yVTJe':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','BZDWb':_0x1b1119(0x1ab),'TznDB':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','fkTYZ':'notes','Atete':'model','qWrjX':'debug-outcome','detWe':_0x1b1119(0x159),'vBFNx':_0x1b1119(0x20e),'AQHvG':_0x1b1119(0xfa),'pLcFa':'add\x20env','DzXLv':'ranger\x20use','XkQRm':function(_0x203057,_0x12a941,_0x1c0524){return _0x203057(_0x12a941,_0x1c0524);},'uqJWP':'use','BipiV':function(_0x1d2749,_0x5dd382,_0xbc29c8){return _0x1d2749(_0x5dd382,_0xbc29c8);},'ITJKP':_0x1b1119(0x12e),'grfud':_0x1b1119(0x204),'QQkTL':_0x1b1119(0x168),'RqgKx':_0x1b1119(0x15d),'vGbcB':_0x1b1119(0xf1),'zXxVi':_0x1b1119(0x1cc),'OzQwt':_0x1b1119(0x129),'IsmfA':'list\x20<env>','MtonB':_0x1b1119(0xb5),'PyOHe':_0x1b1119(0xc4),'klHMn':_0x1b1119(0x17d),'HjvqV':'Name\x20of\x20the\x20environment\x20to\x20update','AncYZ':'ranger\x20env\x20update','lOmqn':'ranger\x20profile\x20update','ojmag':function(_0x408cf2,_0x3e7f40,_0x488609){return _0x408cf2(_0x3e7f40,_0x488609);},'CieFW':'ranger\x20feature\x20show','rZKkl':'ranger\x20show','XCxEh':'Scenario\x20description','VXkZJ':_0x1b1119(0x173),'AJnIv':_0x1b1119(0xe0),'SVlHV':'ranger\x20feature\x20delete','sxIZW':'feature\x20delete','ymrsS':_0x1b1119(0xeb),'THfNK':'feature\x20restore','KTifR':_0x1b1119(0x1c0),'WHlmE':_0x1b1119(0xa6),'SzMDQ':_0x1b1119(0x1fd),'TGKvj':_0x1b1119(0x14e),'lgbkN':_0x1b1119(0x1da),'Qlvpl':'show\x20[id]','jcfNQ':'add-checklist-item\x20<description>','pNDCV':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','nrEnv':_0x1b1119(0x1fb),'ecftT':'hook:disable','OsiMC':_0x1b1119(0x170),'UixHb':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','RhwuZ':_0x1b1119(0xad),'tfWnb':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','VfgAO':_0x1b1119(0x1f3),'Mbbdm':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','NfIho':'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','dhNfb':'resume\x20[id]','DjGVI':_0x1b1119(0x12b),'rvwIM':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','XwTjW':_0x1b1119(0x154),'nyIPK':_0x1b1119(0x89),'YKNZN':'get-review\x20[id]','KwRvq':_0x1b1119(0x17e),'uLjCh':'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','Raavy':_0x1b1119(0x1cf),'jFYou':_0x1b1119(0x175),'ZbEvJ':'Initialize\x20Ranger\x20in\x20your\x20project','WTkMI':'Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','jXFPe':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','sncLb':'profiles','ZuRBe':_0x1b1119(0x9e),'bxckD':_0x1b1119(0x1b9),'sEMnS':_0x1b1119(0x177),'HDLYe':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','vyHdP':_0x1b1119(0x20d),'tKuJq':_0x1b1119(0x1bc),'tqUJT':_0x1b1119(0x217),'ayiRW':'Documentation:\x0a'};return _0x13db1c(_0xf589c8??process[_0x1b1119(0x8a)]['slice'](0x2))[_0x1b1119(0x112)](_0x1b1119(0xb1))[_0x1b1119(0x1f1)](TOP_LEVEL_HELP)['version'](getCurrentVersion())['command'](_0x1b1119(0x1da),_0x388df0['Mbbdm'],_0x512f98=>{const _0x35f198=_0x1b1119;return _0x512f98['positional']('name',{'type':_0x388df0[_0x35f198(0x120)],'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x388df0[_0x35f198(0x12d)],{'type':_0x35f198(0x9d),'alias':'d','description':_0x388df0['unrCj']})[_0x35f198(0x81)](_0x388df0['QHDem'],{'type':'array','alias':'c','description':_0x388df0['GdzFo']})[_0x35f198(0x81)]('checklist',{'type':_0x388df0['yqkdi'],'hidden':!![]});},async _0x419cd5=>{const _0xcdc38a=_0x1b1119;if(!_0x419cd5[_0xcdc38a(0xad)]){console[_0xcdc38a(0x1e5)](_0xcdc38a(0x203)+'Example:\x20ranger\x20create\x20my-feature'),process['exit'](0x1);return;}_0x388df0['bDihM'](warnFlagRenamed,_0xcdc38a(0xc6),'--checklist',_0xcdc38a(0x71));const _0x1962a2=_0x419cd5['scenario']||_0x419cd5[_0xcdc38a(0x1fc)];await withTelemetry('create',()=>featureCreate(_0x419cd5['name'],{'description':_0x419cd5['description'],'scenarios':_0x1962a2}));})['command'](_0x388df0[_0x1b1119(0x141)],'List\x20all\x20feature\x20reviews',_0x19190e=>{const _0x52bf1d=_0x1b1119;return _0x19190e['option'](_0x388df0[_0x52bf1d(0x1a5)],{'type':_0x388df0[_0x52bf1d(0xb0)],'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option']('limit',{'type':_0x52bf1d(0x11d),'alias':'l','description':_0x388df0['RWGYA'],'default':0xa})['option']('offset',{'type':_0x388df0['hMmPc'],'alias':'o','description':_0x52bf1d(0x16a),'default':0x0})['option']('include-deleted',{'type':_0x388df0[_0x52bf1d(0xb0)],'alias':'d','description':_0x52bf1d(0x20a),'default':![]});},async _0x4f9e78=>{const _0x4f1f63=_0x1b1119;await withTelemetry(_0x388df0['gUlFW'],()=>featureList({'currentBranch':_0x4f9e78[_0x4f1f63(0x10d)],'limit':_0x4f9e78[_0x4f1f63(0xa6)],'offset':_0x4f9e78[_0x4f1f63(0x122)],'includeDeleted':_0x4f9e78[_0x4f1f63(0x1df)]}));})[_0x1b1119(0x1b1)](_0x388df0['Qlvpl'],_0x388df0['NfIho'],_0x349fd0=>{const _0xaef6b0=_0x1b1119;return _0x349fd0['positional']('id',{'type':_0xaef6b0(0x9d),'description':'Feature\x20review\x20ID'});},async _0x14964c=>{const _0x43f873=_0x1b1119;await withTelemetry(_0x43f873(0x1de),()=>featureShow(_0x14964c['id']));})['command'](_0x388df0[_0x1b1119(0x13c)],_0x388df0['DjGVI'],_0x24d6d9=>{const _0x5a7364=_0x1b1119;return _0x24d6d9[_0x5a7364(0x16c)]('id',{'type':_0x388df0[_0x5a7364(0x120)],'description':_0x5a7364(0x108)});},async _0x383d18=>{await _0x388df0['HhxWw'](withTelemetry,'resume',()=>featureResume(_0x383d18['id']));})['command'](_0x1b1119(0x8e),_0x388df0[_0x1b1119(0x117)],_0x15c784=>{const _0x2b6abc=_0x1b1119;return _0x15c784['positional'](_0x388df0['VJcbh'],{'type':'string','description':'Scenario\x20description','demandOption':!![]})[_0x2b6abc(0x81)]('id',{'type':_0x388df0[_0x2b6abc(0x120)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x5a708a=>{const _0x1aec72=_0x1b1119;await _0x388df0[_0x1aec72(0x1bd)](withTelemetry,_0x388df0[_0x1aec72(0x78)],()=>featureAddScenario(_0x5a708a['description'],_0x5a708a['id']));})[_0x1b1119(0x1b1)](_0x388df0['XwTjW'],_0x1b1119(0x1cd),_0x33cc07=>{const _0x31b59a=_0x1b1119;return _0x33cc07['positional'](_0x388df0['VJcbh'],{'type':_0x388df0['mYyIx'],'description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x388df0['QHDem'],{'type':_0x388df0['hMmPc'],'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})[_0x31b59a(0x81)]('id',{'type':_0x31b59a(0x9d),'description':_0x388df0['Rirpi']});},async _0x3b33f0=>{const _0x3c9c8e=_0x1b1119;await _0x388df0[_0x3c9c8e(0x102)](withTelemetry,_0x3c9c8e(0xd2),()=>featureEditScenario(_0x3b33f0[_0x3c9c8e(0x1ff)],{'id':_0x3b33f0['id'],'scenario':_0x3b33f0[_0x3c9c8e(0x1d2)]}));})['command'](_0x388df0['nyIPK'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x4cd5cc=>{const _0x38c478=_0x1b1119;return _0x4cd5cc[_0x38c478(0x16c)]('id',{'type':_0x38c478(0x9d),'description':_0x38c478(0x150)})[_0x38c478(0x81)]('exclude-scenario',{'type':'array','description':_0x388df0['CSMdg']})[_0x38c478(0x81)](_0x388df0[_0x38c478(0x6f)],{'type':_0x388df0['GVYFB'],'description':_0x38c478(0xd4),'default':![]});},async _0x2bdd25=>{const _0x1765c1=_0x1b1119,_0x69fedf=_0x2bdd25['exclude-scenario'],_0x3dd290=_0x69fedf?_0x69fedf[_0x1765c1(0x7c)](_0x5cbdd1=>Number(_0x5cbdd1)):undefined;await _0x388df0[_0x1765c1(0x102)](withTelemetry,_0x388df0[_0x1765c1(0xd5)],()=>featureReportPrDescription(_0x2bdd25['id'],{'excludeScenarios':_0x3dd290,'json':_0x2bdd25['json']}));})['command'](_0x388df0[_0x1b1119(0x1ea)],_0x388df0['KwRvq'],_0x7ccfac=>{const _0x1fd700=_0x1b1119;return _0x7ccfac[_0x1fd700(0x16c)]('id',{'type':'string','description':_0x1fd700(0x6a)});},async _0x2c3462=>{await withTelemetry('get-review',()=>featureGetReview(_0x2c3462['id']));})['command'](_0x1b1119(0xe8),_0x388df0['uLjCh'],_0x1ecc75=>{const _0x47c939=_0x1b1119;return _0x1ecc75['positional']('id',{'type':_0x47c939(0x9d),'description':_0x388df0['koekV']});},async _0x306eb7=>{const _0x2377d4=_0x1b1119;await withTelemetry(_0x388df0[_0x2377d4(0xb2)],()=>featureDelete(_0x306eb7['id']));})['command']('restore\x20<id>',_0x388df0[_0x1b1119(0x209)],_0x2599a5=>{const _0x24eee5=_0x1b1119;return _0x2599a5['positional']('id',{'type':_0x388df0[_0x24eee5(0x120)],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x26977f=>{const _0x49c62f=_0x1b1119;await _0x388df0['oOlQt'](withTelemetry,_0x49c62f(0x128),()=>featureRestore(_0x26977f['id']));})['command'](_0x388df0[_0x1b1119(0xa5)],_0x388df0[_0x1b1119(0x19c)],_0xb72a16=>{const _0x383bfb=_0x1b1119,_0x52c14b={'pqVgJ':_0x388df0['ihoNg'],'RGcGs':_0x388df0['WDpmB'],'oKFSw':_0x383bfb(0xca),'IEudI':_0x383bfb(0x136),'VijDB':_0x388df0[_0x383bfb(0xb0)],'cKXlg':_0x388df0['vOeLw'],'AhaJK':'with-deps','qhFQO':_0x388df0['UwiWH'],'DFvLu':_0x388df0[_0x383bfb(0x1dd)],'ZUrLE':_0x388df0[_0x383bfb(0xb7)],'LWngU':_0x388df0[_0x383bfb(0x19d)],'iztbu':_0x388df0[_0x383bfb(0x1a9)],'SECwG':function(_0xbad1e0,_0x4aafa0,_0x5ca78c){return _0x388df0['GUaAe'](_0xbad1e0,_0x4aafa0,_0x5ca78c);},'sMkvO':_0x388df0[_0x383bfb(0x1b5)],'Egnpw':_0x388df0['uDyCJ'],'eawKT':_0x388df0['RrKTz'],'gYDLm':_0x388df0[_0x383bfb(0x88)],'KnpoV':function(_0x2770e5,_0x42a159){return _0x2770e5(_0x42a159);},'pkBIP':_0x388df0[_0x383bfb(0x169)],'LSENA':'opencode','TKhqL':_0x388df0['JwEHE'],'CnDtj':function(_0x1c7fe3,_0x53624e){const _0x5273a1=_0x383bfb;return _0x388df0[_0x5273a1(0x189)](_0x1c7fe3,_0x53624e);},'OTHxq':_0x383bfb(0xb1)};return _0xb72a16['usage']('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')['positional'](_0x388df0['CEVjU'],{'type':_0x388df0['mYyIx'],'description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})['command'](_0x388df0[_0x383bfb(0x1fa)],'Run\x20full\x20interactive\x20setup',_0x18f9a1=>{const _0x10585b=_0x383bfb;return _0x18f9a1['option'](_0x10585b(0x182),{'type':'string','description':_0x52c14b['pqVgJ']})[_0x10585b(0x81)](_0x52c14b[_0x10585b(0x69)],{'type':'boolean','description':_0x52c14b[_0x10585b(0x14c)],'default':![]})[_0x10585b(0x81)](_0x52c14b[_0x10585b(0x15f)],{'type':_0x52c14b['VijDB'],'description':_0x52c14b['cKXlg'],'default':![]})[_0x10585b(0x81)](_0x52c14b['AhaJK'],{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})['option'](_0x52c14b[_0x10585b(0xc7)],{'type':_0x10585b(0x9d),'choices':['user'],'hidden':!![],'description':_0x52c14b['DFvLu']})[_0x10585b(0x81)](_0x52c14b['ZUrLE'],{'type':'string','description':_0x10585b(0xae)})[_0x10585b(0x81)](_0x10585b(0x116),{'type':_0x52c14b[_0x10585b(0x1d7)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x10585b(0x81)]('opencode',{'type':_0x52c14b[_0x10585b(0x1d7)],'description':_0x10585b(0x17a),'default':![]})['option'](_0x10585b(0x1b0),{'type':_0x10585b(0x18f),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})[_0x10585b(0x81)]('mcp-bootstrap',{'type':_0x52c14b[_0x10585b(0x1d7)],'description':_0x52c14b[_0x10585b(0x11c)],'default':![]})[_0x10585b(0x81)](_0x52c14b['iztbu'],{'type':_0x10585b(0x18f),'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x3a8193=>{const _0x5e44bc=_0x383bfb;(_0x3a8193[_0x5e44bc(0xe7)]||_0x3a8193[_0x5e44bc(0x19a)])&&await _0x52c14b['SECwG'](withTelemetry,_0x52c14b[_0x5e44bc(0x15e)],()=>mcpBootstrap()),await withTelemetry(_0x5e44bc(0x1af),_0x509020=>start(_0x3a8193['token'],{'skipChromium':_0x3a8193['skip-chromium'],'skipAuth':_0x3a8193['skip-auth'],'withDeps':_0x3a8193[_0x5e44bc(0xbf)],'scope':_0x3a8193['scope'],'url':_0x3a8193[_0x5e44bc(0x20b)],'force':_0x3a8193['force'],'opencode':_0x3a8193['opencode'],'allowInsecureLocalhost':_0x3a8193['allow-insecure-localhost']},_0x509020));})[_0x383bfb(0x1b1)]('deps','Install\x20Chromium\x20browser\x20binary',_0x2eafd2=>{const _0x13a244=_0x383bfb;return _0x2eafd2['option']('with-deps',{'type':_0x13a244(0x18f),'description':_0x13a244(0x19e),'default':![]});},async _0x575694=>{const _0x2d0425=_0x383bfb;await _0x52c14b['SECwG'](withTelemetry,_0x2d0425(0xab),()=>ensureChromium(_0x575694[_0x2d0425(0xbf)]));})['command'](_0x388df0['nNnjO'],_0x388df0[_0x383bfb(0x196)],_0x1648e2=>{const _0x4e8476=_0x383bfb;return _0x1648e2[_0x4e8476(0x81)](_0x52c14b['Egnpw'],{'type':_0x4e8476(0x9d),'description':_0x52c14b['eawKT']})[_0x4e8476(0x81)]('mcp',{'type':_0x4e8476(0x18f),'description':_0x52c14b['gYDLm'],'default':![]});},async _0x401547=>{const _0x3871f5=_0x383bfb;await _0x388df0['HhxWw'](withTelemetry,_0x3871f5(0x98),async()=>{const _0x3f9f23=_0x3871f5;if(_0x401547[_0x3f9f23(0x19a)]){await mcpBootstrap();const _0x272dee=await refreshCliToken();if(!_0x272dee)throw new Error(_0x3f9f23(0xee));const _0x486b3d=await getCurrentUser(_0x272dee);if(!_0x486b3d[_0x3f9f23(0x192)])throw new Error(_0x3f9f23(0x99)+_0x486b3d['error']);console[_0x3f9f23(0x199)]('✓\x20Authenticated\x20to\x20'+_0x486b3d[_0x3f9f23(0x16d)][_0x3f9f23(0x132)]);return;}await _0x52c14b['KnpoV'](authenticate,_0x401547['token']);});})['command'](_0x383bfb(0x76),'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x45da07=>{const _0x1e7265=_0x383bfb;return _0x45da07[_0x1e7265(0x81)]('scope',{'type':_0x1e7265(0x9d),'choices':[_0x52c14b['pkBIP'],'project'],'description':_0x1e7265(0xd0)})['option'](_0x52c14b['LSENA'],{'type':'boolean','description':_0x52c14b['TKhqL'],'default':![]});},async _0x1f3a64=>{await withTelemetry('setup:skills',async()=>{const _0x2c75e3=_0x1f3a64['scope'];if(_0x1f3a64['opencode']){const _0x33b95e=await _0x52c14b['CnDtj'](ensureOpencodePluginConfig,_0x2c75e3);_0x33b95e&&await installSkill(_0x52c14b['OTHxq'],{'level':_0x33b95e['scope'],'cliVersion':getCurrentVersion(),'platform':_0x52c14b['LSENA']});}else await ensureClaudePlugin(_0x2c75e3),await ensureClaudeSkills(_0x2c75e3);});})['command']('profiles',_0x383bfb(0x1e3),_0x45c223=>{const _0x1bda69=_0x383bfb;return _0x45c223[_0x1bda69(0x81)](_0x1bda69(0x79),{'type':_0x1bda69(0x9d),'choices':[_0x388df0[_0x1bda69(0x169)]],'description':_0x1bda69(0x205)})[_0x1bda69(0x81)](_0x1bda69(0x20b),{'type':'string','description':_0x388df0['hzfSY']})[_0x1bda69(0x81)]('skip-auth',{'type':_0x1bda69(0x18f),'description':_0x1bda69(0x144),'default':![]})[_0x1bda69(0x81)](_0x1bda69(0x116),{'type':_0x1bda69(0x18f),'description':_0x388df0[_0x1bda69(0x167)],'default':![]})[_0x1bda69(0x81)](_0x388df0[_0x1bda69(0x187)],{'type':'boolean','description':_0x1bda69(0x1ec),'default':![]});},async _0x137188=>{const _0x2f1b5f=_0x383bfb,_0x2e2070=_0x137188[_0x2f1b5f(0x79)];_0x388df0[_0x2f1b5f(0x1f6)](_0x2e2070,undefined)&&_0x388df0[_0x2f1b5f(0x1f6)](_0x2e2070,'user')&&(console[_0x2f1b5f(0x1e5)]('ranger\x20setup\x20profiles\x20--scope='+_0x2e2070+'\x20is\x20no\x20longer\x20supported.\x20'+_0x2f1b5f(0x216)+_0x2f1b5f(0x13f)),process['exit'](0x1)),await withTelemetry(_0x388df0['GbCZz'],_0x188272=>ensureLocalEnv({'url':_0x137188['url'],'force':_0x137188[_0x2f1b5f(0x116)],'allowInsecureLocalhost':_0x137188['allow-insecure-localhost'],'scope':'user'},_0x188272));})[_0x383bfb(0x81)](_0x388df0[_0x383bfb(0x211)],{'type':_0x388df0[_0x383bfb(0xb0)],'description':_0x388df0[_0x383bfb(0xba)],'default':![]})['option'](_0x388df0[_0x383bfb(0xdb)],{'type':_0x383bfb(0x9d),'choices':[_0x383bfb(0x16d)],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x383bfb(0x81)](_0x388df0['qLOAT'],{'type':_0x388df0[_0x383bfb(0x120)],'description':_0x388df0[_0x383bfb(0xa0)]})['option']('force',{'type':_0x383bfb(0x18f),'description':_0x388df0['FBHLc'],'default':![]})['option'](_0x383bfb(0xa9),{'type':'boolean','description':_0x388df0[_0x383bfb(0x18c)],'default':![]})[_0x383bfb(0x81)](_0x388df0['CeNbq'],{'type':_0x383bfb(0x18f),'description':_0x388df0[_0x383bfb(0x75)],'default':![]})[_0x383bfb(0x81)]('mcp-bootstrap',{'type':'boolean','description':_0x383bfb(0x94),'default':![]})['option'](_0x388df0['bsdAn'],{'type':'boolean','description':_0x388df0[_0x383bfb(0x7f)],'default':![]})[_0x383bfb(0x81)]('with-deps',{'type':_0x388df0[_0x383bfb(0xb0)],'description':_0x388df0['EHBKj'],'default':![]})['option'](_0x388df0[_0x383bfb(0x7d)],{'type':_0x388df0['mYyIx'],'hidden':!![],'description':'API\x20token'});},async _0x214619=>{const _0x1703de=_0x1b1119,_0x2f185b=_0x214619['tokenOrSubcommand'],_0x4ab677=_0x214619[_0x1703de(0x182)]??_0x2f185b;_0x214619['mcp-bootstrap']&&await withTelemetry(_0x388df0[_0x1703de(0x1b5)],()=>mcpBootstrap()),await _0x388df0[_0x1703de(0x1bd)](withTelemetry,_0x1703de(0x18e),_0x295d3a=>start(_0x4ab677,{'skipChromium':_0x214619[_0x1703de(0x149)],'skipAuth':_0x214619['skip-auth'],'withDeps':_0x214619[_0x1703de(0xbf)],'scope':_0x214619[_0x1703de(0x79)],'url':_0x214619[_0x1703de(0x20b)],'force':_0x214619[_0x1703de(0x116)],'opencode':_0x214619['opencode'],'allowInsecureLocalhost':_0x214619['allow-insecure-localhost']},_0x295d3a));})['command'](_0x1b1119(0x1e0),_0x388df0[_0x1b1119(0xf8)],_0x30ede1=>{const _0x3b1649=_0x1b1119;return _0x30ede1[_0x3b1649(0x16c)]('token',{'type':_0x388df0[_0x3b1649(0x120)],'description':_0x388df0['ihoNg'],'demandOption':!![]})[_0x3b1649(0x81)]('profile',{'type':_0x388df0[_0x3b1649(0x120)],'description':_0x388df0[_0x3b1649(0x156)]})[_0x3b1649(0x81)](_0x388df0['TwaKA'],{'type':_0x388df0[_0x3b1649(0x120)],'description':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)'})[_0x3b1649(0x81)]('skip-chromium',{'type':_0x388df0['GVYFB'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0xa1b622=>{const _0x4228c6=_0x1b1119;await _0x388df0[_0x4228c6(0xa2)](withTelemetry,_0x388df0['vOQcf'],_0x373328=>setupCi(_0xa1b622[_0x4228c6(0x182)],{'profile':_0xa1b622[_0x4228c6(0x1f9)],'baseUrl':_0xa1b622[_0x4228c6(0x148)],'skipChromium':_0xa1b622[_0x4228c6(0x149)]},_0x373328));})['command'](_0x388df0[_0x1b1119(0x194)],_0x388df0['jXFPe'],()=>{},async()=>{const _0x47463e=_0x1b1119;await withTelemetry(_0x47463e(0x21a),()=>login());})[_0x1b1119(0x1b1)](_0x1b1119(0x15a),'Install\x20Ranger\x20skills',_0x3d7e8b=>{const _0x1b383e=_0x1b1119;return _0x3d7e8b[_0x1b383e(0x81)]('opencode',{'type':_0x388df0['GVYFB'],'description':_0x388df0[_0x1b383e(0x147)],'default':![]})[_0x1b383e(0x81)](_0x388df0[_0x1b383e(0xdb)],{'type':_0x388df0[_0x1b383e(0x120)],'choices':[_0x1b383e(0x16d),'project'],'description':_0x1b383e(0x73)});},async _0x38132f=>{const _0x3e0840=_0x1b1119,_0x4634f1=_0x388df0[_0x3e0840(0x1bf)](Boolean,_0x38132f[_0x3e0840(0xa9)]);await _0x388df0[_0x3e0840(0x142)](withTelemetry,_0x388df0['nTisu'],()=>skillup({'autoInstall':_0x38132f['scope'],'platform':_0x4634f1?'opencode':'claude'}));})['command']('clean',_0x1b1119(0x1be),()=>{},async()=>{const _0x2a074f=_0x1b1119;await _0x388df0[_0x2a074f(0xa2)](withTelemetry,_0x2a074f(0x130),()=>clean());})[_0x1b1119(0x1b1)]([_0x388df0['McabO'],_0x388df0[_0x1b1119(0x1ba)]],'Manage\x20profiles',_0x2bd83b=>{const _0x42568e=_0x1b1119,_0x3169f4={'WylcQ':_0x42568e(0x183),'SNQvR':_0x388df0['EjiRG'],'ekPpL':_0x42568e(0x1f9),'XWJxW':'Profile\x20name','ZWkzW':function(_0x465246,_0x5a1212,_0x4a2406){return _0x465246(_0x5a1212,_0x4a2406);},'ZpWLY':_0x388df0['CEpnb'],'fxXUc':_0x388df0['mYyIx'],'LPUOj':'Name\x20of\x20the\x20profile\x20to\x20update','dleXH':_0x388df0['GVYFB'],'QhECq':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','CraEd':'Cloud\x20profile\x20name','EwkHE':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','uHpqa':_0x42568e(0x1d5),'LFdOE':_0x388df0[_0x42568e(0x1c2)],'EAUlt':_0x388df0[_0x42568e(0xc5)],'ujGTQ':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','aWimk':_0x388df0[_0x42568e(0xcf)],'ydWiv':function(_0x20b0c7,_0xe317b6,_0x1d98ad){const _0x52f555=_0x42568e;return _0x388df0[_0x52f555(0x1bd)](_0x20b0c7,_0xe317b6,_0x1d98ad);},'JedZJ':_0x42568e(0x17b),'gxwLw':_0x388df0['npFJZ'],'RKPZX':_0x42568e(0x172),'IbtqD':_0x388df0[_0x42568e(0x1a2)],'hUDZL':_0x388df0[_0x42568e(0x1f4)],'kfbxQ':_0x42568e(0x7a),'vfXvL':_0x388df0['zdBAc'],'CCgJS':'set\x20<profile>\x20<key>\x20<value>','koJuL':_0x42568e(0xa7),'YETSJ':_0x42568e(0x115),'OGBYW':_0x388df0[_0x42568e(0x1c5)],'GlamL':_0x42568e(0x124),'utsog':_0x388df0[_0x42568e(0x10e)]};return _0x2bd83b['usage'](PROFILE_HELP)[_0x42568e(0x1b1)]('add\x20<profile-name>',_0x42568e(0xb3),_0x219be0=>{const _0x4be19c=_0x42568e;return _0x219be0[_0x4be19c(0x16c)]('profile-name',{'type':_0x4be19c(0x9d),'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x4be19c(0x18f),'description':_0x388df0[_0x4be19c(0x1d8)],'default':![]})['option'](_0x388df0['bsdAn'],{'type':_0x388df0['GVYFB'],'description':_0x388df0['OUyBW'],'default':![]})[_0x4be19c(0x81)](_0x388df0['qLOAT'],{'type':'string','description':_0x388df0[_0x4be19c(0x90)]})['option'](_0x4be19c(0x116),{'type':_0x388df0[_0x4be19c(0xb0)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x4be19c(0x81)](_0x388df0[_0x4be19c(0xa3)],{'type':'string','description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})[_0x4be19c(0x81)](_0x4be19c(0x1b0),{'type':_0x388df0['GVYFB'],'description':_0x388df0['PDlOD'],'default':![]})['option'](_0x4be19c(0x8d),{'type':_0x4be19c(0x18f),'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x4be19c(0x81)](_0x4be19c(0xf4),{'type':_0x4be19c(0x9d),'array':!![],'description':_0x388df0['UQZux']})['option']('scope',{'type':_0x388df0['mYyIx'],'choices':[_0x388df0[_0x4be19c(0x169)],_0x388df0['QEBsd']],'description':_0x388df0[_0x4be19c(0x1b7)]})['option'](_0x388df0[_0x4be19c(0xc5)],{'type':'boolean','alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','default':![]});},async _0x7690d5=>{const _0x8f97ff=_0x42568e;await withTelemetry('profile\x20add',_0x55b2dd=>addEnv(_0x7690d5['profile-name'],{'ci':_0x7690d5['ci'],'skipAuth':_0x7690d5['skip-auth'],'url':_0x7690d5['url'],'force':_0x7690d5['force'],'cdpEndpoint':_0x7690d5['cdp-endpoint'],'allowInsecureLocalhost':_0x7690d5[_0x8f97ff(0x1b0)],'safeMode':_0x7690d5[_0x8f97ff(0x8d)],'setupHeader':_0x7690d5['setup-header'],'scope':_0x7690d5['scope'],'yes':_0x7690d5[_0x8f97ff(0x1c3)]},_0x55b2dd),{'isElectron':Boolean(_0x7690d5[_0x3169f4[_0x8f97ff(0x113)]])});})[_0x42568e(0x1b1)](_0x388df0[_0x42568e(0x7b)],_0x42568e(0xc9),_0x5eaa65=>{const _0x528f28=_0x42568e;return _0x5eaa65['positional']('profile-name',{'type':'string','description':_0x3169f4[_0x528f28(0x190)],'demandOption':!![]});},async _0x34cc6f=>{const _0x1ee7a7=_0x42568e;await withTelemetry(_0x388df0['KYPsC'],()=>useEnv(_0x34cc6f[_0x1ee7a7(0x1f7)]));})['command'](_0x388df0['UWUKe'],_0x388df0[_0x42568e(0xfc)],_0x2199a2=>{const _0x50d7bf=_0x42568e;return _0x2199a2['positional'](_0x3169f4['ekPpL'],{'type':'string','description':_0x3169f4[_0x50d7bf(0xcc)],'demandOption':!![]});},async _0x353632=>{const _0x160269=_0x42568e;await withTelemetry(_0x160269(0xa8),()=>authEncrypt(_0x353632[_0x160269(0x1f9)]));})[_0x42568e(0x1b1)]('ls',_0x42568e(0x16e),()=>{},async()=>{const _0x2bb596=_0x42568e;await _0x3169f4[_0x2bb596(0x1c6)](withTelemetry,_0x3169f4['ZpWLY'],()=>envList());})[_0x42568e(0x1b1)](_0x388df0[_0x42568e(0x8b)],_0x42568e(0x166),_0x286a48=>{const _0x500b72=_0x42568e;return _0x286a48[_0x500b72(0x16c)]('profile-name',{'type':_0x3169f4['fxXUc'],'description':_0x3169f4[_0x500b72(0x1a4)],'demandOption':!![]})[_0x500b72(0x81)](_0x500b72(0x1b0),{'type':_0x3169f4['dleXH'],'description':_0x3169f4[_0x500b72(0x126)]});},async _0x29934b=>{const _0x16ba42=_0x42568e;await _0x3169f4[_0x16ba42(0x1c6)](withTelemetry,_0x16ba42(0xb8),_0x2c48a8=>updateEnv(_0x29934b[_0x16ba42(0x1f7)],_0x2c48a8,{'allowInsecureLocalhost':_0x29934b['allow-insecure-localhost']}));})[_0x42568e(0x1b1)](_0x388df0[_0x42568e(0xb9)],![],_0x904c36=>{const _0x55be55=_0x42568e;return _0x904c36[_0x55be55(0x16c)]('name',{'type':_0x3169f4['fxXUc'],'description':_0x3169f4[_0x55be55(0xdd)],'demandOption':!![]});},async _0x164689=>{const _0x1ac043=_0x42568e,_0x38eb42={'LkOuc':_0x1ac043(0x1e2),'yxGGn':function(_0x612f2,_0xf1728d,_0x4b0ab7){return _0x612f2(_0xf1728d,_0x4b0ab7);},'EcsLp':_0x1ac043(0x1c4),'BOyFY':_0x388df0[_0x1ac043(0xec)],'OPJqj':_0x1ac043(0x219)};await withTelemetry(_0x388df0['UTztm'],async()=>{const _0x1eae8e=_0x1ac043,_0x5d19d6=process[_0x1eae8e(0x10c)]['RANGER_TEST_USERNAME'],_0x4359e6=process[_0x1eae8e(0x10c)]['RANGER_TEST_PASSWORD'];(!_0x5d19d6||!_0x4359e6)&&(console['error'](_0x38eb42[_0x1eae8e(0x13d)]),process['exit'](0x1));const _0x54418e=_0x164689[_0x1eae8e(0xad)],_0x5222b5=await _0x38eb42[_0x1eae8e(0xf9)](serverSideLogin,_0x54418e,{'force':!![]});_0x5222b5[_0x1eae8e(0xed)]===_0x38eb42[_0x1eae8e(0xe2)]&&(console[_0x1eae8e(0x1e5)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process[_0x1eae8e(0x87)](0x1)),_0x5222b5[_0x1eae8e(0xed)]===_0x38eb42[_0x1eae8e(0xcb)]&&(console[_0x1eae8e(0x1e5)](_0x1eae8e(0x1a0)+(_0x5222b5[_0x1eae8e(0x1e5)]??_0x38eb42[_0x1eae8e(0x1ca)])),_0x5222b5[_0x1eae8e(0x1b6)]&&console['error'](_0x5222b5['test_output']),process['exit'](0x1)),console[_0x1eae8e(0x199)](_0x1eae8e(0x212)+_0x54418e+_0x1eae8e(0x14b));});})['command'](_0x388df0[_0x42568e(0x1d0)],_0x388df0[_0x42568e(0xf2)],_0x15fa8c=>{const _0x39c1fd=_0x42568e;return _0x15fa8c['positional'](_0x39c1fd(0x1f7),{'type':_0x3169f4['fxXUc'],'description':_0x3169f4['EwkHE']})[_0x39c1fd(0x81)](_0x39c1fd(0x186),{'type':_0x39c1fd(0x18f),'description':_0x39c1fd(0x9a),'default':![]})['option'](_0x3169f4['uHpqa'],{'type':_0x3169f4['dleXH'],'description':_0x3169f4['LFdOE'],'default':![]})[_0x39c1fd(0x81)](_0x3169f4['EAUlt'],{'type':_0x3169f4[_0x39c1fd(0xde)],'alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})[_0x39c1fd(0x81)](_0x39c1fd(0x6c),{'type':'boolean','description':_0x3169f4[_0x39c1fd(0xe4)],'default':![]});},async _0x1e5662=>{const _0x3105d7=_0x42568e;await withTelemetry(_0x3169f4['aWimk'],_0x38e31d=>migrateProfile({'profileName':_0x1e5662['profile-name'],'all':_0x1e5662['all'],'dryRun':_0x1e5662['dry-run'],'yes':_0x1e5662[_0x3105d7(0x1c3)],'saveCreds':_0x1e5662['save-creds']},_0x38e31d));})['command'](_0x388df0['kAipg'],_0x42568e(0x162),_0x50da4e=>{const _0x1ce013=_0x42568e,_0x25ccc4={'eZIVb':_0x3169f4[_0x1ce013(0x161)],'XhWow':_0x3169f4['XWJxW'],'XLiou':function(_0x584148,_0x1910b9,_0x5b2bd3){return _0x584148(_0x1910b9,_0x5b2bd3);},'yYamD':_0x3169f4[_0x1ce013(0x19b)],'yEMjd':_0x3169f4[_0x1ce013(0x11e)],'lnLtN':_0x1ce013(0x1f9),'hWdNu':_0x3169f4[_0x1ce013(0x139)],'GGiik':_0x3169f4['vfXvL'],'sBCge':'profile\x20config\x20reset'};return _0x50da4e[_0x1ce013(0x1f1)](PROFILE_CONFIG_HELP)[_0x1ce013(0x1b1)](_0x3169f4['CCgJS'],_0x1ce013(0x16b),_0x50c48c=>{const _0x455d22=_0x1ce013;return _0x50c48c['positional'](_0x455d22(0x1f9),{'type':_0x25ccc4['eZIVb'],'description':_0x25ccc4[_0x455d22(0x135)],'demandOption':!![]})[_0x455d22(0x16c)]('key',{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional']('value',{'type':_0x455d22(0x9d),'description':'Config\x20value','demandOption':!![]});},async _0x5553d7=>{const _0xcd5b06=_0x1ce013;await _0x25ccc4['XLiou'](withTelemetry,_0x25ccc4[_0xcd5b06(0x210)],()=>configSet(_0x5553d7['profile'],_0x5553d7['key'],_0x5553d7[_0xcd5b06(0x1db)]));})[_0x1ce013(0x1b1)](_0x3169f4['koJuL'],_0x3169f4[_0x1ce013(0x1e7)],_0x540a0b=>{const _0x1d0351=_0x1ce013;return _0x540a0b[_0x1d0351(0x16c)]('profile',{'type':'string','description':_0x25ccc4[_0x1d0351(0x135)],'demandOption':!![]})[_0x1d0351(0x16c)]('key',{'type':'string','description':_0x25ccc4['yEMjd'],'demandOption':!![]});},async _0x37be15=>{const _0x15ec64=_0x1ce013;await _0x3169f4['ydWiv'](withTelemetry,_0x3169f4['JedZJ'],()=>configGet(_0x37be15[_0x15ec64(0x1f9)],_0x37be15[_0x15ec64(0x1c7)]));})[_0x1ce013(0x1b1)]('list\x20<profile>','List\x20all\x20config\x20for\x20a\x20profile',_0x425086=>{const _0x520191=_0x1ce013;return _0x425086[_0x520191(0x16c)](_0x25ccc4['lnLtN'],{'type':_0x25ccc4['eZIVb'],'description':_0x520191(0x213),'demandOption':!![]});},async _0x2d1f2d=>{await withTelemetry(_0x25ccc4['hWdNu'],()=>configList(_0x2d1f2d['profile']));})[_0x1ce013(0x1b1)](_0x3169f4['OGBYW'],_0x1ce013(0x1e1),_0x5772c1=>{const _0x3ffa70=_0x1ce013;return _0x5772c1[_0x3ffa70(0x16c)](_0x3ffa70(0x1f9),{'type':_0x3ffa70(0x9d),'description':_0x3169f4[_0x3ffa70(0xcc)],'demandOption':!![]})[_0x3ffa70(0x16c)](_0x3169f4[_0x3ffa70(0x92)],{'type':_0x3169f4['fxXUc'],'description':_0x3169f4['RKPZX'],'demandOption':!![]});},async _0x1bb4dc=>{const _0x58046c=_0x1ce013;await withTelemetry(_0x25ccc4['GGiik'],()=>configUnset(_0x1bb4dc[_0x58046c(0x1f9)],_0x1bb4dc['key']));})['command'](_0x3169f4['GlamL'],_0x3169f4[_0x1ce013(0xf6)],_0x18b509=>{const _0x3b92f8=_0x1ce013;return _0x18b509[_0x3b92f8(0x16c)](_0x3b92f8(0x1f9),{'type':_0x3b92f8(0x9d),'description':_0x3169f4['XWJxW'],'demandOption':!![]});},async _0x34ff8d=>{const _0x502b2c=_0x1ce013;await _0x25ccc4['XLiou'](withTelemetry,_0x25ccc4[_0x502b2c(0x185)],()=>configReset(_0x34ff8d['profile']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x42568e(0xff)](0x1,_0x388df0['kNaYJ']);})['command']('status','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{await withTelemetry('status',()=>status());})['command'](_0x388df0['ZuRBe'],_0x388df0[_0x1b1119(0x1a3)],()=>{},async()=>{await withTelemetry('update',()=>update());})['command'](_0x388df0[_0x1b1119(0x105)],_0x388df0['sEMnS'],()=>{},async()=>{await withTelemetry(_0x388df0['iBVwL'],async()=>{const _0x1c1bd9=_0x4cd6,_0x4513d0=await _0x388df0['mmbVy'](getToken);if(!_0x4513d0)throw new Error(_0x388df0[_0x1c1bd9(0x155)]);console['log'](_0x4513d0);});})[_0x1b1119(0x1b1)]('go',_0x388df0['HDLYe'],_0x3f7634=>{const _0x1bf0d4=_0x1b1119;return _0x3f7634['option'](_0x388df0['eVIPq'],{'type':_0x388df0['mYyIx'],'description':'Optional\x20feature\x20ID'})[_0x1bf0d4(0x81)](_0x388df0[_0x1bf0d4(0x9b)],{'type':_0x388df0['mYyIx'],'description':_0x388df0[_0x1bf0d4(0x1ef)]})[_0x1bf0d4(0x81)]('notes',{'type':_0x388df0[_0x1bf0d4(0x120)],'description':_0x388df0['YLypE']})['option'](_0x1bf0d4(0x1d2),{'type':_0x388df0['hMmPc'],'description':_0x388df0[_0x1bf0d4(0xce)]})[_0x1bf0d4(0x81)]('start-path',{'type':'string','description':_0x388df0['qaJWT']})['option']('base-url',{'type':_0x1bf0d4(0x9d),'description':_0x1bf0d4(0xe9)})[_0x1bf0d4(0x81)](_0x1bf0d4(0xdf),{'type':'string','description':_0x388df0['qYdXl']})[_0x1bf0d4(0x81)](_0x388df0['SEwDa'],{'type':_0x388df0[_0x1bf0d4(0xb0)],'description':_0x388df0['ciKJr'],'default':![]})['option']('debug-outcome',{'type':_0x388df0['mYyIx'],'hidden':!![],'choices':[_0x388df0[_0x1bf0d4(0xbb)],_0x388df0[_0x1bf0d4(0x10f)],_0x1bf0d4(0x159),'failed',_0x1bf0d4(0x20e)]})[_0x1bf0d4(0x81)](_0x1bf0d4(0x215),{'type':_0x388df0[_0x1bf0d4(0xb0)],'hidden':!![]})[_0x1bf0d4(0x81)](_0x388df0[_0x1bf0d4(0x12c)],{'type':_0x1bf0d4(0x9d),'hidden':!![]})['option'](_0x1bf0d4(0x1ab),{'type':_0x388df0['mYyIx'],'hidden':!![]})[_0x1bf0d4(0x81)](_0x388df0[_0x1bf0d4(0x1eb)],{'type':_0x388df0['hMmPc'],'hidden':!![]});},async _0x176f34=>{await _0x388df0['pVFZK'](runGoCommand,_0x176f34);})['command'](_0x388df0[_0x1b1119(0x163)],![],_0x3b34d8=>{const _0x5e1a6e=_0x1b1119;return _0x3b34d8['command'](_0x388df0[_0x5e1a6e(0x12a)],![],_0x229888=>{const _0xa7448d=_0x5e1a6e;return _0x229888[_0xa7448d(0x16c)](_0x388df0['McabO'],{'type':_0x388df0[_0xa7448d(0x120)],'description':_0xa7448d(0x213),'demandOption':!![]});},async _0x56f1d9=>{const _0x27c593=_0x5e1a6e;_0x388df0[_0x27c593(0x1d1)](warnRenamed,'ranger\x20auth\x20encrypt','ranger\x20profile\x20encrypt-auth'),await authEncrypt(_0x56f1d9[_0x27c593(0x1f9)]);})[_0x5e1a6e(0xff)](0x1,_0x388df0['buEKJ']);},()=>{})[_0x1b1119(0x1b1)]('start\x20[token]',![],_0x22d018=>{const _0x461c23=_0x1b1119;return _0x22d018[_0x461c23(0x16c)](_0x388df0['uDyCJ'],{'type':'string','description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})[_0x461c23(0x81)]('skip-chromium',{'type':_0x461c23(0x18f),'description':_0x388df0['gtwAe'],'default':![]})[_0x461c23(0x81)](_0x388df0['UwiWH'],{'type':_0x388df0[_0x461c23(0x120)],'choices':['user'],'hidden':!![],'description':_0x461c23(0x205)})[_0x461c23(0x81)](_0x461c23(0x20b),{'type':'string','description':_0x388df0[_0x461c23(0xa0)]})[_0x461c23(0x81)](_0x461c23(0x116),{'type':_0x388df0[_0x461c23(0xb0)],'description':_0x388df0[_0x461c23(0x167)],'default':![]})[_0x461c23(0x81)](_0x461c23(0x136),{'type':_0x388df0[_0x461c23(0xb0)],'description':_0x461c23(0x1bb),'default':![]})[_0x461c23(0x81)](_0x388df0[_0x461c23(0x158)],{'type':'boolean','description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0x513e95=>{const _0x2955e6=_0x1b1119;warnRenamed('ranger\x20start',_0x388df0['scTTv']),await withTelemetry(_0x388df0[_0x2955e6(0xe6)],_0x55a0d0=>start(_0x513e95['token'],{'skipChromium':_0x513e95['skip-chromium'],'skipAuth':_0x513e95[_0x2955e6(0x136)],'withDeps':_0x513e95['with-deps'],'scope':_0x513e95['scope'],'url':_0x513e95[_0x2955e6(0x20b)],'force':_0x513e95['force']},_0x55a0d0));})['command'](_0x1b1119(0x15c),![],_0x4370da=>{const _0x227a8f=_0x1b1119;return _0x4370da[_0x227a8f(0x81)](_0x388df0['IpYou'],{'type':_0x227a8f(0x9d),'description':_0x388df0['yVTJe']})[_0x227a8f(0x81)](_0x388df0[_0x227a8f(0x179)],{'type':_0x388df0[_0x227a8f(0x120)],'description':_0x388df0['TznDB']})['option'](_0x388df0[_0x227a8f(0x1eb)],{'type':'number','description':_0x388df0[_0x227a8f(0xce)]})[_0x227a8f(0x81)](_0x227a8f(0x1f9),{'type':'string','hidden':!![]})[_0x227a8f(0x81)](_0x388df0['fkTYZ'],{'type':_0x388df0[_0x227a8f(0x120)],'hidden':!![]})['option'](_0x388df0[_0x227a8f(0x157)],{'type':_0x227a8f(0x11d),'hidden':!![]})['option']('start-path',{'type':'string','description':_0x388df0[_0x227a8f(0xbe)]})[_0x227a8f(0x81)](_0x227a8f(0x148),{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x227a8f(0x81)](_0x388df0['Atete'],{'type':_0x388df0[_0x227a8f(0x120)],'hidden':!![]})[_0x227a8f(0x81)](_0x227a8f(0x1ac),{'type':'boolean','hidden':!![],'default':![]})[_0x227a8f(0x81)](_0x388df0[_0x227a8f(0x206)],{'type':_0x227a8f(0x9d),'hidden':!![],'choices':[_0x388df0['SWIFg'],_0x227a8f(0x198),_0x388df0[_0x227a8f(0x146)],_0x388df0['epFPk'],_0x388df0[_0x227a8f(0x1f0)]]});},async _0x2a476a=>{await runGoCommand(_0x2a476a,!![]);})['command']('add\x20env\x20<env-name>',![],_0x3cf7d0=>{const _0x41ac3d=_0x1b1119;return _0x3cf7d0['positional'](_0x41ac3d(0x17d),{'type':_0x41ac3d(0x9d),'description':_0x388df0['AQHvG'],'demandOption':!![]})[_0x41ac3d(0x81)]('ci',{'type':'boolean','description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x388df0[_0x41ac3d(0x1ae)],{'type':'boolean','description':_0x388df0['OUyBW'],'default':![]});},async _0x5f0889=>{const _0x13e52a=_0x1b1119;warnRenamed('ranger\x20add\x20env','ranger\x20profile\x20add'),await withTelemetry(_0x388df0[_0x13e52a(0x152)],_0x2cc813=>addEnv(_0x5f0889[_0x13e52a(0x17d)],{'ci':_0x5f0889['ci'],'skipAuth':_0x5f0889[_0x13e52a(0x136)]},_0x2cc813));})['command'](_0x388df0['tKuJq'],![],_0x371ce9=>{const _0x547ff8=_0x1b1119;return _0x371ce9[_0x547ff8(0x16c)]('env-name',{'type':_0x388df0['mYyIx'],'description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x480bde=>{const _0x432eae=_0x1b1119;warnRenamed(_0x388df0['DzXLv'],_0x432eae(0x1aa)),await _0x388df0[_0x432eae(0x8f)](withTelemetry,_0x388df0[_0x432eae(0x1f2)],()=>useEnv(_0x480bde['env-name']));})[_0x1b1119(0x1b1)](_0x388df0[_0x1b1119(0x1c1)],![],_0x4c4522=>{const _0x482389=_0x1b1119,_0x4e3f9d={'zpMfM':_0x388df0['mYyIx'],'QcICB':_0x388df0[_0x482389(0xd7)],'WDyen':_0x388df0['npFJZ'],'JeEtS':'value','SsDQk':function(_0x2774ab,_0x2daf56,_0x3ca239){const _0x4d936b=_0x482389;return _0x388df0[_0x4d936b(0x1d1)](_0x2774ab,_0x2daf56,_0x3ca239);},'vCkWe':_0x388df0[_0x482389(0x80)],'QRNLn':_0x388df0['vGbcB'],'biUBC':'config\x20list','xWMKz':function(_0x2e8e43,_0x4c88b1,_0x302169){const _0x4dd0a0=_0x482389;return _0x388df0[_0x4dd0a0(0x8f)](_0x2e8e43,_0x4c88b1,_0x302169);},'UUSox':_0x388df0['zXxVi'],'RMFBN':_0x482389(0x13e)};return _0x4c4522['command'](_0x482389(0x1ee),![],_0x52b63d=>{const _0x58785a=_0x482389;return _0x52b63d['positional'](_0x58785a(0x10c),{'type':_0x4e3f9d[_0x58785a(0x1a8)],'description':_0x4e3f9d['QcICB'],'demandOption':!![]})[_0x58785a(0x16c)](_0x4e3f9d['WDyen'],{'type':_0x4e3f9d[_0x58785a(0x1a8)],'description':_0x58785a(0x1ad),'demandOption':!![]})['positional'](_0x4e3f9d['JeEtS'],{'type':'string','description':_0x58785a(0x74),'demandOption':!![]});},async _0x83bc26=>{const _0x4a7e3e=_0x482389;_0x388df0[_0x4a7e3e(0x1bd)](warnRenamed,_0x4a7e3e(0x86),'ranger\x20profile\x20config\x20set'),await _0x388df0[_0x4a7e3e(0xfe)](withTelemetry,'config\x20set',()=>configSet(_0x83bc26['env'],_0x83bc26['key'],_0x83bc26[_0x4a7e3e(0x1db)]));})['command'](_0x388df0['OzQwt'],![],_0x2f974c=>{const _0x3ea9af=_0x482389;return _0x2f974c[_0x3ea9af(0x16c)](_0x3ea9af(0x10c),{'type':'string','description':_0x388df0['ITJKP'],'demandOption':!![]})[_0x3ea9af(0x16c)]('key',{'type':'string','description':'Config\x20key','demandOption':!![]});},async _0x153daa=>{warnRenamed(_0x388df0['grfud'],'ranger\x20profile\x20config\x20get'),await withTelemetry(_0x388df0['QQkTL'],()=>configGet(_0x153daa['env'],_0x153daa['key']));})['command'](_0x388df0['IsmfA'],![],_0x126c5a=>{const _0x31bd65=_0x482389;return _0x126c5a['positional'](_0x388df0['IpYou'],{'type':_0x388df0['mYyIx'],'description':_0x31bd65(0x12e),'demandOption':!![]});},async _0x345a28=>{const _0x59689b=_0x482389;_0x4e3f9d[_0x59689b(0x1dc)](warnRenamed,_0x4e3f9d['vCkWe'],_0x4e3f9d[_0x59689b(0x201)]),await _0x4e3f9d['SsDQk'](withTelemetry,_0x4e3f9d['biUBC'],()=>configList(_0x345a28['env']));})['command'](_0x482389(0xda),![],_0x32bf73=>{const _0x474e61=_0x482389;return _0x32bf73[_0x474e61(0x16c)](_0x388df0[_0x474e61(0x12c)],{'type':_0x474e61(0x9d),'description':_0x388df0['ITJKP'],'demandOption':!![]})[_0x474e61(0x16c)](_0x388df0[_0x474e61(0x97)],{'type':_0x388df0[_0x474e61(0x120)],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x3aadcf=>{const _0x2a6b61=_0x482389;_0x4e3f9d[_0x2a6b61(0x82)](warnRenamed,_0x4e3f9d[_0x2a6b61(0x164)],'ranger\x20profile\x20config\x20unset'),await _0x4e3f9d[_0x2a6b61(0x1dc)](withTelemetry,_0x4e3f9d[_0x2a6b61(0x218)],()=>configUnset(_0x3aadcf[_0x2a6b61(0x10c)],_0x3aadcf['key']));})['demandCommand'](0x1,_0x482389(0x1b8));})['command'](_0x388df0[_0x1b1119(0x12c)],![],_0x704863=>{return _0x704863['command']('ls',![],()=>{},async()=>{const _0x14586a=_0x4cd6;warnRenamed(_0x388df0['MtonB'],_0x388df0['PyOHe']),await withTelemetry(_0x14586a(0x134),()=>envList());})['command']('update\x20<env-name>',![],_0x35701e=>{const _0x911936=_0x4cd6;return _0x35701e['positional'](_0x388df0['klHMn'],{'type':_0x911936(0x9d),'description':_0x388df0['HjvqV'],'demandOption':!![]});},async _0x4cf958=>{const _0x1e6d8f=_0x4cd6;warnRenamed(_0x388df0['AncYZ'],_0x388df0[_0x1e6d8f(0xfd)]),await _0x388df0[_0x1e6d8f(0x20c)](withTelemetry,'env\x20update',_0x3cb280=>updateEnv(_0x4cf958['env-name'],_0x3cb280));})['demandCommand'](0x1,'You\x20must\x20specify\x20an\x20env\x20subcommand');})['command']('feature',![],_0x3f40c2=>{const _0xc6ea19=_0x1b1119,_0x5021fe={'xTDWR':_0x388df0['mYyIx'],'MYQeE':_0xc6ea19(0x1fe),'qyyLA':_0x388df0['unrCj'],'oAsEO':_0xc6ea19(0x1cb),'RdVOb':_0x388df0[_0xc6ea19(0x157)],'sFsOw':function(_0x120b1b,_0x21bef7,_0x50ee81){const _0x12c474=_0xc6ea19;return _0x388df0[_0x12c474(0x1d1)](_0x120b1b,_0x21bef7,_0x50ee81);},'zuPzT':_0xc6ea19(0x160),'ZNzKe':_0x388df0[_0xc6ea19(0x83)],'rBPdk':_0x388df0['hpLpd'],'tzVIb':_0x388df0['GVYFB'],'sCZlw':_0x388df0['WHlmE'],'YsiLF':_0x388df0['hMmPc'],'XTFtC':_0x388df0[_0xc6ea19(0x13b)],'sUPzj':'offset','sXlDt':'Number\x20of\x20feature\x20reviews\x20to\x20skip','eWCyc':_0xc6ea19(0x1df),'ItgsB':function(_0x1dcf4e,_0x5a4530,_0x58fa7c){return _0x388df0['oOlQt'](_0x1dcf4e,_0x5a4530,_0x58fa7c);},'IPbvZ':_0x388df0['SzMDQ'],'TrMKE':_0xc6ea19(0x1ed),'RLyCU':'ranger\x20feature\x20resume','TMIdC':'ranger\x20resume','ztYgK':'feature\x20resume','znPkP':_0xc6ea19(0x6d),'vKfft':_0x388df0['TGKvj'],'EVfLG':'feature\x20add-checklist-item'};return _0x3f40c2[_0xc6ea19(0x1b1)](_0x388df0[_0xc6ea19(0x195)],![],_0x80ec38=>{const _0x4091c4=_0xc6ea19;return _0x80ec38['positional'](_0x4091c4(0xad),{'type':_0x5021fe['xTDWR'],'description':_0x5021fe[_0x4091c4(0x176)],'demandOption':!![]})['option']('description',{'type':_0x5021fe['xTDWR'],'alias':'d','description':_0x5021fe[_0x4091c4(0x104)]})[_0x4091c4(0x81)](_0x4091c4(0x1fc),{'type':'array','alias':'c','description':_0x5021fe[_0x4091c4(0x165)]})[_0x4091c4(0x81)](_0x5021fe['RdVOb'],{'type':'array','hidden':!![]});},async _0x42e7e5=>{const _0x44d618=_0xc6ea19;_0x5021fe['sFsOw'](warnRenamed,'ranger\x20feature\x20create',_0x44d618(0xc6)),warnFlagRenamed('ranger\x20create',_0x5021fe[_0x44d618(0x100)],'--scenario');const _0x5a668d=_0x42e7e5[_0x44d618(0x1d2)]||_0x42e7e5['checklist'];await _0x5021fe[_0x44d618(0xf5)](withTelemetry,_0x5021fe['ZNzKe'],()=>featureCreate(_0x42e7e5['name'],{'description':_0x42e7e5['description'],'scenarios':_0x5a668d}));})['command'](_0x388df0['gUlFW'],![],_0x537267=>{const _0x23e645=_0xc6ea19;return _0x537267[_0x23e645(0x81)](_0x5021fe['rBPdk'],{'type':_0x5021fe['tzVIb'],'description':_0x23e645(0xe1)})[_0x23e645(0x81)](_0x5021fe['sCZlw'],{'type':_0x5021fe['YsiLF'],'alias':'l','description':_0x5021fe['XTFtC'],'default':0xa})[_0x23e645(0x81)](_0x5021fe['sUPzj'],{'type':_0x23e645(0x11d),'alias':'o','description':_0x5021fe[_0x23e645(0x7e)],'default':0x0})['option'](_0x5021fe['eWCyc'],{'type':'boolean','alias':'d','description':_0x23e645(0x20a),'default':![]});},async _0x1612eb=>{const _0x1128d0=_0xc6ea19;_0x5021fe[_0x1128d0(0xd1)](warnRenamed,_0x1128d0(0x9f),_0x5021fe['IPbvZ']),await _0x5021fe[_0x1128d0(0xf5)](withTelemetry,_0x5021fe[_0x1128d0(0x101)],()=>featureList({'currentBranch':_0x1612eb['current-branch'],'limit':_0x1612eb[_0x1128d0(0xa6)],'offset':_0x1612eb[_0x1128d0(0x122)],'includeDeleted':_0x1612eb['include-deleted']}));})[_0xc6ea19(0x1b1)](_0x388df0[_0xc6ea19(0xf3)],![],_0x1246d8=>{const _0x5b88dd=_0xc6ea19;return _0x1246d8['positional']('id',{'type':_0x5b88dd(0x9d),'description':'Feature\x20review\x20ID'});},async _0x7579ec=>{const _0x3ac80f=_0xc6ea19;warnRenamed(_0x388df0['CieFW'],_0x388df0['rZKkl']),await _0x388df0[_0x3ac80f(0x1d1)](withTelemetry,'feature\x20show',()=>featureShow(_0x7579ec['id']));})['command']('resume\x20[id]',![],_0x52b66b=>{const _0x292de6=_0xc6ea19;return _0x52b66b[_0x292de6(0x16c)]('id',{'type':_0x292de6(0x9d),'description':_0x292de6(0x108)});},async _0x166e85=>{const _0x3cf3a5=_0xc6ea19;_0x5021fe[_0x3cf3a5(0xd1)](warnRenamed,_0x5021fe[_0x3cf3a5(0x123)],_0x5021fe[_0x3cf3a5(0x197)]),await withTelemetry(_0x5021fe[_0x3cf3a5(0x137)],()=>featureResume(_0x166e85['id']));})['command'](_0x388df0[_0xc6ea19(0x18d)],![],_0x510043=>{const _0x409f0b=_0xc6ea19;return _0x510043[_0x409f0b(0x16c)](_0x388df0[_0x409f0b(0x12d)],{'type':_0x388df0[_0x409f0b(0x120)],'description':_0x388df0[_0x409f0b(0x208)],'demandOption':!![]})[_0x409f0b(0x81)]('id',{'type':'string','description':_0x409f0b(0x6a)});},async _0x3a34bb=>{const _0x474132=_0xc6ea19;warnRenamed(_0x5021fe[_0x474132(0x133)],_0x5021fe[_0x474132(0xbc)]),await withTelemetry(_0x5021fe[_0x474132(0xef)],()=>featureAddScenario(_0x3a34bb['description'],_0x3a34bb['id']));})['command'](_0xc6ea19(0x91),![],_0x27bf4c=>{const _0x17d2a1=_0xc6ea19;return _0x27bf4c[_0x17d2a1(0x16c)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x50b0fd=>{const _0x4d7c07=_0xc6ea19;warnRenamed(_0x388df0['VXkZJ'],_0x388df0['AJnIv']),await withTelemetry(_0x4d7c07(0x1ce),()=>featureGetReview(_0x50b0fd['id']));})[_0xc6ea19(0x1b1)](_0xc6ea19(0xe8),![],_0x5049fe=>{const _0x3281ce=_0xc6ea19;return _0x5049fe[_0x3281ce(0x16c)]('id',{'type':_0x388df0[_0x3281ce(0x120)],'description':'Feature\x20review\x20ID'});},async _0x44a6f9=>{const _0x1c7487=_0xc6ea19;_0x388df0['uFlCj'](warnRenamed,_0x388df0[_0x1c7487(0xb4)],_0x1c7487(0xc0)),await _0x388df0[_0x1c7487(0x1d1)](withTelemetry,_0x388df0[_0x1c7487(0x153)],()=>featureDelete(_0x44a6f9['id']));})[_0xc6ea19(0x1b1)]('restore\x20<id>',![],_0x3c9dc0=>{const _0x18bb43=_0xc6ea19;return _0x3c9dc0[_0x18bb43(0x16c)]('id',{'type':_0x5021fe[_0x18bb43(0x72)],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x424350=>{const _0x59ec15=_0xc6ea19;warnRenamed(_0x59ec15(0xd3),_0x388df0[_0x59ec15(0x1e8)]),await _0x388df0['yuePB'](withTelemetry,_0x388df0['THfNK'],()=>featureRestore(_0x424350['id']));})['demandCommand'](0x1,_0x388df0[_0xc6ea19(0x1a1)]);})[_0x1b1119(0x1b1)](_0x388df0['tqUJT'],![],_0x4d3286=>{const _0x462673=_0x1b1119,_0x507198={'zLTxi':function(_0xb2f965,_0x4073bf,_0x3ffef5){return _0xb2f965(_0x4073bf,_0x3ffef5);},'driHg':function(_0x36a331,_0x59fb92,_0x2f0ed9){return _0x36a331(_0x59fb92,_0x2f0ed9);},'yOLVF':_0x388df0['ecftT']};return _0x4d3286[_0x462673(0x1b1)](_0x462673(0x1d3),'Enable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x24a185=>{const _0x309ae0=_0x462673;return _0x24a185[_0x309ae0(0x81)](_0x388df0['nrEnv'],{'type':_0x309ae0(0x9d),'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x403bf4=>{const _0x25b652=_0x462673;await _0x507198['zLTxi'](withTelemetry,_0x25b652(0x200),()=>hook('enable',_0x403bf4['session-id']));})['command'](_0x388df0['OsiMC'],_0x388df0[_0x462673(0x77)],_0x47edbe=>{const _0x21ca8f=_0x462673;return _0x47edbe[_0x21ca8f(0x81)](_0x21ca8f(0x1fb),{'type':_0x21ca8f(0x9d),'description':_0x21ca8f(0xcd)});},async _0x113a5e=>{const _0x909366=_0x462673;await _0x507198[_0x909366(0x151)](withTelemetry,_0x507198[_0x909366(0x188)],()=>hook('disable',_0x113a5e['session-id']));})[_0x462673(0x81)](_0x388df0['RhwuZ'],{'type':'string','description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})['option']('session-id',{'type':_0x388df0['mYyIx'],'description':_0x388df0['tfWnb']});},async _0x44fc48=>{_0x44fc48['name']&&await hook(_0x44fc48['name'],_0x44fc48[_0x388df0['nrEnv']]);})[_0x1b1119(0xff)](0x1,_0x1b1119(0x118))['strictCommands']()[_0x1b1119(0x191)](async(_0xff177b,_0x1e76a1,_0x2d5c8b)=>{const _0x232c9c=_0x1b1119,_0x24ba88=_0x388df0['pVFZK'](sanitizeArgs,process['argv'][_0x232c9c(0x10b)](0x2)),_0x4657f1=getErrorType(_0xff177b,_0x1e76a1);if(_0xff177b&&_0xff177b[_0x232c9c(0x1c8)](_0x388df0['VfgAO'])){const _0xf9cb6d=process[_0x232c9c(0x8a)][0x2];console[_0x232c9c(0x1e5)](_0x232c9c(0x70)+_0xf9cb6d),console[_0x232c9c(0x1e5)]('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0xff177b)console['error']('\x0a'+_0xff177b+'\x0a');else _0x1e76a1&&console['error'](_0x232c9c(0x12f)+_0x1e76a1[_0x232c9c(0x109)]+'\x0a');}await logDesirePath({'rawCommand':_0x24ba88,'errorMessage':_0xff177b||_0x1e76a1?.['message'],'errorType':_0x4657f1});const _0x5a0102=getCurrentCollector();_0x5a0102&&await _0x5a0102['trackCommandError'](_0x1e76a1||new Error(_0xff177b||_0x232c9c(0x143))),process[_0x232c9c(0x87)](0x1);})[_0x1b1119(0xdc)](_0x388df0['ayiRW']+'\x20\x20https://docs.ranger.net\x0a'+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')[_0x1b1119(0xe3)]()[_0x1b1119(0xa4)](_0x1b1119(0xe3),'h');}process['env']['NODE_ENV']!==_0x109c06(0xaa)&&(shouldShowLegacyWarning(process[_0x109c06(0x8a)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|