@ranger-testing/ranger-cli 2.5.4-alpha.f6504c0-8 → 2.5.4-alpha.feb9faf-20

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.
Files changed (82) hide show
  1. package/README.md +36 -14
  2. package/build/cli.js +1 -1
  3. package/build/commands/addEnv.js +1 -1
  4. package/build/commands/authEncrypt.js +1 -1
  5. package/build/commands/clean.js +1 -1
  6. package/build/commands/config.js +1 -1
  7. package/build/commands/env.js +1 -1
  8. package/build/commands/feature.js +1 -1
  9. package/build/commands/hook.js +1 -1
  10. package/build/commands/hooks/autoPrompt.js +1 -1
  11. package/build/commands/hooks/disable.js +1 -1
  12. package/build/commands/hooks/enable.js +1 -1
  13. package/build/commands/hooks/exitPlanMode.js +1 -1
  14. package/build/commands/hooks/index.js +1 -1
  15. package/build/commands/hooks/output.js +1 -1
  16. package/build/commands/hooks/planReminder.js +1 -1
  17. package/build/commands/hooks/planStart.js +1 -1
  18. package/build/commands/hooks/postEdit.js +1 -1
  19. package/build/commands/hooks/preCompact.js +1 -1
  20. package/build/commands/hooks/sessionEnd.js +1 -1
  21. package/build/commands/hooks/sessionStart.js +1 -1
  22. package/build/commands/hooks/stopHook.js +1 -1
  23. package/build/commands/index.js +1 -1
  24. package/build/commands/login.js +1 -1
  25. package/build/commands/mcpBootstrap.js +1 -1
  26. package/build/commands/migrateProfile.js +1 -1
  27. package/build/commands/setup/claude.js +1 -1
  28. package/build/commands/setup/opencode.js +1 -1
  29. package/build/commands/setupCi.js +1 -1
  30. package/build/commands/skillup.js +1 -1
  31. package/build/commands/start.js +1 -1
  32. package/build/commands/status.js +1 -1
  33. package/build/commands/update.js +1 -1
  34. package/build/commands/updateEnv.js +1 -1
  35. package/build/commands/useEnv.js +1 -1
  36. package/build/commands/utils/activeProfile.js +1 -1
  37. package/build/commands/utils/agentEnv.js +1 -1
  38. package/build/commands/utils/browserSessionsApi.js +1 -1
  39. package/build/commands/utils/claudeConfig.js +1 -1
  40. package/build/commands/utils/claudeOverrideSettings.js +1 -1
  41. package/build/commands/utils/claudePlugin.js +1 -1
  42. package/build/commands/utils/cloudProfile.js +1 -1
  43. package/build/commands/utils/cloudProfileSession.js +1 -1
  44. package/build/commands/utils/crypto.js +1 -1
  45. package/build/commands/utils/desirePathLog.js +1 -1
  46. package/build/commands/utils/deviceAuth.js +1 -1
  47. package/build/commands/utils/environment.js +1 -1
  48. package/build/commands/utils/featureApi.js +1 -1
  49. package/build/commands/utils/fixWebmDuration.js +1 -1
  50. package/build/commands/utils/gitTracked.js +1 -1
  51. package/build/commands/utils/keychain.js +1 -1
  52. package/build/commands/utils/legacyWarning.js +1 -0
  53. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  54. package/build/commands/utils/matchAuthEnvironment.js +1 -1
  55. package/build/commands/utils/mcpImageBase64.js +1 -1
  56. package/build/commands/utils/model.js +1 -1
  57. package/build/commands/utils/opencodeConfig.js +1 -1
  58. package/build/commands/utils/playwrightCli.js +1 -1
  59. package/build/commands/utils/profileMessages.js +1 -1
  60. package/build/commands/utils/profileSetupBanner.js +1 -1
  61. package/build/commands/utils/projectsConfig.js +1 -1
  62. package/build/commands/utils/rangerConfig.js +1 -1
  63. package/build/commands/utils/rangerRoot.js +1 -1
  64. package/build/commands/utils/resolveProfileContext.js +1 -1
  65. package/build/commands/utils/resolveProfileUrl.js +1 -1
  66. package/build/commands/utils/retry.js +1 -1
  67. package/build/commands/utils/sessionCache.js +1 -1
  68. package/build/commands/utils/settings.js +1 -1
  69. package/build/commands/utils/skillContent.js +1 -1
  70. package/build/commands/utils/skills.js +1 -1
  71. package/build/commands/utils/stitchWebmFiles.js +1 -1
  72. package/build/commands/utils/telemetry.js +1 -1
  73. package/build/commands/utils/tokenRefresh.js +1 -1
  74. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  75. package/build/commands/utils/userApi.js +1 -1
  76. package/build/commands/utils/version.js +1 -1
  77. package/build/commands/verifyFeature.js +1 -1
  78. package/build/commands/verifyFeatureCli.js +1 -1
  79. package/build/skills/ranger/SKILL.md +24 -8
  80. package/build/skills/ranger/create.md +16 -3
  81. package/build/skills/ranger/verify.md +35 -10
  82. 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 login session
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 browser profile (opens browser to capture auth). Use `--safe-mode` if the browser crashes. |
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
- | `ranger profile update <name>` | Re-capture auth for a profile |
70
- | `ranger profile encrypt-auth <name>` | Encrypt auth.json for safe git storage (CI) |
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
- | Command | Description |
105
- | ------------------------------------------------- | ------------------------------ |
106
- | `ranger profile config set <profile> <key> <value>` | Set a config value |
107
- | `ranger profile config get <profile> <key>` | Read a config value |
108
- | `ranger profile config list <profile>` | Show all config for a profile |
109
- | `ranger profile config unset <profile> <key>` | Remove a config value |
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`, `header.<name>`. Environment variables (e.g., `${AUTH_TOKEN}`) are resolved at runtime.
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 update <profile-name>` to re-capture.
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 _0x11d5df=_0x33c2;(function(_0x144b13,_0x3b9f10){const _0x28afd2=_0x33c2,_0xd52cd9=_0x144b13();while(!![]){try{const _0x2f5087=parseInt(_0x28afd2(0x21e))/0x1*(-parseInt(_0x28afd2(0x27d))/0x2)+parseInt(_0x28afd2(0x289))/0x3+-parseInt(_0x28afd2(0x2fc))/0x4*(-parseInt(_0x28afd2(0x332))/0x5)+parseInt(_0x28afd2(0x1ab))/0x6*(parseInt(_0x28afd2(0x274))/0x7)+parseInt(_0x28afd2(0x257))/0x8*(-parseInt(_0x28afd2(0x29a))/0x9)+-parseInt(_0x28afd2(0x27c))/0xa+-parseInt(_0x28afd2(0x1cc))/0xb*(parseInt(_0x28afd2(0x1a5))/0xc);if(_0x2f5087===_0x3b9f10)break;else _0xd52cd9['push'](_0xd52cd9['shift']());}catch(_0x59a984){_0xd52cd9['push'](_0xd52cd9['shift']());}}}(_0x3394,0x403c0));import _0x28c275 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x1983fd=_0x33c2,_0x672fe1={'bNvjE':function(_0x582562,_0x1ed732){return _0x582562(_0x1ed732);},'QRdNA':function(_0x2b7380,_0x37de95){return _0x2b7380!==_0x37de95;},'NHAnv':function(_0x488caa,_0x57dd6c,_0x51d956){return _0x488caa(_0x57dd6c,_0x51d956);},'QRNyn':function(_0x4edca3,_0x56e995){return _0x4edca3(_0x56e995);},'iKbeQ':'.env'};let _0x1a2c79=process['cwd']();const _0x467305=_0x672fe1[_0x1983fd(0x2ba)](parse,_0x1a2c79)[_0x1983fd(0x18d)];while(_0x672fe1['QRdNA'](_0x1a2c79,_0x467305)){if(existsSync(_0x672fe1[_0x1983fd(0x216)](join,_0x1a2c79,_0x1983fd(0x310)))||_0x672fe1['QRNyn'](existsSync,join(_0x1a2c79,_0x672fe1['iKbeQ'])))return _0x1a2c79;_0x1a2c79=_0x672fe1['bNvjE'](dirname,_0x1a2c79);}return process[_0x1983fd(0x336)]();}_0x28c275[_0x11d5df(0x23c)]({'path':join(findProjectRoot(),_0x11d5df(0x259))});import _0x3800ff 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';function _0x3394(){const _0xe698=['mYnNs','skip-auth','undKx','48WnDmwr','Feature\x20review\x20description','sxeGP','YoVYP','opencode','user','verified','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','oMOnI','New\x20scenario\x20description','ranger\x20profile\x20encrypt-auth','NZiDh','zDYQb','ijlut','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','value','mcp','limit','wzCvD','Reason:\x20','task','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','ntmna','mMpJo','iSzNv','ranger\x20feature\x20restore','disable','MAihb','array','KJHsE','vcVKO','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','argv','6471586hOccqd','--scenario','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','all','yDyzl','✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27','GrEaO','ULZdm','Scenario\x20description','option','edit-scenario','Include\x20soft-deleted\x20feature\x20reviews','aWRFQ','gPEzZ','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','vVAFl','key','dfPYR','You\x20must\x20specify\x20an\x20auth\x20subcommand','Set\x20up\x20a\x20local\x20browser\x20profile','Update\x20authentication\x20for\x20an\x20existing\x20profile','LdIfO','feature\x20create','tYoRX','get-feedback\x20[id]','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','XktVt','dry-run','ranger\x20go','dpLtx','ObOGO','--env','env-name','profile\x20login','headed','tVoQE','WrfWl','item','with-deps','env','epilogue','ySGJj','name','profile','ranger\x20feature\x20get-feedback','\x0aIssues:','npRHp','kmglw','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','WDYAt','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','cnjKy','dRlaX','ranger\x20profile\x20config\x20unset','Remove\x20a\x20config\x20value','CFKxC','EIxEc','KtmAq','update','gPngA','setup:skills','cvfmC','xRqJw','DGNGj','iaEln','XVHLr','stqgx','\x20BLOCKED','project','DSjIo','deps','kShes','NHAnv','ranger','evaluation','dtjdP','kSgbZ','kakCI','ranger\x20show','MrHXu','8999JARyCd','setup:deps','rUbWf','env\x20list','yes','ApWpx','NsIjj','debug-address-comments','You\x20must\x20specify\x20an\x20env\x20subcommand','repeat','cSqDL','Skip\x20browser\x20authentication','encrypt\x20<profile>','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','test','offset','scriptName','pwVQF','base-url','zelsf','SAJwn','DgRKw','NHiYF','ZHZHF','create\x20<name>','demandCommand','PNUSR','nXfHq','You\x20must\x20specify\x20a\x20command','SSxmt','config','Get\x20a\x20config\x20value','deqzm','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','use\x20<env-name>','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','meMBt','yIstr','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','YwsnR','uwPTg','FTGtZ','error','number','ranger\x20feature\x20create','strictCommands','evaluationReason','maKBf','Name\x20of\x20the\x20profile','bvAif','jIoGU','IKYWQ','ranger\x20feature\x20delete','log','positional','Alias\x20for\x20--mcp-bootstrap','Feature\x20review\x20name','60128fiOQBd','URkzB','.env','partial','profile\x20config\x20unset','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','usage','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','skip-chromium','TjKAH','RCZFf','Ranger\x20API\x20token','uQrkZ','profile\x20config\x20get','rrwCS','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','SGFJW','lNzAe','clean','restore','ocRBM','eBXSl','hOWKu','issues','FvbCV','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','add-checklist-item\x20<description>','NEJYW','config\x20get','440860KxfLhT','\x27.\x20Session\x20written\x20to\x20cloud\x20profile.','exclude-scenario','delete\x20[id]','Cpkxr','PdSKv','dsPQC','kQvOS','469210AbfseE','58zYOUPA','arwST','hqWkp','Initialize\x20Ranger\x20in\x20your\x20project','command','wkMLC','ZZnAg','xWfDB','Number\x20of\x20feature\x20reviews\x20to\x20skip','trackCommandError','ranger\x20feature\x20list','NvfRn','1188336oRJcol','mLZGz','StzWL','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','LCEMd','delete','scenario','ranger\x20verify-feature','ranger\x20create','maCBU','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','Authenticate\x20via\x20MCP\x20proxy','Config\x20value','rfZnl','--notes','Manage\x20profile\x20configuration','288ywYIiY','FPFWn','TZSfP','nKqeV','notes','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','force','YrBWY','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','ranger\x20env\x20ls','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Ranger\x20API\x20token\x20(rngr_...)','token','yUZhR','auth','blocked','current-branch','skills','WRyXR','Cloud\x20profile\x20name','RANGER_TEST_PASSWORD','safe-mode','ZkNkF','TuFKP','list','QliZl','zqwZm','list\x20<env>','ranger\x20feature\x20add-checklist-item','mcp-bootstrap','failed','exitCode','bNvjE','ekazd','LsLiX','Skip\x20interactive\x20confirmation\x20prompts.','PkxqS','boolean','fNNeY','tokenOrSubcommand','jMGWD','some','QChFV','profile\x20add','--checklist','slice','PZoZy','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','API\x20token','itesA','ZgZuX','Optional\x20feature\x20ID','ypCVc','migrate\x20[profile-name]','Authenticate\x20with\x20Ranger','DXDeB','POvZM','IjXMo','Add\x20profile\x20configuration','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','save-creds','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','ranger\x20add\x20env','HwOYk','You\x20must\x20specify\x20a\x20profile\x20subcommand','KClQO','alias','CvlhU','wbisF','length','iEuKy','✓\x20Authenticated\x20to\x20','hook','HfsLL','yxPYT','fbXQK','CksqT','CLYhO','eHqwr','session-id','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','allow-insecure-localhost','wXXBy','CMyjz','FfTtB','kaQrc','NODE_ENV','set\x20<profile>\x20<key>\x20<value>','XznOH','GMjlZ','Scenario\x20number\x20to\x20edit\x20(1-based)','yJPNb','MKpfR','profile-name','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','RZpUB','Skip\x20authentication','184CSYkMS','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','add-scenario','ywjML','vupJj','eoflJ','TEsMO','TzITn','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)','HXPXR','uxEIp','qTIGq','ENeUq','ZMUFm','HNDsN','HZoIf','zRzjD','Install\x20Ranger\x20skills','ranger\x20profile\x20use','Environment\x20name','.ranger','xLvAa','Dotwr','Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.','profile\x20encrypt-auth','pBdcU','TohHj','lhAgJ','checklist','login\x20<name>','Name\x20of\x20the\x20environment','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','get-review\x20[id]','aayvf','ZhsVy','YJcWG','encrypt-auth\x20<profile>','DPFDw','You\x20must\x20specify\x20a\x20config\x20subcommand','restore\x20<id>','eoBEO','unset\x20<profile>\x20<key>','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','zAgTN','cOejk','ranger\x20auth\x20encrypt','GkUsk','Skip\x20Chromium\x20browser\x20installation','include-deleted','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','feature\x20restore','VWXLr','agsRU','feature','54335MwHvHF','CStBh','hook:enable','--profile','cwd','Profile\x20name','string','SRLqG','ranger\x20env\x20update','parse','profile\x20update','ctNaL','url','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','fail','show\x20[id]','Install\x20Chromium\x20browser\x20binary','List\x20all\x20profiles','igBig','kRjxI','--task','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','YuYEK','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','oFXQG','LwFfi','profile\x20migrate','incomplete','exit','root','Unknown\x20command','feature\x20list','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.','ranger\x20config\x20unset','--item','JzYYA','oamMD','Install\x20scope\x20for\x20skills','enable','description','not_configured','Login\x20failed:\x20','kvPVh','eOJCC','CLmPB','janeb','GDoIk','LZSeg','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','resume\x20[id]','tarCh','Evaluation:\x20','scope','12NIlBcO','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)'];_0x3394=function(){return _0xe698;};return _0x3394();}import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';function _0x33c2(_0x123cc7,_0x492641){_0x123cc7=_0x123cc7-0x17e;const _0x3394d7=_0x3394();let _0x33c256=_0x3394d7[_0x123cc7];return _0x33c256;}import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x5dd2bd=>{const _0x251e3a=_0x11d5df,_0x379ece={'FtNfQ':function(_0x1039bf){return _0x1039bf();}},_0x58bba9=_0x379ece['FtNfQ'](getCurrentCollector);_0x58bba9&&await _0x58bba9['trackCommandError'](_0x5dd2bd),process[_0x251e3a(0x2b9)]=0x1;});const rawArgs=process[_0x11d5df(0x1cb)]['slice'](0x2),TOP_LEVEL_HELP=_0x11d5df(0x190),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\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(_0x275ab5,_0x2e6764){console['error']('\x0a'+_0x275ab5+'\x20is\x20now\x20'+_0x2e6764+'\x0a');}function argUsed(_0x1b2071){const _0x8e47ab=_0x11d5df;return rawArgs[_0x8e47ab(0x2c3)](_0x2e1ae1=>_0x2e1ae1===_0x1b2071||_0x2e1ae1['startsWith'](_0x1b2071+'='));}function warnFlagRenamed(_0x475597,_0x2baac9,_0x54f22e){argUsed(_0x2baac9)&&warnRenamed(_0x475597+'\x20'+_0x2baac9,_0x475597+'\x20'+_0x54f22e);}async function runGoCommand(_0x1f2a26,_0x256442=![]){const _0xe2303a=_0x11d5df,_0x47aef7={'ZkNkF':function(_0x172f37,_0x1bd0d7){return _0x172f37+_0x1bd0d7;},'eBXSl':'ranger\x20go','zRrdC':function(_0x3299d8,_0x26261b,_0x1ca1ab,_0x9bd688){return _0x3299d8(_0x26261b,_0x1ca1ab,_0x9bd688);},'FvbCV':_0xe2303a(0x184),'mYnNs':_0xe2303a(0x298),'ySGJj':'--scenario','nXfHq':function(_0x150083){return _0x150083();},'Nrmad':function(_0x65b4e9){return _0x65b4e9();},'dtjdP':function(_0x3ebd36,_0x299559){return _0x3ebd36(_0x299559);},'cxPcz':'start-path','AJkzm':'debug-outcome','TWSJI':'verified','ZHZHF':function(_0x4be85c,_0x5dbb3d){return _0x4be85c===_0x5dbb3d;},'SAJwn':'incomplete','ywjML':'partial','poDiW':'\x20PARTIAL','zmSnl':_0xe2303a(0x2a9),'eoflJ':_0xe2303a(0x211)};_0x256442&&warnRenamed(_0xe2303a(0x290),_0x47aef7[_0xe2303a(0x26c)]);warnFlagRenamed('ranger\x20go',_0xe2303a(0x1ec),_0xe2303a(0x335)),_0x47aef7['zRrdC'](warnFlagRenamed,_0xe2303a(0x1e9),_0x47aef7[_0xe2303a(0x26f)],_0x47aef7[_0xe2303a(0x1a8)]),warnFlagRenamed('ranger\x20go',_0xe2303a(0x192),_0x47aef7[_0xe2303a(0x1f6)]);const _0x23647d=await _0x47aef7[_0xe2303a(0x239)](loadRangerConfig),_0x1e95ba=_0x47aef7['Nrmad'](isByokEnabled),_0x4e0207=_0x1f2a26['model'],_0x4a9ccb=_0x23647d['model'],_0x5c518c=await _0x47aef7[_0xe2303a(0x219)](verifyFeature,{'featureId':_0x1f2a26['feature'],'profile':_0x1f2a26['profile']??_0x1f2a26['env']??process['env']['RANGER_PROFILE'],'notes':_0x1f2a26[_0xe2303a(0x29e)]??_0x1f2a26['task'],'scenario':_0x1f2a26[_0xe2303a(0x28f)]??_0x1f2a26[_0xe2303a(0x1f2)],'startPath':_0x1f2a26[_0x47aef7['cxPcz']],'baseUrl':_0x1f2a26['base-url'],'debugOutcome':_0x1f2a26[_0x47aef7['AJkzm']],'debugAddressComments':_0x1f2a26[_0xe2303a(0x225)],'headed':_0x1f2a26['headed'],'byokEnabled':_0x1e95ba,'flagVerifyModel':_0x4e0207,'configVerifyModel':_0x4a9ccb});console[_0xe2303a(0x253)]('\x0a'+'='[_0xe2303a(0x227)](0x3c)),console['log'](_0x5c518c[_0xe2303a(0x218)]===_0x47aef7['TWSJI']?'\x20VERIFIED':_0x47aef7[_0xe2303a(0x235)](_0x5c518c[_0xe2303a(0x218)],_0x47aef7[_0xe2303a(0x232)])?'\x20INCOMPLETE':_0x47aef7['ZHZHF'](_0x5c518c[_0xe2303a(0x218)],_0x47aef7[_0xe2303a(0x2ff)])?_0x47aef7['poDiW']:_0x47aef7[_0xe2303a(0x235)](_0x5c518c[_0xe2303a(0x218)],_0x47aef7['zmSnl'])?_0x47aef7[_0xe2303a(0x301)]:'\x20FAILED'),console[_0xe2303a(0x253)]('='[_0xe2303a(0x227)](0x3c)),console[_0xe2303a(0x253)]('Summary:\x20'+_0x5c518c['summary']),console['log'](_0xe2303a(0x1a3)+_0x5c518c['evaluation']),console[_0xe2303a(0x253)](_0xe2303a(0x1be)+_0x5c518c[_0xe2303a(0x24c)]),_0x5c518c['issues']?.[_0xe2303a(0x2df)]&&(console['log'](_0xe2303a(0x1fa)),_0x5c518c[_0xe2303a(0x26e)]['forEach']((_0x1e9a36,_0x44bda3)=>{const _0x364d5a=_0xe2303a;console[_0x364d5a(0x253)]('\x0a'+_0x47aef7[_0x364d5a(0x2b0)](_0x44bda3,0x1)+'.\x20['+_0x1e9a36['severity']+']\x20'+_0x1e9a36[_0x364d5a(0x197)]);})),process[_0xe2303a(0x18c)](_0x5c518c['evaluation']==='verified'?0x0:0x1);}export function buildParser(_0x3616b1){const _0x24a7ff=_0x11d5df,_0x176b9c={'lhAgJ':_0x24a7ff(0x1f7),'vcVKO':_0x24a7ff(0x338),'dsPQC':_0x24a7ff(0x256),'cvfmC':'description','gpPdd':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','xLvAa':_0x24a7ff(0x318),'DPFDw':'array','GDoIk':'Example:\x20ranger\x20create\x20my-feature','XVHLr':_0x24a7ff(0x291),'deqzm':_0x24a7ff(0x2c6),'CvlhU':'current-branch','wXXBy':_0x24a7ff(0x2bf),'omtem':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','fwIIz':_0x24a7ff(0x1bc),'kHzaA':_0x24a7ff(0x22d),'tYoRX':_0x24a7ff(0x32c),'TZjdb':_0x24a7ff(0x1d7),'eOJCC':_0x24a7ff(0x2b2),'rfZnl':function(_0x4889f5,_0x28fb46,_0x24fcf8){return _0x4889f5(_0x28fb46,_0x24fcf8);},'bjRLd':'resume','HykSr':_0x24a7ff(0x1d4),'WrfWl':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','Awjmr':_0x24a7ff(0x2fe),'ApWpx':_0x24a7ff(0x1b4),'nKqeV':'scenario','KtmAq':function(_0x214dc6,_0x3523dd,_0x30ec7f){return _0x214dc6(_0x3523dd,_0x30ec7f);},'yjwgW':_0x24a7ff(0x1d6),'GMjlZ':'Feature\x20review\x20ID','BcoyD':'json','gKofM':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','iApML':_0x24a7ff(0x276),'FfTtB':'get-review','xLTgj':_0x24a7ff(0x28e),'FPFWn':'token','LZSeg':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','stqgx':'skip-auth','bvAif':'scope','dpLtx':'user','cOejk':'url','fbXQK':_0x24a7ff(0x1bb),'xRqJw':'mcp-bootstrap','VWXLr':_0x24a7ff(0x1f3),'qhssL':'opencode','DXDeB':function(_0x114fd8,_0xae33cf){return _0x114fd8(_0xae33cf);},'HSCzD':_0x24a7ff(0x217),'QChFV':function(_0x4b26b1,_0x3cb410,_0x170c0d){return _0x4b26b1(_0x3cb410,_0x170c0d);},'yxPYT':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','CziTo':_0x24a7ff(0x214),'rUbWf':_0x24a7ff(0x2d0),'hzdoC':'profiles','DpHFW':'skip-chromium','NZiDh':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','eYoZo':_0x24a7ff(0x2a0),'NvfRn':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','uxEIp':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','NsIjj':_0x24a7ff(0x2ec),'ykZTd':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','dRlaX':'start','ocRBM':'profile','MKpfR':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','dcEks':'setup-ci','kaQrc':'login','HIkow':'clean','HCRXR':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','kQvOS':'cdp-endpoint','lNzwN':_0x24a7ff(0x2af),'YtPhB':'yes','npRHp':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','bkzjg':'profile\x20use','iEuKy':function(_0x1d0fb3,_0x4f473f,_0x3c40e9){return _0x1d0fb3(_0x4f473f,_0x3c40e9);},'lAyFK':_0x24a7ff(0x314),'RZpUB':_0x24a7ff(0x18a),'jvGBJ':'profile\x20ls','HNDsN':_0x24a7ff(0x2f8),'SzAti':_0x24a7ff(0x241),'jIoGU':_0x24a7ff(0x2b8),'ygbQL':_0x24a7ff(0x1e8),'pHNkA':'profile\x20config\x20list','nRCXV':'profile\x20config\x20reset','agsRU':_0x24a7ff(0x2f2),'iaEln':'get\x20<profile>\x20<key>','aWRFQ':'list\x20<profile>','vrKvL':'List\x20all\x20config\x20for\x20a\x20profile','LmUGg':_0x24a7ff(0x304),'lmHAj':'add\x20<profile-name>','xnZsS':_0x24a7ff(0x2d4),'JElGs':'Switch\x20to\x20using\x20a\x20specific\x20profile','NHiYF':'update\x20<profile-name>','pAFHx':_0x24a7ff(0x1e0),'pBdcU':_0x24a7ff(0x2cf),'ljtrh':_0x24a7ff(0x1b2),'tXRvQ':'config','ZhsVy':'status','oMOnI':_0x24a7ff(0x208),'ULZdm':'print-access-token','kSgbZ':_0x24a7ff(0x2cd),'ibTAh':'notes','sxeGP':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','LsLiX':'Scenario\x20index\x20(1-based)','RHgXF':'start-path','dvEcR':_0x24a7ff(0x2fd),'Xeygf':_0x24a7ff(0x230),'aayvf':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','hpKKm':_0x24a7ff(0x313),'bfsiE':_0x24a7ff(0x1ef),'ypCVc':_0x24a7ff(0x25a),'TohHj':_0x24a7ff(0x2a9),'DGNGj':'debug-address-comments','cSqDL':_0x24a7ff(0x1bf),'yIstr':function(_0x1a8e05,_0x2ea39f){return _0x1a8e05(_0x2ea39f);},'VpMbS':'Profile\x20name','VLyCm':function(_0xb947a2,_0x314c1e){return _0xb947a2(_0x314c1e);},'hOWKu':_0x24a7ff(0x22a),'gwISH':_0x24a7ff(0x212),'kmglw':'Skip\x20authentication','YJcWG':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','URELE':function(_0x124b94,_0x236800,_0x5e4707){return _0x124b94(_0x236800,_0x5e4707);},'FPayO':'ranger\x20setup','zAgTN':function(_0x4fc0a4,_0x5b56bd,_0xfcc3d8){return _0x4fc0a4(_0x5b56bd,_0xfcc3d8);},'QdNbE':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','qIRxI':'item','kakCI':'number','hwtig':'model','rKhln':'debug-outcome','RLldA':_0x24a7ff(0x1b1),'XjGbS':function(_0x101fd5,_0xc05e9f,_0x356947){return _0x101fd5(_0xc05e9f,_0x356947);},'NNuUe':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','YaNPq':_0x24a7ff(0x2d8),'XktVt':_0x24a7ff(0x1ed),'ywKNE':_0x24a7ff(0x30e),'GSsjN':function(_0x3fd7d6,_0x1ee8e8,_0x14fe5a){return _0x3fd7d6(_0x1ee8e8,_0x14fe5a);},'IKYWQ':'use','GkUsk':'ranger\x20profile\x20config\x20set','wzCvD':'config\x20set','tVoQE':'env','AYQQx':function(_0x5b4517,_0x37d7ff,_0x420ca5){return _0x5b4517(_0x37d7ff,_0x420ca5);},'NWtVi':_0x24a7ff(0x296),'nYbUH':'Config\x20key','Uzfmy':'config\x20list','bzINq':_0x24a7ff(0x1dc),'sSPku':'set\x20<env>\x20<key>\x20<value>','maCBU':_0x24a7ff(0x2b5),'aitqW':_0x24a7ff(0x322),'mIwNZ':'ranger\x20profile\x20ls','lZANr':function(_0x1b9654,_0x2247c5,_0x5950f5){return _0x1b9654(_0x2247c5,_0x5950f5);},'PdSKv':'Name\x20of\x20the\x20environment\x20to\x20update','Nohod':_0x24a7ff(0x226),'zgQVa':_0x24a7ff(0x1cd),'dvmCk':function(_0x1ab136,_0x4389db,_0x3dd39f){return _0x1ab136(_0x4389db,_0x3dd39f);},'janeb':_0x24a7ff(0x21c),'XXXbm':'feature\x20show','ofQcD':function(_0x144965,_0x5c4131,_0x5b4e69){return _0x144965(_0x5c4131,_0x5b4e69);},'YoVYP':_0x24a7ff(0x1f9),'CFKxC':function(_0x57f84f,_0x1d2c0e,_0x7c0ed5){return _0x57f84f(_0x1d2c0e,_0x7c0ed5);},'YwsnR':'ranger\x20delete','AkLpm':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','eoBEO':'ranger\x20feature\x20resume','mVmtE':function(_0x4b1658,_0x318c30,_0x33a941){return _0x4b1658(_0x318c30,_0x33a941);},'AgSlN':'ranger\x20restore','TZSfP':_0x24a7ff(0x236),'PZoZy':_0x24a7ff(0x17f),'CLmPB':_0x24a7ff(0x271),'dKJxH':_0x24a7ff(0x1e4),'UgiZe':'delete\x20[id]','oamMD':_0x24a7ff(0x1da),'FPWOI':_0x24a7ff(0x334),'zDYQb':_0x24a7ff(0x1c0),'QKcLi':'hook:disable','xKrKz':_0x24a7ff(0x244),'MrHXu':'disable','KJHsE':_0x24a7ff(0x2e9),'ijlut':_0x24a7ff(0x18e),'OeWXK':_0x24a7ff(0x2c9),'jMGWD':function(_0x5b8dd0,_0x21e3c4){return _0x5b8dd0(_0x21e3c4);},'gWTjV':function(_0x1560b9,_0x4a2c45){return _0x1560b9(_0x4a2c45);},'DgRKw':function(_0x4071d1){return _0x4071d1();},'xWfDB':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','Cpkxr':'add-scenario\x20<description>','JHsCs':_0x24a7ff(0x2d7),'maKBf':_0x24a7ff(0x1b9),'DgrVn':'report\x20[id]','UGlOC':_0x24a7ff(0x31c),'OkqEK':_0x24a7ff(0x1ce),'Vqsgu':_0x24a7ff(0x25c),'TkKqL':_0x24a7ff(0x323),'TEsMO':'Restore\x20a\x20soft-deleted\x20feature\x20review','Orfac':'setup\x20[tokenOrSubcommand]','vupJj':_0x24a7ff(0x280),'YrBWY':'setup-ci\x20<token>','LwFfi':_0x24a7ff(0x23f),'bZvQH':_0x24a7ff(0x31b),'WRyXR':'skillup','tarCh':'Manage\x20profiles','iwmgv':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','jeNIN':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','lNzAe':_0x24a7ff(0x2eb),'WDYAt':'verify-feature','gPngA':_0x24a7ff(0x331),'YuYEK':_0x24a7ff(0x2e2),'YqDdX':_0x24a7ff(0x23a),'ZgZuX':function(_0x4e9372,_0xcf894){return _0x4e9372+_0xcf894;},'LCEMd':function(_0x2db23f,_0x2f6b23){return _0x2db23f+_0x2f6b23;},'gEpMC':'help'};return _0x176b9c['gWTjV'](_0x3800ff,_0x3616b1??process[_0x24a7ff(0x1cb)][_0x24a7ff(0x2c7)](0x2))[_0x24a7ff(0x22e)]('ranger')[_0x24a7ff(0x25d)](TOP_LEVEL_HELP)['version'](_0x176b9c[_0x24a7ff(0x233)](getCurrentVersion))[_0x24a7ff(0x281)]('create\x20<name>',_0x176b9c[_0x24a7ff(0x284)],_0x88496a=>{const _0xf629d6=_0x24a7ff;return _0x88496a[_0xf629d6(0x254)](_0x176b9c[_0xf629d6(0x317)],{'type':_0x176b9c['vcVKO'],'description':_0x176b9c[_0xf629d6(0x27a)],'demandOption':!![]})['option'](_0x176b9c[_0xf629d6(0x20b)],{'type':'string','alias':'d','description':_0xf629d6(0x1ac)})[_0xf629d6(0x1d5)]('scenario',{'type':'array','alias':'c','description':_0x176b9c['gpPdd']})[_0xf629d6(0x1d5)](_0x176b9c[_0xf629d6(0x311)],{'type':_0x176b9c[_0xf629d6(0x321)],'hidden':!![]});},async _0x489ef9=>{const _0xc5d25b=_0x24a7ff;if(!_0x489ef9['name']){console['error'](_0xc5d25b(0x25e)+_0x176b9c[_0xc5d25b(0x19e)]),process[_0xc5d25b(0x18c)](0x1);return;}warnFlagRenamed(_0x176b9c[_0xc5d25b(0x20f)],_0x176b9c[_0xc5d25b(0x23e)],'--scenario');const _0x2e7519=_0x489ef9['scenario']||_0x489ef9['checklist'];await withTelemetry('create',()=>featureCreate(_0x489ef9[_0xc5d25b(0x1f7)],{'description':_0x489ef9[_0xc5d25b(0x197)],'scenarios':_0x2e7519}));})['command'](_0x24a7ff(0x2b2),'List\x20all\x20feature\x20reviews',_0x161c81=>{const _0x225eb0=_0x24a7ff;return _0x161c81['option'](_0x176b9c[_0x225eb0(0x2dd)],{'type':_0x176b9c[_0x225eb0(0x2ed)],'description':_0x176b9c['omtem']})['option'](_0x176b9c['fwIIz'],{'type':'number','alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x225eb0(0x1d5)](_0x176b9c['kHzaA'],{'type':_0x225eb0(0x249),'alias':'o','description':_0x225eb0(0x285),'default':0x0})[_0x225eb0(0x1d5)](_0x176b9c[_0x225eb0(0x1e3)],{'type':_0x176b9c['wXXBy'],'alias':'d','description':_0x176b9c['TZjdb'],'default':![]});},async _0x2045ad=>{const _0x35d73c=_0x24a7ff;await withTelemetry(_0x176b9c['eOJCC'],()=>featureList({'currentBranch':_0x2045ad[_0x35d73c(0x2aa)],'limit':_0x2045ad[_0x35d73c(0x1bc)],'offset':_0x2045ad[_0x35d73c(0x22d)],'includeDeleted':_0x2045ad['include-deleted']}));})['command'](_0x176b9c[_0x24a7ff(0x2c8)],_0x24a7ff(0x187),_0x156516=>{return _0x156516['positional']('id',{'type':_0x176b9c['vcVKO'],'description':'Feature\x20review\x20ID'});},async _0xd7e0c3=>{const _0x1ee45b=_0x24a7ff;await _0x176b9c[_0x1ee45b(0x297)](withTelemetry,'show',()=>featureShow(_0xd7e0c3['id']));})[_0x24a7ff(0x281)](_0x24a7ff(0x1a1),_0x24a7ff(0x2ea),_0x211fdf=>{const _0x2975b3=_0x24a7ff;return _0x211fdf[_0x2975b3(0x254)]('id',{'type':_0x176b9c['vcVKO'],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x14b368=>{await withTelemetry(_0x176b9c['bjRLd'],()=>featureResume(_0x14b368['id']));})['command'](_0x176b9c[_0x24a7ff(0x278)],_0x176b9c['JHsCs'],_0x46c468=>{const _0x4018c1=_0x24a7ff;return _0x46c468[_0x4018c1(0x254)](_0x176b9c[_0x4018c1(0x20b)],{'type':_0x176b9c['vcVKO'],'description':_0x176b9c['HykSr'],'demandOption':!![]})['option']('id',{'type':_0x4018c1(0x338),'description':_0x176b9c['WrfWl']});},async _0x314794=>{const _0x47a46a=_0x24a7ff;await withTelemetry(_0x176b9c['Awjmr'],()=>featureAddScenario(_0x314794[_0x47a46a(0x197)],_0x314794['id']));})[_0x24a7ff(0x281)]('edit-scenario\x20<description>',_0x176b9c[_0x24a7ff(0x24d)],_0x65e7e1=>{const _0x4e6975=_0x24a7ff;return _0x65e7e1['positional'](_0x4e6975(0x197),{'type':_0x176b9c[_0x4e6975(0x1c9)],'description':_0x176b9c[_0x4e6975(0x223)],'demandOption':!![]})['option'](_0x176b9c[_0x4e6975(0x29d)],{'type':'number','description':_0x4e6975(0x2f5),'demandOption':!![]})[_0x4e6975(0x1d5)]('id',{'type':_0x176b9c['vcVKO'],'description':_0x176b9c['WrfWl']});},async _0x14d89b=>{const _0x5349a3=_0x24a7ff;await _0x176b9c[_0x5349a3(0x207)](withTelemetry,_0x176b9c['yjwgW'],()=>featureEditScenario(_0x14d89b['description'],{'id':_0x14d89b['id'],'scenario':_0x14d89b[_0x5349a3(0x28f)]}));})[_0x24a7ff(0x281)](_0x176b9c['DgrVn'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x55bf62=>{const _0xbe569b=_0x24a7ff;return _0x55bf62[_0xbe569b(0x254)]('id',{'type':_0x176b9c[_0xbe569b(0x1c9)],'description':_0x176b9c['GMjlZ']})[_0xbe569b(0x1d5)](_0xbe569b(0x276),{'type':_0x176b9c[_0xbe569b(0x321)],'description':_0xbe569b(0x22b)})['option'](_0x176b9c['BcoyD'],{'type':_0x176b9c[_0xbe569b(0x2ed)],'description':_0x176b9c['gKofM'],'default':![]});},async _0x4acc21=>{const _0x1bf252=_0x4acc21[_0x176b9c['iApML']],_0x25b9eb=_0x1bf252?_0x1bf252['map'](_0x179a62=>Number(_0x179a62)):undefined;await withTelemetry('report',()=>featureReportPrDescription(_0x4acc21['id'],{'excludeScenarios':_0x25b9eb,'json':_0x4acc21['json']}));})['command'](_0x176b9c['UGlOC'],_0x176b9c['OkqEK'],_0x28039f=>{const _0x5797a1=_0x24a7ff;return _0x28039f['positional']('id',{'type':'string','description':_0x5797a1(0x326)});},async _0x943b8a=>{const _0x400e35=_0x24a7ff;await withTelemetry(_0x176b9c[_0x400e35(0x2ef)],()=>featureGetReview(_0x943b8a['id']));})[_0x24a7ff(0x281)](_0x24a7ff(0x277),_0x176b9c['Vqsgu'],_0x796f81=>{const _0x5e5880=_0x24a7ff;return _0x796f81[_0x5e5880(0x254)]('id',{'type':_0x176b9c['vcVKO'],'description':_0x176b9c['GMjlZ']});},async _0x373797=>{const _0x282179=_0x24a7ff;await _0x176b9c[_0x282179(0x207)](withTelemetry,_0x176b9c['xLTgj'],()=>featureDelete(_0x373797['id']));})[_0x24a7ff(0x281)](_0x176b9c['TkKqL'],_0x176b9c[_0x24a7ff(0x302)],_0x40cbca=>{const _0x336e29=_0x24a7ff;return _0x40cbca[_0x336e29(0x254)]('id',{'type':_0x176b9c[_0x336e29(0x1c9)],'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0xac1c92=>{const _0x99510d=_0x24a7ff;await withTelemetry(_0x99510d(0x26a),()=>featureRestore(_0xac1c92['id']));})['command'](_0x176b9c['Orfac'],_0x176b9c[_0x24a7ff(0x300)],_0x5e46ac=>{const _0x19a154=_0x24a7ff,_0x87ed96={'ntmna':_0x176b9c['FPFWn'],'mMpJo':_0x19a154(0x2bf),'SGFJW':_0x176b9c[_0x19a154(0x19f)],'POvZM':_0x176b9c['stqgx'],'ytcZx':_0x19a154(0x2fb),'eHqwr':_0x176b9c['bvAif'],'ekazd':_0x176b9c['vcVKO'],'gPEzZ':_0x176b9c[_0x19a154(0x1ea)],'FTGtZ':_0x19a154(0x212),'pwVQF':'Install\x20scope\x20for\x20plugin\x20and\x20skills','undKx':_0x176b9c[_0x19a154(0x328)],'MAihb':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','kShes':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','ctNaL':_0x176b9c[_0x19a154(0x2e5)],'QliZl':_0x176b9c[_0x19a154(0x20c)],'SRLqG':'setup:all','BvnBs':_0x176b9c[_0x19a154(0x32f)],'dfPYR':function(_0x387329,_0x31d317,_0xef6ad4){return _0x387329(_0x31d317,_0xef6ad4);},'tUVTZ':_0x19a154(0x21f),'Yyjvw':_0x19a154(0x2a5),'qTIGq':function(_0x178e8f){return _0x178e8f();},'oFXQG':function(_0x4535e1,_0x5f344d,_0x533ae6){return _0x4535e1(_0x5f344d,_0x533ae6);},'vRoqN':_0x176b9c['qhssL'],'TuFKP':function(_0x32440c,_0x2a8f6b){return _0x176b9c['DXDeB'](_0x32440c,_0x2a8f6b);},'ZZnAg':_0x176b9c['HSCzD'],'cnjKy':function(_0x264937,_0x21252e,_0x49898b){const _0x3f94bd=_0x19a154;return _0x176b9c[_0x3f94bd(0x2c4)](_0x264937,_0x21252e,_0x49898b);},'bcIZP':'Where\x20to\x20store\x20the\x20profile','UXuyM':_0x19a154(0x2a0),'WwosJ':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url'};return _0x5e46ac[_0x19a154(0x25d)]('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'](_0x19a154(0x2c1),{'type':_0x176b9c['vcVKO'],'description':_0x176b9c[_0x19a154(0x2e4)]})['command'](_0x19a154(0x1cf),'Run\x20full\x20interactive\x20setup',_0x50efab=>{const _0x3e9ee3=_0x19a154;return _0x50efab[_0x3e9ee3(0x1d5)](_0x87ed96['ntmna'],{'type':_0x3e9ee3(0x338),'description':_0x3e9ee3(0x262)})[_0x3e9ee3(0x1d5)](_0x3e9ee3(0x25f),{'type':_0x87ed96['mMpJo'],'description':_0x87ed96[_0x3e9ee3(0x267)],'default':![]})['option'](_0x87ed96[_0x3e9ee3(0x2d2)],{'type':'boolean','description':_0x87ed96['ytcZx'],'default':![]})[_0x3e9ee3(0x1d5)](_0x3e9ee3(0x1f3),{'type':_0x87ed96['mMpJo'],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})[_0x3e9ee3(0x1d5)](_0x87ed96['eHqwr'],{'type':_0x87ed96['ekazd'],'choices':[_0x87ed96[_0x3e9ee3(0x1d9)],_0x87ed96[_0x3e9ee3(0x247)]],'description':_0x87ed96[_0x3e9ee3(0x22f)]})[_0x3e9ee3(0x1d5)](_0x87ed96[_0x3e9ee3(0x1aa)],{'type':_0x87ed96['ekazd'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})['option']('force',{'type':_0x87ed96['mMpJo'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option']('opencode',{'type':'boolean','description':_0x87ed96[_0x3e9ee3(0x1c6)],'default':![]})[_0x3e9ee3(0x1d5)]('allow-insecure-localhost',{'type':_0x3e9ee3(0x2bf),'description':_0x87ed96[_0x3e9ee3(0x215)],'default':![]})['option']('mcp-bootstrap',{'type':_0x3e9ee3(0x2bf),'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})['option'](_0x87ed96[_0x3e9ee3(0x33d)],{'type':'boolean','description':_0x3e9ee3(0x255),'default':![]});},async _0x2690ed=>{const _0x59eaa1=_0x19a154;(_0x2690ed[_0x87ed96[_0x59eaa1(0x2b3)]]||_0x2690ed[_0x59eaa1(0x1bb)])&&await withTelemetry(_0x87ed96[_0x59eaa1(0x2b3)],()=>mcpBootstrap()),await withTelemetry(_0x87ed96[_0x59eaa1(0x339)],_0x46744d=>start(_0x2690ed[_0x59eaa1(0x2a6)],{'skipChromium':_0x2690ed['skip-chromium'],'skipAuth':_0x2690ed[_0x59eaa1(0x1a9)],'withDeps':_0x2690ed['with-deps'],'scope':_0x2690ed['scope'],'url':_0x2690ed['url'],'force':_0x2690ed[_0x59eaa1(0x2a0)],'opencode':_0x2690ed[_0x59eaa1(0x1af)],'allowInsecureLocalhost':_0x2690ed[_0x59eaa1(0x2ec)]},_0x46744d));})[_0x19a154(0x281)](_0x176b9c['CziTo'],_0x19a154(0x180),_0x28234c=>{const _0x2e2959=_0x19a154;return _0x28234c[_0x2e2959(0x1d5)](_0x87ed96['BvnBs'],{'type':_0x2e2959(0x2bf),'description':_0x2e2959(0x1fe),'default':![]});},async _0x49fa2a=>{const _0x44f19b=_0x19a154;await _0x87ed96[_0x44f19b(0x1dd)](withTelemetry,_0x87ed96['tUVTZ'],()=>ensureChromium(_0x49fa2a['with-deps']));})['command']('login',_0x176b9c[_0x19a154(0x220)],_0x4c55a4=>{const _0x41df20=_0x19a154;return _0x4c55a4[_0x41df20(0x1d5)](_0x87ed96[_0x41df20(0x1c1)],{'type':_0x87ed96['ekazd'],'description':_0x87ed96['Yyjvw']})['option'](_0x41df20(0x1bb),{'type':_0x41df20(0x2bf),'description':_0x41df20(0x295),'default':![]});},async _0x3853e8=>{const _0x53150e=_0x19a154,_0x5a9af5={'tDUdQ':function(_0x58dcb0){return _0x58dcb0();},'yUZhR':function(_0x5c9f42){const _0x56ca8b=_0x33c2;return _0x87ed96[_0x56ca8b(0x307)](_0x5c9f42);},'hdrcN':function(_0x5c04f5,_0x16e7df){return _0x5c04f5(_0x16e7df);}};await _0x87ed96[_0x53150e(0x188)](withTelemetry,'setup:login',async()=>{const _0x273c6b=_0x53150e;if(_0x3853e8['mcp']){await _0x5a9af5['tDUdQ'](mcpBootstrap);const _0x584929=await _0x5a9af5[_0x273c6b(0x2a7)](refreshCliToken);if(!_0x584929)throw new Error('Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.');const _0x157923=await _0x5a9af5['hdrcN'](getCurrentUser,_0x584929);if(!_0x157923['success'])throw new Error(_0x273c6b(0x1a0)+_0x157923[_0x273c6b(0x248)]);console[_0x273c6b(0x253)](_0x273c6b(0x2e1)+_0x157923['user']['organizationName']);return;}await authenticate(_0x3853e8[_0x273c6b(0x2a6)]);});})['command'](_0x19a154(0x2ab),_0x19a154(0x1ca),_0x4af8de=>{const _0xb45696=_0x19a154;return _0x4af8de['option']('scope',{'type':_0xb45696(0x338),'choices':[_0x87ed96[_0xb45696(0x1d9)],_0xb45696(0x212)],'description':_0x87ed96[_0xb45696(0x22f)]})['option'](_0x87ed96['vRoqN'],{'type':_0x87ed96[_0xb45696(0x1c2)],'description':_0xb45696(0x200),'default':![]});},async _0x5a5235=>{const _0x3dbed9=_0x19a154,_0x398410={'mLZGz':function(_0x5cddfd,_0x172438){const _0x8ba37a=_0x33c2;return _0x87ed96[_0x8ba37a(0x2b1)](_0x5cddfd,_0x172438);},'EIxEc':function(_0x5403c0,_0x56c289,_0x549863){return _0x5403c0(_0x56c289,_0x549863);},'XwzoL':_0x87ed96[_0x3dbed9(0x283)],'ObOGO':_0x3dbed9(0x1af),'Vopob':function(_0x1a56f6,_0x416dcf){return _0x1a56f6(_0x416dcf);},'pXCSU':function(_0x3710b3,_0x1bf2ce){return _0x87ed96['TuFKP'](_0x3710b3,_0x1bf2ce);}};await _0x87ed96[_0x3dbed9(0x201)](withTelemetry,_0x3dbed9(0x20a),async()=>{const _0x18d3b5=_0x3dbed9,_0x31204b=_0x5a5235['scope'];if(_0x5a5235['opencode']){const _0x424ff0=await _0x398410[_0x18d3b5(0x28a)](ensureOpencodePluginConfig,_0x31204b);_0x424ff0&&await _0x398410[_0x18d3b5(0x206)](installSkill,_0x398410['XwzoL'],{'level':_0x424ff0['scope'],'cliVersion':getCurrentVersion(),'platform':_0x398410[_0x18d3b5(0x1eb)]});}else await _0x398410['Vopob'](ensureClaudePlugin,_0x31204b),await _0x398410['pXCSU'](ensureClaudeSkills,_0x31204b);});})['command'](_0x176b9c['hzdoC'],_0x19a154(0x1df),_0x51bd88=>{const _0x32d941=_0x19a154;return _0x51bd88[_0x32d941(0x1d5)](_0x87ed96[_0x32d941(0x2e8)],{'type':_0x32d941(0x338),'choices':['user','project'],'description':_0x87ed96['bcIZP']})[_0x32d941(0x1d5)](_0x87ed96[_0x32d941(0x1aa)],{'type':_0x87ed96[_0x32d941(0x2bb)],'description':'Base\x20URL\x20of\x20the\x20running\x20app'})['option'](_0x32d941(0x1a9),{'type':'boolean','description':_0x32d941(0x229),'default':![]})['option'](_0x87ed96['UXuyM'],{'type':_0x32d941(0x2bf),'description':_0x87ed96['WwosJ'],'default':![]})[_0x32d941(0x1d5)](_0x32d941(0x2ec),{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x19e1b4=>{const _0x5ac23f=_0x19a154;await _0x176b9c['KtmAq'](withTelemetry,'setup:profiles',_0x3c0a57=>ensureLocalEnv({'url':_0x19e1b4[_0x5ac23f(0x33e)],'force':_0x19e1b4[_0x5ac23f(0x2a0)],'allowInsecureLocalhost':_0x19e1b4[_0x5ac23f(0x2ec)],'scope':_0x19e1b4[_0x5ac23f(0x1a4)]===_0x5ac23f(0x1b0)?'user':undefined},_0x3c0a57));})['option'](_0x176b9c['DpHFW'],{'type':_0x176b9c[_0x19a154(0x2ed)],'description':_0x176b9c[_0x19a154(0x19f)],'default':![]})['option'](_0x176b9c[_0x19a154(0x24f)],{'type':'string','choices':['user'],'hidden':!![],'description':_0x19a154(0x29f)})['option'](_0x19a154(0x33e),{'type':_0x19a154(0x338),'description':_0x176b9c['NZiDh']})[_0x19a154(0x1d5)](_0x176b9c['eYoZo'],{'type':_0x176b9c[_0x19a154(0x2ed)],'description':_0x176b9c[_0x19a154(0x288)],'default':![]})['option']('opencode',{'type':_0x19a154(0x2bf),'description':_0x176b9c[_0x19a154(0x306)],'default':![]})[_0x19a154(0x1d5)](_0x176b9c[_0x19a154(0x224)],{'type':_0x176b9c['wXXBy'],'description':_0x19a154(0x241),'default':![]})['option'](_0x176b9c[_0x19a154(0x20c)],{'type':'boolean','description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})[_0x19a154(0x1d5)](_0x176b9c[_0x19a154(0x210)],{'type':'boolean','description':_0x19a154(0x1a7),'default':![]})[_0x19a154(0x1d5)](_0x176b9c[_0x19a154(0x32f)],{'type':_0x176b9c[_0x19a154(0x2ed)],'description':_0x176b9c['ykZTd'],'default':![]})[_0x19a154(0x1d5)](_0x176b9c[_0x19a154(0x29b)],{'type':_0x176b9c['vcVKO'],'hidden':!![],'description':_0x19a154(0x2ca)});},async _0x1d3ee8=>{const _0xed02bf=_0x24a7ff,_0x181dae=_0x1d3ee8['tokenOrSubcommand'],_0x9dfc6b=_0x1d3ee8[_0xed02bf(0x2a6)]??_0x181dae;_0x1d3ee8[_0x176b9c['xRqJw']]&&await withTelemetry(_0xed02bf(0x2b7),()=>mcpBootstrap()),await withTelemetry(_0x176b9c[_0xed02bf(0x202)],_0x55ec07=>start(_0x9dfc6b,{'skipChromium':_0x1d3ee8[_0xed02bf(0x25f)],'skipAuth':_0x1d3ee8[_0xed02bf(0x1a9)],'withDeps':_0x1d3ee8[_0xed02bf(0x1f3)],'scope':_0x1d3ee8['scope'],'url':_0x1d3ee8['url'],'force':_0x1d3ee8['force'],'opencode':_0x1d3ee8['opencode'],'allowInsecureLocalhost':_0x1d3ee8['allow-insecure-localhost']},_0x55ec07));})[_0x24a7ff(0x281)](_0x176b9c[_0x24a7ff(0x2a1)],_0x176b9c[_0x24a7ff(0x189)],_0x59e126=>{const _0x3bc2d9=_0x24a7ff;return _0x59e126[_0x3bc2d9(0x254)](_0x176b9c['FPFWn'],{'type':_0x176b9c['vcVKO'],'description':_0x3bc2d9(0x262),'demandOption':!![]})[_0x3bc2d9(0x1d5)](_0x176b9c['ocRBM'],{'type':'string','description':_0x176b9c[_0x3bc2d9(0x2f7)]})['option'](_0x3bc2d9(0x230),{'type':_0x176b9c[_0x3bc2d9(0x1c9)],'description':_0x3bc2d9(0x2a2)})['option'](_0x176b9c['DpHFW'],{'type':_0x3bc2d9(0x2bf),'description':_0x3bc2d9(0x32b),'default':![]});},async _0x4bc237=>{const _0x3be1d5=_0x24a7ff;await _0x176b9c['rfZnl'](withTelemetry,_0x176b9c['dcEks'],_0x28402e=>setupCi(_0x4bc237['token'],{'profile':_0x4bc237[_0x3be1d5(0x1f8)],'baseUrl':_0x4bc237['base-url'],'skipChromium':_0x4bc237['skip-chromium']},_0x28402e));})[_0x24a7ff(0x281)](_0x176b9c[_0x24a7ff(0x2f0)],_0x176b9c['bZvQH'],()=>{},async()=>{await withTelemetry(_0x176b9c['kaQrc'],()=>login());})[_0x24a7ff(0x281)](_0x176b9c[_0x24a7ff(0x2ac)],_0x24a7ff(0x30d),_0x1b061e=>{const _0x45a28a=_0x24a7ff;return _0x1b061e[_0x45a28a(0x1d5)]('opencode',{'type':_0x176b9c[_0x45a28a(0x2ed)],'description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x45a28a(0x1d5)](_0x176b9c[_0x45a28a(0x24f)],{'type':'string','choices':['user',_0x45a28a(0x212)],'description':_0x45a28a(0x195)});},async _0x2764ed=>{const _0x355219=_0x24a7ff,_0x178916=Boolean(_0x2764ed[_0x355219(0x1af)]);await withTelemetry('skillup',()=>skillup({'autoInstall':_0x2764ed['scope'],'platform':_0x178916?_0x355219(0x1af):'claude'}));})[_0x24a7ff(0x281)](_0x24a7ff(0x269),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{await withTelemetry(_0x176b9c['HIkow'],()=>clean());})['command']([_0x176b9c['ocRBM'],_0x176b9c['hzdoC']],_0x176b9c[_0x24a7ff(0x1a2)],_0x4972fa=>{const _0xb67615=_0x24a7ff,_0x27705c={'PkxqS':function(_0x41d025,_0xe6c558,_0x52f496,_0x5be817){return _0x41d025(_0xe6c558,_0x52f496,_0x5be817);},'cPTcd':_0xb67615(0x2c5),'MyPMe':function(_0x532ffc,_0x4fcfe4){const _0x532b67=_0xb67615;return _0x176b9c[_0x532b67(0x2d1)](_0x532ffc,_0x4fcfe4);},'rKLuE':_0x176b9c[_0xb67615(0x27b)],'HwOYk':_0x176b9c['ocRBM'],'PNUSR':_0x176b9c['vcVKO'],'CStBh':function(_0x6c99f4,_0x2b75f0,_0x246106){return _0x6c99f4(_0x2b75f0,_0x246106);},'PQLTa':_0x176b9c['jvGBJ'],'jHFXl':_0x176b9c[_0xb67615(0x30a)],'JzYYA':_0x176b9c['NsIjj'],'zelsf':_0x176b9c['SzAti'],'neslS':_0x176b9c[_0xb67615(0x317)],'meMBt':_0xb67615(0x2ad),'kvPVh':function(_0x1750aa,_0x37df10){return _0x1750aa||_0x37df10;},'fQbvP':function(_0x50fd8f,_0x5ca214,_0x2332c8){const _0x1c5cff=_0xb67615;return _0x176b9c[_0x1c5cff(0x2c4)](_0x50fd8f,_0x5ca214,_0x2332c8);},'ecBcd':_0x176b9c[_0xb67615(0x250)],'eohZD':'unknown\x20error','BOKZi':_0xb67615(0x1ee),'rIKba':_0x176b9c['wXXBy'],'HfsLL':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','CMyjz':_0x176b9c['ygbQL'],'pWvaB':_0xb67615(0x2bd),'arwST':'save-creds','udrAw':function(_0x4a9bd1,_0x1d9b5d,_0x99001){return _0x4a9bd1(_0x1d9b5d,_0x99001);},'pzGgm':_0x176b9c['pHNkA'],'hqWkp':'key','zNRot':'Config\x20key\x20to\x20remove','URkzB':_0xb67615(0x337),'Dotwr':_0xb67615(0x1ba),'KClQO':_0xb67615(0x296),'Uynrz':_0xb67615(0x25b),'Gnsgj':_0x176b9c['nRCXV'],'xbPBJ':_0x176b9c[_0xb67615(0x330)],'GrEaO':'Set\x20a\x20config\x20value','UIiWC':_0x176b9c[_0xb67615(0x20e)],'NEJYW':_0xb67615(0x23d),'DSjIo':_0x176b9c[_0xb67615(0x1d8)],'iSzNv':_0x176b9c['vrKvL'],'NHHbI':_0xb67615(0x325),'HXPXR':_0x176b9c['LmUGg']};return _0x4972fa[_0xb67615(0x25d)](PROFILE_HELP)['command'](_0x176b9c['lmHAj'],_0x176b9c['xnZsS'],_0x62e1c1=>{const _0x39ef87=_0xb67615;return _0x62e1c1['positional']('profile-name',{'type':'string','description':_0x176b9c['HCRXR'],'demandOption':!![]})['option']('ci',{'type':_0x39ef87(0x2bf),'description':_0x39ef87(0x1a6),'default':![]})[_0x39ef87(0x1d5)]('skip-auth',{'type':_0x176b9c['wXXBy'],'description':_0x39ef87(0x266),'default':![]})['option'](_0x39ef87(0x33e),{'type':_0x39ef87(0x338),'description':_0x39ef87(0x32d)})['option']('force',{'type':_0x39ef87(0x2bf),'description':_0x39ef87(0x1e6),'default':![]})['option'](_0x176b9c[_0x39ef87(0x27b)],{'type':_0x176b9c['vcVKO'],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})[_0x39ef87(0x1d5)](_0x39ef87(0x2ec),{'type':'boolean','description':_0x39ef87(0x241),'default':![]})['option'](_0x176b9c['lNzwN'],{'type':_0x176b9c['wXXBy'],'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x39ef87(0x1d5)]('setup-header',{'type':'string','array':!![],'description':_0x39ef87(0x185)})['option'](_0x176b9c[_0x39ef87(0x24f)],{'type':_0x176b9c[_0x39ef87(0x1c9)],'choices':[_0x176b9c['dpLtx'],'project'],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})[_0x39ef87(0x1d5)](_0x176b9c['YtPhB'],{'type':_0x176b9c[_0x39ef87(0x2ed)],'alias':'y','description':_0x176b9c[_0x39ef87(0x1fb)],'default':![]});},async _0x5f7357=>{const _0x44e568=_0xb67615;await _0x27705c[_0x44e568(0x2be)](withTelemetry,_0x27705c['cPTcd'],_0x1902dd=>addEnv(_0x5f7357['profile-name'],{'ci':_0x5f7357['ci'],'skipAuth':_0x5f7357[_0x44e568(0x1a9)],'url':_0x5f7357['url'],'force':_0x5f7357['force'],'cdpEndpoint':_0x5f7357['cdp-endpoint'],'allowInsecureLocalhost':_0x5f7357['allow-insecure-localhost'],'safeMode':_0x5f7357[_0x44e568(0x2af)],'setupHeader':_0x5f7357['setup-header'],'scope':_0x5f7357[_0x44e568(0x1a4)],'yes':_0x5f7357['yes']},_0x1902dd),{'isElectron':_0x27705c['MyPMe'](Boolean,_0x5f7357[_0x27705c['rKLuE']])});})[_0xb67615(0x281)]('use\x20<profile-name>',_0x176b9c['JElGs'],_0x3bb5a0=>{const _0x215040=_0xb67615;return _0x3bb5a0['positional'](_0x215040(0x2f8),{'type':_0x176b9c['vcVKO'],'description':_0x215040(0x24e),'demandOption':!![]});},async _0x3c5f83=>{const _0x32b680=_0xb67615;await withTelemetry(_0x176b9c['bkzjg'],()=>useEnv(_0x3c5f83[_0x32b680(0x2f8)]));})['command'](_0xb67615(0x320),'Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)',_0x5ebfa2=>{const _0x42a808=_0xb67615;return _0x5ebfa2[_0x42a808(0x254)](_0x27705c[_0x42a808(0x2d9)],{'type':_0x27705c['PNUSR'],'description':'Profile\x20name','demandOption':!![]});},async _0x3372cb=>{const _0x360e53=_0xb67615;await _0x176b9c[_0x360e53(0x2e0)](withTelemetry,_0x176b9c['lAyFK'],()=>authEncrypt(_0x3372cb['profile']));})[_0xb67615(0x281)]('ls',_0xb67615(0x181),()=>{},async()=>{const _0x12b947=_0xb67615;await _0x27705c[_0x12b947(0x333)](withTelemetry,_0x27705c['PQLTa'],()=>envList());})[_0xb67615(0x281)](_0x176b9c[_0xb67615(0x234)],_0x176b9c['pAFHx'],_0x430654=>{const _0x29e7fc=_0xb67615;return _0x430654[_0x29e7fc(0x254)](_0x27705c['jHFXl'],{'type':_0x27705c[_0x29e7fc(0x238)],'description':'Name\x20of\x20the\x20profile\x20to\x20update','demandOption':!![]})['option'](_0x27705c[_0x29e7fc(0x193)],{'type':_0x29e7fc(0x2bf),'description':_0x27705c[_0x29e7fc(0x231)]});},async _0x334b4d=>{const _0x33d930=_0xb67615;await withTelemetry(_0x33d930(0x33c),_0x20bd49=>updateEnv(_0x334b4d[_0x33d930(0x2f8)],_0x20bd49,{'allowInsecureLocalhost':_0x334b4d['allow-insecure-localhost']}));})['command'](_0xb67615(0x319),![],_0x313c1d=>{const _0x2d65ab=_0xb67615;return _0x313c1d[_0x2d65ab(0x254)](_0x27705c['neslS'],{'type':_0x27705c['PNUSR'],'description':_0x27705c[_0x2d65ab(0x242)],'demandOption':!![]});},async _0x5e7271=>{await _0x27705c['CStBh'](withTelemetry,_0x27705c['BOKZi'],async()=>{const _0x266c71=_0x33c2,_0x3af79f=process['env']['RANGER_TEST_USERNAME'],_0x6689a2=process[_0x266c71(0x1f4)][_0x266c71(0x2ae)];_0x27705c[_0x266c71(0x19a)](!_0x3af79f,!_0x6689a2)&&(console['error'](_0x266c71(0x270)),process[_0x266c71(0x18c)](0x1));const _0x360ff7=_0x5e7271[_0x266c71(0x1f7)],_0x2e922b=await _0x27705c['fQbvP'](serverSideLogin,_0x360ff7,{'force':!![]});_0x2e922b['status']===_0x266c71(0x198)&&(console['error'](_0x266c71(0x294)),process['exit'](0x1)),_0x2e922b['status']===_0x27705c['ecBcd']&&(console['error'](_0x266c71(0x199)+(_0x2e922b['error']??_0x27705c['eohZD'])),_0x2e922b['test_output']&&console[_0x266c71(0x248)](_0x2e922b['test_output']),process['exit'](0x1)),console[_0x266c71(0x253)](_0x266c71(0x1d1)+_0x360ff7+_0x266c71(0x275));});})['command'](_0x176b9c[_0xb67615(0x315)],_0x176b9c['ljtrh'],_0x2c1ec7=>{const _0x5210cc=_0xb67615;return _0x2c1ec7[_0x5210cc(0x254)](_0x5210cc(0x2f8),{'type':'string','description':_0x5210cc(0x28c)})['option'](_0x5210cc(0x1cf),{'type':_0x27705c['rIKba'],'description':_0x27705c[_0x5210cc(0x2e3)],'default':![]})['option'](_0x27705c[_0x5210cc(0x2ee)],{'type':'boolean','description':_0x5210cc(0x1e5),'default':![]})['option'](_0x5210cc(0x222),{'type':_0x5210cc(0x2bf),'alias':'y','description':_0x27705c['pWvaB'],'default':![]})['option'](_0x27705c[_0x5210cc(0x27e)],{'type':_0x5210cc(0x2bf),'description':_0x5210cc(0x2d5),'default':![]});},async _0x18a0c6=>{const _0x58b6c8=_0xb67615;await withTelemetry(_0x176b9c[_0x58b6c8(0x2fa)],_0x5be1d6=>migrateProfile({'profileName':_0x18a0c6['profile-name'],'all':_0x18a0c6['all'],'dryRun':_0x18a0c6['dry-run'],'yes':_0x18a0c6['yes'],'saveCreds':_0x18a0c6[_0x58b6c8(0x2d6)]},_0x5be1d6));})['command'](_0x176b9c['tXRvQ'],_0xb67615(0x299),_0xb0edef=>{const _0x1c94f4=_0xb67615,_0xddb965={'zzpBD':_0x27705c[_0x1c94f4(0x2d9)],'kRjxI':_0x27705c[_0x1c94f4(0x238)],'TzITn':_0x27705c[_0x1c94f4(0x258)],'UqeRv':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','iDSpk':_0x27705c[_0x1c94f4(0x312)],'nYYho':_0x27705c[_0x1c94f4(0x2db)],'RCZFf':'profile\x20config\x20set','ApUaz':'Config\x20key','Friuo':_0x27705c['Uynrz'],'HZoIf':function(_0x518ddf,_0x32467f,_0x125766){return _0x518ddf(_0x32467f,_0x125766);},'wbisF':_0x27705c['Gnsgj']};return _0xb0edef['usage'](PROFILE_CONFIG_HELP)[_0x1c94f4(0x281)](_0x27705c['xbPBJ'],_0x27705c[_0x1c94f4(0x1d2)],_0xdf4ba8=>{const _0xfaf4f8=_0x1c94f4;return _0xdf4ba8['positional'](_0xddb965['zzpBD'],{'type':_0xddb965['kRjxI'],'description':_0xddb965[_0xfaf4f8(0x303)],'demandOption':!![]})['positional']('key',{'type':'string','description':_0xddb965['UqeRv'],'demandOption':!![]})['positional'](_0xddb965['iDSpk'],{'type':'string','description':_0xddb965['nYYho'],'demandOption':!![]});},async _0x547d36=>{const _0x3c7dc9=_0x1c94f4;await withTelemetry(_0xddb965[_0x3c7dc9(0x261)],()=>configSet(_0x547d36['profile'],_0x547d36['key'],_0x547d36[_0x3c7dc9(0x1ba)]));})[_0x1c94f4(0x281)](_0x27705c['UIiWC'],_0x27705c[_0x1c94f4(0x272)],_0x3dfde2=>{const _0x491052=_0x1c94f4;return _0x3dfde2[_0x491052(0x254)](_0x491052(0x1f8),{'type':_0xddb965[_0x491052(0x183)],'description':_0x491052(0x337),'demandOption':!![]})['positional'](_0x491052(0x1dc),{'type':_0xddb965['kRjxI'],'description':_0xddb965['ApUaz'],'demandOption':!![]});},async _0x4fb8f3=>{const _0x5a81f0=_0x1c94f4;await withTelemetry(_0x5a81f0(0x264),()=>configGet(_0x4fb8f3[_0x5a81f0(0x1f8)],_0x4fb8f3['key']));})[_0x1c94f4(0x281)](_0x27705c[_0x1c94f4(0x213)],_0x27705c[_0x1c94f4(0x1c3)],_0x1c2b5f=>{const _0x5d1142=_0x1c94f4;return _0x1c2b5f['positional'](_0x27705c[_0x5d1142(0x2d9)],{'type':_0x5d1142(0x338),'description':'Profile\x20name','demandOption':!![]});},async _0x5d71c9=>{await _0x27705c['udrAw'](withTelemetry,_0x27705c['pzGgm'],()=>configList(_0x5d71c9['profile']));})['command'](_0x27705c['NHHbI'],_0x1c94f4(0x204),_0x1ae25d=>{const _0xe73f78=_0x1c94f4;return _0x1ae25d[_0xe73f78(0x254)]('profile',{'type':'string','description':_0xe73f78(0x337),'demandOption':!![]})[_0xe73f78(0x254)](_0x27705c[_0xe73f78(0x27f)],{'type':_0x27705c['PNUSR'],'description':_0x27705c['zNRot'],'demandOption':!![]});},async _0x20f298=>{const _0xffedb9=_0x1c94f4;await withTelemetry(_0xddb965['Friuo'],()=>configUnset(_0x20f298[_0xffedb9(0x1f8)],_0x20f298['key']));})['command']('reset\x20<profile>',_0x27705c[_0x1c94f4(0x305)],_0x761527=>{const _0x329d2a=_0x1c94f4;return _0x761527['positional'](_0x329d2a(0x1f8),{'type':_0x27705c[_0x329d2a(0x238)],'description':'Profile\x20name','demandOption':!![]});},async _0x4b6654=>{const _0x105e07=_0x1c94f4;await _0xddb965[_0x105e07(0x30b)](withTelemetry,_0xddb965[_0x105e07(0x2de)],()=>configReset(_0x4b6654['profile']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0xb67615(0x237)](0x1,_0xb67615(0x2da));})['command'](_0x176b9c[_0x24a7ff(0x31e)],_0x176b9c['iwmgv'],()=>{},async()=>{await withTelemetry(_0x176b9c['ZhsVy'],()=>status());})[_0x24a7ff(0x281)]('update',_0x176b9c['jeNIN'],()=>{},async()=>{const _0xc43b2e=_0x24a7ff;await withTelemetry(_0x176b9c[_0xc43b2e(0x1b3)],()=>update());})[_0x24a7ff(0x281)]('print-access-token','Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x365706=_0x24a7ff,_0x1c0860={'nCFRc':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.'};await _0x176b9c[_0x365706(0x207)](withTelemetry,_0x176b9c[_0x365706(0x1d3)],async()=>{const _0x21cd1d=_0x365706,_0x5e783=await getToken();if(!_0x5e783)throw new Error(_0x1c0860['nCFRc']);console[_0x21cd1d(0x253)](_0x5e783);});})['command']('go',_0x176b9c[_0x24a7ff(0x268)],_0x5bebb4=>{const _0xeea22a=_0x24a7ff;return _0x5bebb4['option'](_0xeea22a(0x331),{'type':_0xeea22a(0x338),'description':_0x176b9c[_0xeea22a(0x21a)]})['option'](_0x176b9c[_0xeea22a(0x26b)],{'type':'string','description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})[_0xeea22a(0x1d5)](_0x176b9c['ibTAh'],{'type':_0x176b9c[_0xeea22a(0x1c9)],'description':_0x176b9c[_0xeea22a(0x1ad)]})[_0xeea22a(0x1d5)]('scenario',{'type':_0xeea22a(0x249),'description':_0x176b9c[_0xeea22a(0x2bc)]})[_0xeea22a(0x1d5)](_0x176b9c['RHgXF'],{'type':_0x176b9c[_0xeea22a(0x1c9)],'description':_0x176b9c['dvEcR']})['option'](_0x176b9c['Xeygf'],{'type':_0xeea22a(0x338),'description':_0x176b9c[_0xeea22a(0x31d)]})[_0xeea22a(0x1d5)]('model',{'type':_0x176b9c[_0xeea22a(0x1c9)],'description':_0x176b9c['hpKKm']})['option'](_0x176b9c['bfsiE'],{'type':_0x176b9c['wXXBy'],'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})['option']('debug-outcome',{'type':'string','hidden':!![],'choices':['verified',_0x176b9c[_0xeea22a(0x2ce)],_0x176b9c[_0xeea22a(0x316)],_0xeea22a(0x2b8),'incomplete']})[_0xeea22a(0x1d5)](_0x176b9c[_0xeea22a(0x20d)],{'type':'boolean','hidden':!![]})[_0xeea22a(0x1d5)]('env',{'type':_0xeea22a(0x338),'hidden':!![]})[_0xeea22a(0x1d5)](_0x176b9c[_0xeea22a(0x228)],{'type':_0x176b9c[_0xeea22a(0x1c9)],'hidden':!![]})[_0xeea22a(0x1d5)](_0xeea22a(0x1f2),{'type':'number','hidden':!![]});},async _0x9bcd02=>{const _0x1313a5=_0x24a7ff;await _0x176b9c[_0x1313a5(0x243)](runGoCommand,_0x9bcd02);})['command'](_0x24a7ff(0x2a8),![],_0x2fdf82=>{const _0x241959=_0x24a7ff;return _0x2fdf82[_0x241959(0x281)](_0x176b9c[_0x241959(0x26d)],![],_0x25f474=>{const _0x460c52=_0x241959;return _0x25f474[_0x460c52(0x254)](_0x176b9c[_0x460c52(0x26b)],{'type':_0x176b9c['vcVKO'],'description':_0x176b9c['VpMbS'],'demandOption':!![]});},async _0xc5bc2f=>{const _0x456df6=_0x241959;_0x176b9c['QChFV'](warnRenamed,_0x456df6(0x329),_0x456df6(0x1b5)),await _0x176b9c['VLyCm'](authEncrypt,_0xc5bc2f[_0x456df6(0x1f8)]);})[_0x241959(0x237)](0x1,_0x241959(0x1de));},()=>{})['command']('start\x20[token]',![],_0x27a137=>{const _0x100366=_0x24a7ff;return _0x27a137['positional'](_0x100366(0x2a6),{'type':_0x100366(0x338),'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})['option'](_0x176b9c['DpHFW'],{'type':_0x100366(0x2bf),'description':_0x100366(0x2a4),'default':![]})['option'](_0x176b9c[_0x100366(0x24f)],{'type':_0x176b9c[_0x100366(0x1c9)],'choices':[_0x176b9c['dpLtx'],_0x176b9c['gwISH']],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)'})['option']('url',{'type':_0x100366(0x338),'description':_0x176b9c[_0x100366(0x1b6)]})[_0x100366(0x1d5)]('force',{'type':_0x100366(0x2bf),'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x100366(0x1d5)](_0x176b9c['stqgx'],{'type':'boolean','description':_0x176b9c[_0x100366(0x1fc)],'default':![]})['option'](_0x176b9c['VWXLr'],{'type':_0x100366(0x2bf),'description':_0x176b9c[_0x100366(0x31f)],'default':![]});},async _0x3f8faa=>{const _0x2c9278=_0x24a7ff;_0x176b9c['URELE'](warnRenamed,'ranger\x20start',_0x176b9c['FPayO']),await _0x176b9c[_0x2c9278(0x327)](withTelemetry,'start',_0x42361c=>start(_0x3f8faa['token'],{'skipChromium':_0x3f8faa['skip-chromium'],'skipAuth':_0x3f8faa['skip-auth'],'withDeps':_0x3f8faa[_0x2c9278(0x1f3)],'scope':_0x3f8faa[_0x2c9278(0x1a4)],'url':_0x3f8faa['url'],'force':_0x3f8faa['force']},_0x42361c));})['command'](_0x176b9c[_0x24a7ff(0x1ff)],![],_0x59e6a5=>{const _0x54fbe8=_0x24a7ff;return _0x59e6a5['option'](_0x54fbe8(0x1f4),{'type':_0x54fbe8(0x338),'description':_0x176b9c['QdNbE']})[_0x54fbe8(0x1d5)]('task',{'type':'string','description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x176b9c['qIRxI'],{'type':_0x54fbe8(0x249),'description':_0x176b9c[_0x54fbe8(0x2bc)]})['option'](_0x176b9c[_0x54fbe8(0x26b)],{'type':'string','hidden':!![]})[_0x54fbe8(0x1d5)](_0x176b9c['ibTAh'],{'type':_0x54fbe8(0x338),'hidden':!![]})[_0x54fbe8(0x1d5)]('scenario',{'type':_0x176b9c[_0x54fbe8(0x21b)],'hidden':!![]})['option'](_0x176b9c['RHgXF'],{'type':_0x176b9c['vcVKO'],'description':_0x176b9c['dvEcR']})['option']('base-url',{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x54fbe8(0x1d5)](_0x176b9c['hwtig'],{'type':_0x176b9c['vcVKO'],'hidden':!![]})['option']('headed',{'type':_0x176b9c[_0x54fbe8(0x2ed)],'hidden':!![],'default':![]})[_0x54fbe8(0x1d5)](_0x176b9c['rKhln'],{'type':_0x176b9c[_0x54fbe8(0x1c9)],'hidden':!![],'choices':[_0x176b9c['RLldA'],_0x54fbe8(0x25a),_0x176b9c[_0x54fbe8(0x316)],_0x176b9c[_0x54fbe8(0x250)],_0x54fbe8(0x18b)]});},async _0x34c576=>{await _0x176b9c['XjGbS'](runGoCommand,_0x34c576,!![]);})[_0x24a7ff(0x281)]('add\x20env\x20<env-name>',![],_0x458b8d=>{const _0x57bf67=_0x24a7ff;return _0x458b8d[_0x57bf67(0x254)]('env-name',{'type':_0x176b9c[_0x57bf67(0x1c9)],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x176b9c[_0x57bf67(0x2ed)],'description':_0x176b9c['NNuUe'],'default':![]})['option'](_0x176b9c['stqgx'],{'type':'boolean','description':_0x57bf67(0x266),'default':![]});},async _0x396968=>{warnRenamed(_0x176b9c['YaNPq'],'ranger\x20profile\x20add'),await _0x176b9c['KtmAq'](withTelemetry,'add\x20env',_0x13beea=>addEnv(_0x396968['env-name'],{'ci':_0x396968['ci'],'skipAuth':_0x396968['skip-auth']},_0x13beea));})['command'](_0x24a7ff(0x240),![],_0x10445d=>{const _0x2080cf=_0x24a7ff;return _0x10445d[_0x2080cf(0x254)](_0x176b9c[_0x2080cf(0x1e7)],{'type':_0x176b9c['vcVKO'],'description':_0x2080cf(0x31a),'demandOption':!![]});},async _0x1460a0=>{const _0x564ce8=_0x24a7ff;warnRenamed('ranger\x20use',_0x176b9c['ywKNE']),await _0x176b9c['GSsjN'](withTelemetry,_0x176b9c[_0x564ce8(0x251)],()=>useEnv(_0x1460a0[_0x564ce8(0x1ed)]));})[_0x24a7ff(0x281)](_0x176b9c['tXRvQ'],![],_0x52f766=>{const _0x167d79=_0x24a7ff,_0x4f9798={'vVAFl':_0x176b9c[_0x167d79(0x1f0)],'IjXMo':_0x167d79(0x30f),'JvaDG':'value','CLYhO':_0x167d79(0x338),'zqwZm':_0x176b9c['NWtVi'],'KuMVT':_0x176b9c['nYbUH'],'FgbER':function(_0x3efcb2,_0x4d3e0a,_0x4779f9){return _0x176b9c['URELE'](_0x3efcb2,_0x4d3e0a,_0x4779f9);},'iezXa':'ranger\x20config\x20list','igBig':function(_0x570690,_0x45d6cf,_0x566bad){const _0x45f047=_0x167d79;return _0x176b9c[_0x45f047(0x2c4)](_0x570690,_0x45d6cf,_0x566bad);},'cbxhc':_0x176b9c['Uzfmy'],'wRPOD':_0x176b9c['bzINq']};return _0x52f766[_0x167d79(0x281)](_0x176b9c['sSPku'],![],_0x2204ad=>{const _0x454a69=_0x167d79;return _0x2204ad['positional'](_0x4f9798[_0x454a69(0x1db)],{'type':'string','description':_0x4f9798[_0x454a69(0x2d3)],'demandOption':!![]})['positional']('key',{'type':_0x454a69(0x338),'description':_0x454a69(0x1fd),'demandOption':!![]})[_0x454a69(0x254)](_0x4f9798['JvaDG'],{'type':_0x4f9798['CLYhO'],'description':_0x4f9798[_0x454a69(0x2b4)],'demandOption':!![]});},async _0x566378=>{const _0x4afff5=_0x167d79;warnRenamed('ranger\x20config\x20set',_0x176b9c[_0x4afff5(0x32a)]),await withTelemetry(_0x176b9c[_0x4afff5(0x1bd)],()=>configSet(_0x566378[_0x4afff5(0x1f4)],_0x566378['key'],_0x566378[_0x4afff5(0x1ba)]));})['command']('get\x20<env>\x20<key>',![],_0x2ef497=>{const _0x1c7ca5=_0x167d79;return _0x2ef497['positional'](_0x4f9798[_0x1c7ca5(0x1db)],{'type':'string','description':_0x4f9798[_0x1c7ca5(0x2d3)],'demandOption':!![]})[_0x1c7ca5(0x254)](_0x1c7ca5(0x1dc),{'type':_0x4f9798['CLYhO'],'description':_0x4f9798['KuMVT'],'demandOption':!![]});},async _0x39ad29=>{const _0x417d4d=_0x167d79;_0x4f9798['FgbER'](warnRenamed,'ranger\x20config\x20get','ranger\x20profile\x20config\x20get'),await withTelemetry(_0x417d4d(0x273),()=>configGet(_0x39ad29[_0x417d4d(0x1f4)],_0x39ad29[_0x417d4d(0x1dc)]));})[_0x167d79(0x281)](_0x176b9c[_0x167d79(0x292)],![],_0x60ede6=>{const _0x7c5503=_0x167d79;return _0x60ede6[_0x7c5503(0x254)](_0x176b9c['tVoQE'],{'type':'string','description':'Environment\x20name','demandOption':!![]});},async _0x4b8c72=>{const _0x4a501d=_0x167d79;warnRenamed(_0x4f9798['iezXa'],'ranger\x20profile\x20config\x20list'),await _0x4f9798[_0x4a501d(0x182)](withTelemetry,_0x4f9798['cbxhc'],()=>configList(_0x4b8c72['env']));})['command']('unset\x20<env>\x20<key>',![],_0x4b5137=>{const _0x1e500c=_0x167d79;return _0x4b5137[_0x1e500c(0x254)](_0x4f9798['vVAFl'],{'type':_0x4f9798[_0x1e500c(0x2e7)],'description':_0x4f9798[_0x1e500c(0x2d3)],'demandOption':!![]})[_0x1e500c(0x254)](_0x4f9798['wRPOD'],{'type':_0x4f9798['CLYhO'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x5be796=>{const _0x1b10f5=_0x167d79;warnRenamed(_0x1b10f5(0x191),_0x1b10f5(0x203)),await _0x176b9c['AYQQx'](withTelemetry,'config\x20unset',()=>configUnset(_0x5be796['env'],_0x5be796[_0x1b10f5(0x1dc)]));})['demandCommand'](0x1,_0x176b9c['aitqW']);})[_0x24a7ff(0x281)](_0x176b9c['tVoQE'],![],_0x4173c3=>{const _0xcd252c=_0x24a7ff,_0x26e815={'PGrVB':_0xcd252c(0x2a3),'TjKAH':_0x176b9c['mIwNZ'],'uwPTg':function(_0x2fcdda,_0x366800,_0x5151a4){return _0x176b9c['lZANr'](_0x2fcdda,_0x366800,_0x5151a4);},'tfnCj':_0xcd252c(0x221),'ffDkL':_0x176b9c[_0xcd252c(0x279)]};return _0x4173c3['command']('ls',![],()=>{},async()=>{const _0x24f7c5=_0xcd252c;warnRenamed(_0x26e815['PGrVB'],_0x26e815[_0x24f7c5(0x260)]),await _0x26e815[_0x24f7c5(0x246)](withTelemetry,_0x26e815['tfnCj'],()=>envList());})['command']('update\x20<env-name>',![],_0x36b11f=>{const _0x266f26=_0xcd252c;return _0x36b11f['positional'](_0x266f26(0x1ed),{'type':'string','description':_0x26e815['ffDkL'],'demandOption':!![]});},async _0x4cd773=>{const _0x2c50c9=_0xcd252c;_0x26e815['uwPTg'](warnRenamed,_0x2c50c9(0x33a),'ranger\x20profile\x20update'),await _0x26e815[_0x2c50c9(0x246)](withTelemetry,'env\x20update',_0x3e046b=>updateEnv(_0x4cd773[_0x2c50c9(0x1ed)],_0x3e046b));})['demandCommand'](0x1,_0x176b9c['Nohod']);})[_0x24a7ff(0x281)](_0x176b9c[_0x24a7ff(0x209)],![],_0x4c2604=>{const _0x1334e3=_0x24a7ff,_0x4b85b7={'LdIfO':_0x176b9c[_0x1334e3(0x317)],'itesA':_0x176b9c[_0x1334e3(0x27a)],'ZMUFm':_0x176b9c[_0x1334e3(0x20b)],'ENeUq':_0x1334e3(0x1ac),'rrwCS':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','wkMLC':_0x176b9c[_0x1334e3(0x29d)],'StzWL':_0x1334e3(0x2bf),'ripzk':_0x176b9c['omtem'],'sJewk':_0x176b9c['AkLpm'],'GCXfE':_0x176b9c['kHzaA'],'XznOH':_0x176b9c['tYoRX'],'uQrkZ':_0x1334e3(0x287),'SSxmt':function(_0x1eb016,_0x179b2c,_0x5549c2){return _0x1eb016(_0x179b2c,_0x5549c2);},'wfOcp':_0x176b9c[_0x1334e3(0x2f4)],'fNNeY':_0x1334e3(0x338),'VQksw':_0x176b9c[_0x1334e3(0x324)],'yJPNb':function(_0x13ac83,_0x4124c6,_0x2e7b35){return _0x176b9c['mVmtE'](_0x13ac83,_0x4124c6,_0x2e7b35);},'Nahqo':_0x1334e3(0x2b6),'CksqT':_0x176b9c['AgSlN'],'wEZDf':_0x1334e3(0x32e)};return _0x4c2604[_0x1334e3(0x281)](_0x176b9c[_0x1334e3(0x29c)],![],_0x4e1471=>{const _0x219ab3=_0x1334e3;return _0x4e1471[_0x219ab3(0x254)](_0x4b85b7[_0x219ab3(0x1e1)],{'type':_0x219ab3(0x338),'description':_0x4b85b7[_0x219ab3(0x2cb)],'demandOption':!![]})[_0x219ab3(0x1d5)](_0x4b85b7[_0x219ab3(0x309)],{'type':'string','alias':'d','description':_0x4b85b7[_0x219ab3(0x308)]})[_0x219ab3(0x1d5)](_0x219ab3(0x318),{'type':_0x219ab3(0x1c7),'alias':'c','description':_0x4b85b7[_0x219ab3(0x265)]})[_0x219ab3(0x1d5)](_0x4b85b7[_0x219ab3(0x282)],{'type':_0x219ab3(0x1c7),'hidden':!![]});},async _0x3b70a6=>{const _0x1b40d4=_0x1334e3;warnRenamed(_0x1b40d4(0x24a),_0x176b9c['XVHLr']),warnFlagRenamed(_0x1b40d4(0x291),_0x176b9c[_0x1b40d4(0x23e)],_0x176b9c['zgQVa']);const _0x51568b=_0x3b70a6['scenario']||_0x3b70a6['checklist'];await _0x176b9c['dvmCk'](withTelemetry,_0x1b40d4(0x1e2),()=>featureCreate(_0x3b70a6['name'],{'description':_0x3b70a6['description'],'scenarios':_0x51568b}));})['command'](_0x176b9c[_0x1334e3(0x19b)],![],_0x24c4d4=>{const _0x258137=_0x1334e3;return _0x24c4d4['option'](_0x258137(0x2aa),{'type':_0x4b85b7[_0x258137(0x28b)],'description':_0x4b85b7['ripzk']})['option']('limit',{'type':'number','alias':'l','description':_0x4b85b7['sJewk'],'default':0xa})[_0x258137(0x1d5)](_0x4b85b7['GCXfE'],{'type':_0x258137(0x249),'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x4b85b7[_0x258137(0x2f3)],{'type':_0x4b85b7[_0x258137(0x28b)],'alias':'d','description':_0x258137(0x1d7),'default':![]});},async _0xba699a=>{const _0x16b606=_0x1334e3;warnRenamed(_0x4b85b7[_0x16b606(0x263)],'ranger\x20list'),await _0x4b85b7[_0x16b606(0x23b)](withTelemetry,_0x16b606(0x18f),()=>featureList({'currentBranch':_0xba699a['current-branch'],'limit':_0xba699a['limit'],'offset':_0xba699a[_0x16b606(0x22d)],'includeDeleted':_0xba699a['include-deleted']}));})[_0x1334e3(0x281)](_0x176b9c[_0x1334e3(0x2c8)],![],_0x5d5ceb=>{const _0x1360aa=_0x1334e3;return _0x5d5ceb[_0x1360aa(0x254)]('id',{'type':_0x1360aa(0x338),'description':_0x4b85b7['wfOcp']});},async _0x1f0e77=>{const _0xb0ecca=_0x1334e3;warnRenamed('ranger\x20feature\x20show',_0x176b9c[_0xb0ecca(0x19d)]),await _0x176b9c[_0xb0ecca(0x2c4)](withTelemetry,_0x176b9c['XXXbm'],()=>featureShow(_0x1f0e77['id']));})['command']('resume\x20[id]',![],_0xaf309d=>{const _0x266986=_0x1334e3;return _0xaf309d['positional']('id',{'type':_0x4b85b7[_0x266986(0x2c0)],'description':_0x266986(0x2f9)});},async _0x142b41=>{const _0x3686d8=_0x1334e3;_0x4b85b7[_0x3686d8(0x23b)](warnRenamed,_0x4b85b7['VQksw'],'ranger\x20resume'),await withTelemetry('feature\x20resume',()=>featureResume(_0x142b41['id']));})[_0x1334e3(0x281)](_0x176b9c[_0x1334e3(0x19c)],![],_0xcc1b4b=>{const _0x5ccf40=_0x1334e3;return _0xcc1b4b[_0x5ccf40(0x254)]('description',{'type':_0x176b9c['vcVKO'],'description':'Scenario\x20description','demandOption':!![]})[_0x5ccf40(0x1d5)]('id',{'type':_0x176b9c[_0x5ccf40(0x1c9)],'description':_0x176b9c[_0x5ccf40(0x1f1)]});},async _0x4cf913=>{const _0x3507fb=_0x1334e3;_0x4b85b7[_0x3507fb(0x2f6)](warnRenamed,_0x4b85b7['Nahqo'],'ranger\x20add-scenario'),await withTelemetry('feature\x20add-checklist-item',()=>featureAddScenario(_0x4cf913['description'],_0x4cf913['id']));})['command'](_0x176b9c['dKJxH'],![],_0x22c83c=>{const _0x4d9fcb=_0x1334e3;return _0x22c83c['positional']('id',{'type':_0x4d9fcb(0x338),'description':_0x4d9fcb(0x326)});},async _0x55ca11=>{const _0x2ef512=_0x1334e3;_0x176b9c['ofQcD'](warnRenamed,_0x176b9c[_0x2ef512(0x1ae)],'ranger\x20get-review'),await _0x176b9c[_0x2ef512(0x297)](withTelemetry,'feature\x20get-feedback',()=>featureGetReview(_0x55ca11['id']));})[_0x1334e3(0x281)](_0x176b9c['UgiZe'],![],_0x4884b7=>{return _0x4884b7['positional']('id',{'type':_0x4b85b7['fNNeY'],'description':_0x4b85b7['wfOcp']});},async _0x123935=>{const _0x2fa8c6=_0x1334e3;_0x176b9c[_0x2fa8c6(0x205)](warnRenamed,_0x2fa8c6(0x252),_0x176b9c[_0x2fa8c6(0x245)]),await withTelemetry('feature\x20delete',()=>featureDelete(_0x123935['id']));})['command']('restore\x20<id>',![],_0x54c666=>{const _0x5d3c42=_0x1334e3;return _0x54c666['positional']('id',{'type':_0x5d3c42(0x338),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x54217f=>{const _0x4450f6=_0x1334e3;warnRenamed(_0x4450f6(0x1c4),_0x4b85b7[_0x4450f6(0x2e6)]),await withTelemetry(_0x4b85b7['wEZDf'],()=>featureRestore(_0x54217f['id']));})[_0x1334e3(0x237)](0x1,_0x176b9c[_0x1334e3(0x194)]);})[_0x24a7ff(0x281)](_0x176b9c[_0x24a7ff(0x186)],![],_0x54eb90=>{const _0x282fd9=_0x24a7ff,_0x288e6c={'yDyzl':_0x176b9c['vcVKO'],'KuLZj':_0x176b9c[_0x282fd9(0x1b7)],'zRzjD':_0x176b9c['QKcLi']};return _0x54eb90['command'](_0x282fd9(0x196),_0x176b9c['xKrKz'],_0x1696e1=>{const _0x2eb0a0=_0x282fd9;return _0x1696e1['option'](_0x2eb0a0(0x2e9),{'type':'string','description':_0x2eb0a0(0x1c0)});},async _0x51e97c=>{const _0x5d17a5=_0x282fd9;await withTelemetry(_0x176b9c['FPWOI'],()=>hook(_0x5d17a5(0x196),_0x51e97c[_0x5d17a5(0x2e9)]));})[_0x282fd9(0x281)](_0x176b9c[_0x282fd9(0x21d)],'Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x3aaf3d=>{const _0x3532ae=_0x282fd9;return _0x3aaf3d[_0x3532ae(0x1d5)]('session-id',{'type':_0x288e6c[_0x3532ae(0x1d0)],'description':_0x288e6c['KuLZj']});},async _0x2aa4e2=>{const _0x116feb=_0x282fd9;await withTelemetry(_0x288e6c[_0x116feb(0x30c)],()=>hook(_0x116feb(0x1c5),_0x2aa4e2[_0x116feb(0x2e9)]));})['option']('name',{'type':'string','description':_0x282fd9(0x293)})['option'](_0x282fd9(0x2e9),{'type':_0x176b9c[_0x282fd9(0x1c9)],'description':_0x176b9c[_0x282fd9(0x1b7)]});},async _0x30e885=>{const _0x386465=_0x24a7ff;_0x30e885['name']&&await hook(_0x30e885[_0x386465(0x1f7)],_0x30e885[_0x176b9c[_0x386465(0x1c8)]]);})['demandCommand'](0x1,_0x176b9c['YqDdX'])[_0x24a7ff(0x24b)]()[_0x24a7ff(0x17e)](async(_0x3fd158,_0x324bf6,_0x2a2977)=>{const _0x2120ce=_0x24a7ff,_0x1904d7=sanitizeArgs(process[_0x2120ce(0x1cb)]['slice'](0x2)),_0x486e83=getErrorType(_0x3fd158,_0x324bf6);if(_0x3fd158&&_0x3fd158['includes'](_0x176b9c[_0x2120ce(0x1b8)])){const _0x1e5d04=process[_0x2120ce(0x1cb)][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x1e5d04),console['error'](_0x176b9c['OeWXK']);}else{if(_0x3fd158)console[_0x2120ce(0x248)]('\x0a'+_0x3fd158+'\x0a');else _0x324bf6&&console['error']('\x0aError:\x20'+_0x324bf6['message']+'\x0a');}await _0x176b9c[_0x2120ce(0x2c2)](logDesirePath,{'rawCommand':_0x1904d7,'errorMessage':_0x3fd158||_0x324bf6?.['message'],'errorType':_0x486e83});const _0x3f8f9c=getCurrentCollector();_0x3f8f9c&&await _0x3f8f9c[_0x2120ce(0x286)](_0x324bf6||new Error(_0x3fd158||'Unknown\x20error')),process['exit'](0x1);})[_0x24a7ff(0x1f5)](_0x176b9c[_0x24a7ff(0x2cc)](_0x176b9c[_0x24a7ff(0x28d)]('Documentation:\x0a','\x20\x20https://docs.ranger.net\x0a'),_0x24a7ff(0x33f)))['help']()[_0x24a7ff(0x2dc)](_0x176b9c['gEpMC'],'h');}process['env'][_0x11d5df(0x2f1)]!==_0x11d5df(0x22c)&&buildParser()[_0x11d5df(0x33b)]();
2
+ const _0x3880c4=_0x5d9c;(function(_0x15eccb,_0x39359d){const _0x486703=_0x5d9c,_0x5503f7=_0x15eccb();while(!![]){try{const _0x7c8e73=-parseInt(_0x486703(0x1cb))/0x1+-parseInt(_0x486703(0x17e))/0x2*(-parseInt(_0x486703(0x240))/0x3)+-parseInt(_0x486703(0xee))/0x4*(parseInt(_0x486703(0x1e0))/0x5)+parseInt(_0x486703(0x20e))/0x6*(parseInt(_0x486703(0xeb))/0x7)+parseInt(_0x486703(0x1ab))/0x8*(-parseInt(_0x486703(0x13f))/0x9)+parseInt(_0x486703(0x1a8))/0xa*(parseInt(_0x486703(0xf3))/0xb)+-parseInt(_0x486703(0x110))/0xc;if(_0x7c8e73===_0x39359d)break;else _0x5503f7['push'](_0x5503f7['shift']());}catch(_0x58699d){_0x5503f7['push'](_0x5503f7['shift']());}}}(_0x1a6e,0xcf627));import _0x5a0af4 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x1f1cff=_0x5d9c,_0x44f292={'ZdAwA':function(_0x4c52f1,_0x1fc9ed){return _0x4c52f1(_0x1fc9ed);},'WzIZY':function(_0x514339,_0x36b100){return _0x514339!==_0x36b100;},'oLzyy':_0x1f1cff(0x283),'DreJP':function(_0x424a3c,_0x103319){return _0x424a3c(_0x103319);},'ZLjkP':function(_0x27115b,_0x1c02a4,_0x377f67){return _0x27115b(_0x1c02a4,_0x377f67);},'KuvvS':function(_0x4d7f0b,_0x146966){return _0x4d7f0b(_0x146966);}};let _0xea9a2c=process[_0x1f1cff(0x20d)]();const _0x26e5ec=_0x44f292[_0x1f1cff(0xe2)](parse,_0xea9a2c)[_0x1f1cff(0x281)];while(_0x44f292[_0x1f1cff(0x22a)](_0xea9a2c,_0x26e5ec)){if(existsSync(join(_0xea9a2c,_0x44f292[_0x1f1cff(0x292)]))||_0x44f292[_0x1f1cff(0x210)](existsSync,_0x44f292['ZLjkP'](join,_0xea9a2c,_0x1f1cff(0x10c))))return _0xea9a2c;_0xea9a2c=_0x44f292['KuvvS'](dirname,_0xea9a2c);}return process[_0x1f1cff(0x20d)]();}_0x5a0af4['config']({'path':join(findProjectRoot(),_0x3880c4(0x10c))});import _0x3b3633 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 _0x5d9c(_0x3b25e4,_0x772cf1){_0x3b25e4=_0x3b25e4-0xd2;const _0x1a6eda=_0x1a6e();let _0x5d9ce1=_0x1a6eda[_0x3b25e4];return _0x5d9ce1;}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 _0x411c41=>{const _0x4501c8=_0x3880c4,_0x4a7969={'LoNna':function(_0x1abfbd){return _0x1abfbd();}},_0x463d5b=_0x4a7969[_0x4501c8(0x1b1)](getCurrentCollector);_0x463d5b&&await _0x463d5b[_0x4501c8(0xf5)](_0x411c41),process['exitCode']=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP=_0x3880c4(0x248),PROFILE_HELP=_0x3880c4(0x278),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(_0x416d58,_0x8f981c){const _0x53bbb4=_0x3880c4;console[_0x53bbb4(0xfe)]('\x0a'+_0x416d58+'\x20is\x20now\x20'+_0x8f981c+'\x0a');}function argUsed(_0x40ace6){const _0x44f4bd=_0x3880c4;return rawArgs[_0x44f4bd(0x171)](_0x447a02=>_0x447a02===_0x40ace6||_0x447a02['startsWith'](_0x40ace6+'='));}function warnFlagRenamed(_0x552fec,_0x2960e7,_0x215939){const _0x44849c=_0x3880c4,_0x4ebda2={'VcXFr':function(_0x3127d8,_0x1f5795){return _0x3127d8(_0x1f5795);}};_0x4ebda2[_0x44849c(0x1ca)](argUsed,_0x2960e7)&&warnRenamed(_0x552fec+'\x20'+_0x2960e7,_0x552fec+'\x20'+_0x215939);}async function runGoCommand(_0x753293,_0x4390fa=![]){const _0x17f476=_0x3880c4,_0x1618df={'sZGdS':function(_0x424b06,_0x1934d0,_0x3a0531){return _0x424b06(_0x1934d0,_0x3a0531);},'mGwtl':'ranger\x20go','YAjaG':_0x17f476(0x29f),'OAllE':_0x17f476(0xd9),'jDKhj':function(_0x485c7d,_0x565a9d,_0x51702e,_0x245d7a){return _0x485c7d(_0x565a9d,_0x51702e,_0x245d7a);},'bgpML':function(_0x3ad4bd,_0x1c614c,_0x12f3f7,_0x31b9b3){return _0x3ad4bd(_0x1c614c,_0x12f3f7,_0x31b9b3);},'EKjMA':function(_0x133510){return _0x133510();},'CtRDQ':_0x17f476(0x15c),'SiQwC':_0x17f476(0x23e),'LZJXl':function(_0x28bfe5,_0xa0b2be){return _0x28bfe5+_0xa0b2be;},'rDYLd':function(_0x1e0f15,_0x338072){return _0x1e0f15===_0x338072;},'FslAP':_0x17f476(0x27b),'qOZAf':_0x17f476(0xd8),'DJgKW':_0x17f476(0x18a),'QCukI':function(_0x11952f,_0x3b359f){return _0x11952f===_0x3b359f;},'CZfev':'blocked','kLgQN':_0x17f476(0x287)};_0x4390fa&&_0x1618df[_0x17f476(0x1a5)](warnRenamed,'ranger\x20verify-feature',_0x1618df[_0x17f476(0x174)]);warnFlagRenamed(_0x1618df['mGwtl'],_0x1618df[_0x17f476(0x249)],_0x1618df['OAllE']),_0x1618df[_0x17f476(0x1ec)](warnFlagRenamed,_0x17f476(0x14a),_0x17f476(0x231),'--notes'),_0x1618df['bgpML'](warnFlagRenamed,'ranger\x20go','--item',_0x17f476(0x27f));const _0x437c95=await _0x1618df[_0x17f476(0x185)](loadRangerConfig),_0x5e97b4=isByokEnabled(),_0x2f1450=_0x753293['model'],_0x5d31a4=_0x437c95['model'],_0x27a504=await verifyFeature({'featureId':_0x753293['feature'],'profile':_0x753293[_0x17f476(0x18e)]??_0x753293[_0x17f476(0x218)]??process['env']['RANGER_PROFILE'],'notes':_0x753293['notes']??_0x753293['task'],'scenario':_0x753293['scenario']??_0x753293[_0x17f476(0x2a0)],'startPath':_0x753293[_0x17f476(0x144)],'baseUrl':_0x753293[_0x1618df[_0x17f476(0x126)]],'debugOutcome':_0x753293[_0x17f476(0x1d2)],'debugAddressComments':_0x753293[_0x1618df[_0x17f476(0x2a4)]],'headed':_0x753293[_0x17f476(0xfa)],'byokEnabled':_0x5e97b4,'flagVerifyModel':_0x2f1450,'configVerifyModel':_0x5d31a4});console['log'](_0x1618df['LZJXl']('\x0a','='['repeat'](0x3c))),console[_0x17f476(0x270)](_0x1618df[_0x17f476(0x1c4)](_0x27a504[_0x17f476(0x29e)],_0x1618df[_0x17f476(0x1e4)])?'\x20VERIFIED':_0x27a504['evaluation']===_0x1618df['qOZAf']?'\x20INCOMPLETE':_0x1618df[_0x17f476(0x1c4)](_0x27a504['evaluation'],'partial')?_0x1618df['DJgKW']:_0x1618df['QCukI'](_0x27a504['evaluation'],_0x1618df['CZfev'])?'\x20BLOCKED':'\x20FAILED'),console[_0x17f476(0x270)]('='['repeat'](0x3c)),console[_0x17f476(0x270)](_0x17f476(0x162)+_0x27a504['summary']),console[_0x17f476(0x270)]('Evaluation:\x20'+_0x27a504['evaluation']),console[_0x17f476(0x270)]('Reason:\x20'+_0x27a504[_0x17f476(0x146)]),_0x27a504['issues']?.['length']&&(console['log'](_0x1618df[_0x17f476(0xfc)]),_0x27a504[_0x17f476(0x1e1)]['forEach']((_0x4a5e85,_0x615c4c)=>{const _0x31bd64=_0x17f476;console[_0x31bd64(0x270)]('\x0a'+(_0x615c4c+0x1)+_0x31bd64(0x23a)+_0x4a5e85['severity']+']\x20'+_0x4a5e85[_0x31bd64(0x1f4)]);})),process['exit'](_0x1618df['rDYLd'](_0x27a504[_0x17f476(0x29e)],_0x1618df[_0x17f476(0x1e4)])?0x0:0x1);}function _0x1a6e(){const _0x298498=['FGSqr','ranger\x20feature\x20resume','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','CuCXK','RXcUZ','EKjMA','oBXNa','ranger\x20restore','url','iZwaL','\x20PARTIAL','Run\x20full\x20interactive\x20setup','HIOSl','dry-run','profile','xPiDy','edit-scenario','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','start','feature\x20show','ZWsbl','Scenario\x20number\x20to\x20edit\x20(1-based)','profile\x20update','You\x20must\x20specify\x20an\x20env\x20subcommand','dinnU','ranger\x20env\x20ls','profile\x20encrypt-auth','OxLPk','Name\x20of\x20the\x20environment\x20to\x20update','\x27.\x20Session\x20saved.','wTNyY','tXboX','URqMK','ranger\x20profile\x20config\x20set','JUkCT','LLoYc','reset\x20<profile>','sZGdS','NsZLm','delete','2537030ZtczuR','IQWkG','verify-feature','3133768Oigthp','bgHCL','List\x20all\x20profiles','ranger\x20profile\x20ls','guhHP','CtuoI','LoNna','gePev','VZEri','sKueZ','cdEzo','Environment\x20name','xiQrX','HdJZK','MEAAP','cdp-endpoint','limit','TPing','setup:profiles','fSZPe','GdscJ','API\x20token','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','IZzoV','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','rDYLd','update\x20<env-name>','htRqq','RYAHG','version','USKLm','VcXFr','62509rCJxPQ','number','zywTc','mllfF','env-name','parse','rrutU','debug-outcome','project','nNOic','exit','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','aLHUY','mcp','skip-auth','current-branch','kMeeB','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','ZsqLk','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','Skip\x20Chromium\x20browser\x20installation','26055vjMhal','issues','qOvhc','XFmqD','FslAP','use','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','boolean','fGmGM','get\x20<env>\x20<key>','MbdrR','jDKhj','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','zRfTo','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ranger\x20add\x20env','VVwrD','bNFqf','use\x20<profile-name>','description','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','exclude-scenario','map','utgum','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','encrypt\x20<profile>','cnAVE','ranger\x20create','tezqh','RANGER_TEST_PASSWORD','LQbIQ','NODE_ENV','nXpcy','get-review','bZQRZ','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','GhydO','UEZQn','pCbOB','ranger\x20config\x20set','ranger\x20feature\x20list','RkuzV','cwd','47814WYrZJW','RYnup','DreJP','offset','Number\x20of\x20feature\x20reviews\x20to\x20skip','GtavJ','rDQGp','ranger\x20auth\x20encrypt','QAXAs','add\x20<profile-name>','env','string','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','CmwQq','VfjlS','jWywb','ranger','update','rDUxi','EvVjw','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','NmzIX','fail','scenario','Ranger\x20API\x20token','mlkgh','success','Scenario\x20index\x20(1-based)','WzIZY','XdocC','yes','aUkdo','JquyU','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','--task','juapU','aJgfw','SYVhD','FKrNS','MYMee','get\x20<profile>\x20<key>','usage','nGuLp','.\x20[','WGpXn','HuWJP','add-scenario\x20<description>','debug-address-comments','setup\x20[tokenOrSubcommand]','4694784HjRxXI','model','Install\x20Ranger\x20skills','SvnQZ','vfEfV','ttEQw','opencode','Unknown\x20command','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.','YAjaG','CclZu','JbPDb','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','add\x20env\x20<env-name>','tlIGm','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','Kvssq','value','AXTJs','config\x20unset','config\x20list','tKhVn','fQOaD','Skip\x20browser\x20authentication','\x20is\x20no\x20longer\x20supported.\x20','skillup','notes','ranger\x20config\x20get','hzIkW','Authenticate\x20with\x20Ranger','cqVxA','obToK','name','mFtPl','Manage\x20profiles','mPGBm','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','VokGG','feature\x20create','List\x20all\x20feature\x20reviews','deps','UUBkJ','demandCommand','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','BvUdJ','zHUQQ','WuhOX','EVBcY','log','gEWvJ','STKjN','EIrOh','zMjKu','Jztvj','dXpux','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','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','GxFjS','array','verified','SgXlX','epilogue','Unknown\x20error','--scenario','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','root','Name\x20of\x20the\x20profile','.ranger','key','Skip\x20interactive\x20confirmation\x20prompts.','skip-chromium','\x0aIssues:','RBuik','Feature\x20review\x20description','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','use\x20<env-name>','ranger\x20feature\x20add-checklist-item','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','Install\x20OS-level\x20dependencies\x20for\x20Chromium','GiDWl','unknown\x20error','oLzyy','ranger\x20setup\x20profiles\x20--scope=','bYkNW','You\x20must\x20specify\x20a\x20config\x20subcommand','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','ranger\x20add-scenario','iKgWc','elrqS','sySdV','aalNE','all','with-deps','evaluation','--env','item','ZgLio','user','fPFoH','SiQwC','encrypt-auth\x20<profile>','GaKns','vBPqE','ODBNR','eYTPE','LwJpt','incomplete','--profile','profile-name','mcp-bootstrap','list','ranger\x20profile\x20use','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','suTTY','alias','session-id','ZdAwA','failed','ranger\x20profile\x20encrypt-auth','Config\x20key','XztbP','ZkXAk','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','positional','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','1253PeCrjJ','\x0aError:\x20','rjijw','1084UWpiKW','env\x20list','xEOiO','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','ULbby','55mWXsvD','ggJAX','trackCommandError','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','tokenOrSubcommand','feature\x20restore','gubjT','headed','ilpXC','kLgQN','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','error','config\x20set','UlkeW','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','vgevM','login','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','feature\x20get-feedback','LEmeZ','Profile\x20name','Documentation:\x0a','Scenario\x20description','cvgBU','not_configured','.env','NFYku','checklist','setup:all','18528432rYHcyB','DqdQy','resume','✓\x20Login\x20succeeded\x20for\x20\x27','brinw','You\x20must\x20specify\x20a\x20profile\x20subcommand','pyqyr','print-access-token','help','vLtrg','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','Name\x20of\x20the\x20environment','tbjRo','emXLy','AkBgv','MBOwV','list\x20<profile>','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','clean','option','dKxbd','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','CtRDQ','SHsUV','edit-scenario\x20<description>','DawTR','setup-header','ViebL','yFeWQ','report\x20[id]','QouKx','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','token','argv','force','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.','NUKAl','restore\x20<id>','json','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','wBXeT','UhnGr','OPvjV','scope','eVuoB','create\x20<name>','set\x20<env>\x20<key>\x20<value>','9PmZbuO','add\x20env','EkdQM','Add\x20profile\x20configuration','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','start-path','SkcBg','evaluationReason','Msqlp','AWFWZ','wjWwL','ranger\x20go','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','MdzyG','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','JoNsm','Feature\x20review\x20name','task','olViN','safe-mode','command','strictCommands','TRTOq','qDZEi','config','IbOyO','xifxu','JHKIt','UHRGC','base-url','ROBmg','Get\x20a\x20config\x20value','save-creds','list\x20<env>','Skip\x20authentication','Summary:\x20','dLRCL','test_output','zFvLF','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','Config\x20value','Install\x20scope\x20for\x20plugin\x20and\x20skills','profile\x20login','ranger\x20profile\x20add','Feature\x20review\x20ID','Feature\x20review\x20ID\x20to\x20restore','LjzOF','CLJZd','GnfTc','KjcOY','some','set\x20<profile>\x20<key>\x20<value>','uNTdf','mGwtl','FGVOH','Include\x20soft-deleted\x20feature\x20reviews','scriptName','DyKRi','get-feedback\x20[id]','allow-insecure-localhost','Switch\x20to\x20using\x20a\x20specific\x20profile','slice','restore','2VsojIB','nhAxs'];_0x1a6e=function(){return _0x298498;};return _0x1a6e();}export function buildParser(_0x59e055){const _0x2e7e6e=_0x3880c4,_0x463392={'PdWxV':_0x2e7e6e(0x260),'gQtTK':_0x2e7e6e(0x14f),'nNOic':'string','zMjKu':_0x2e7e6e(0x289),'DAmDK':_0x2e7e6e(0x27a),'hzIkW':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','VYtqU':_0x2e7e6e(0x10e),'vmkfn':function(_0x595737,_0x4f0e6b){return _0x595737+_0x4f0e6b;},'AXTJs':_0x2e7e6e(0x11a),'STKjN':'Example:\x20ranger\x20create\x20my-feature','fPFoH':'--checklist','gePev':_0x2e7e6e(0x27f),'dinnU':'boolean','dKxbd':'limit','mllfF':_0x2e7e6e(0x1cc),'TPing':_0x2e7e6e(0x212),'HqkZZ':_0x2e7e6e(0x176),'wjWwL':'Feature\x20review\x20ID','tKhVn':function(_0x2d1f63,_0x4e83fd,_0x9cf818){return _0x2d1f63(_0x4e83fd,_0x9cf818);},'NFYku':'description','xiQrX':'Scenario\x20description','WGpXn':function(_0x1b7d1d,_0x2457d3,_0x140156){return _0x1b7d1d(_0x2457d3,_0x140156);},'oBXNa':_0x2e7e6e(0x190),'kHntR':_0x2e7e6e(0x1f7),'mFtPl':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','beGBO':_0x2e7e6e(0x205),'IbOyO':'report','cpymX':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','rjijw':_0x2e7e6e(0x1a7),'UlkeW':_0x2e7e6e(0x16c),'FKrNS':_0x2e7e6e(0x17d),'bZQRZ':_0x2e7e6e(0x130),'kMeeB':_0x2e7e6e(0x226),'GtavJ':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','XztbP':'Skip\x20authentication','HIOSl':'with-deps','bNFqf':_0x2e7e6e(0x28f),'QAXAs':'scope','tXboX':_0x2e7e6e(0x2a2),'XdocC':_0x2e7e6e(0xde),'GaKns':'opencode','KjcOY':_0x2e7e6e(0x1d8),'MdzyG':'Alias\x20for\x20--mcp-bootstrap','iKgWc':'setup:deps','LEmeZ':'setup:login','wpRer':function(_0x4be868,_0x28ec05){return _0x4be868!==_0x28ec05;},'kOfjH':function(_0x52c472,_0x4a27d4){return _0x52c472!==_0x4a27d4;},'tezqh':function(_0x41e4f8,_0x3c5f00){return _0x41e4f8+_0x3c5f00;},'xepjO':_0x2e7e6e(0x1bd),'oPBKf':_0x2e7e6e(0xdb),'mvCuQ':'Ranger\x20API\x20token\x20(rngr_...)','fQOaD':_0x2e7e6e(0x1ed),'emXLy':_0x2e7e6e(0x21e),'UhnGr':function(_0x240adf,_0x3676bc){return _0x240adf(_0x3676bc);},'ULbby':_0x2e7e6e(0x1d9),'SYVhD':'force','RFwiE':_0x2e7e6e(0x268),'hUUOQ':'Install\x20Chromium\x20browser\x20binary','DawTR':_0x2e7e6e(0x103),'aJgfw':_0x2e7e6e(0x25d),'pyqyr':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','ilpXC':'profiles','mcvWE':'url','gubjT':'allow-insecure-localhost','CJqoZ':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','FjOSg':_0x2e7e6e(0x1f6),'GnIij':_0x2e7e6e(0x1c0),'acQwh':_0x2e7e6e(0x192),'VVwrD':_0x2e7e6e(0x104),'cnAVE':_0x2e7e6e(0x15c),'ZkXAk':_0x2e7e6e(0x1f5),'muWla':_0x2e7e6e(0x286),'LLoYc':_0x2e7e6e(0x1df),'IZzoV':function(_0x4d1ee4,_0x4cdd47,_0x5237d8){return _0x4d1ee4(_0x4cdd47,_0x5237d8);},'SvnQZ':'Install\x20skills\x20for\x20OpenCode','elrqS':function(_0x1796ef,_0x422b0d,_0x5858e4){return _0x1796ef(_0x422b0d,_0x5858e4);},'htRqq':_0x2e7e6e(0x122),'sySdV':'profile-name','TRTOq':_0x2e7e6e(0x24f),'foRAb':_0x2e7e6e(0x206),'xPiDy':_0x2e7e6e(0x1ef),'xEOiO':_0x2e7e6e(0x182),'FGSqr':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','VJOre':_0x2e7e6e(0x12a),'jpWfC':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','SgXlX':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','azXPt':_0x2e7e6e(0x22c),'JUkCT':function(_0x4dcf04,_0x2810c2,_0x3b34e9,_0x28d230){return _0x4dcf04(_0x2810c2,_0x3b34e9,_0x28d230);},'ZWsbl':'profile\x20add','Kvssq':'profile\x20ls','vBPqE':'Cloud\x20profile\x20name','olViN':_0x2e7e6e(0x1c1),'Ilymf':_0x2e7e6e(0x222),'GxFjS':_0x2e7e6e(0x285),'nXpcy':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','fOOqM':_0x2e7e6e(0x107),'qDZEi':_0x2e7e6e(0xea),'bhMDl':'Config\x20value','CLJZd':'profile\x20config\x20unset','rrutU':_0x2e7e6e(0x172),'BvUdJ':'Set\x20a\x20config\x20value','HuWJP':_0x2e7e6e(0x15e),'MbdrR':'List\x20all\x20config\x20for\x20a\x20profile','zRfTo':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','plRFm':_0x2e7e6e(0x282),'GUCfq':'profile\x20use','dZyUy':'Name\x20of\x20the\x20profile\x20to\x20update','OPvjV':function(_0x2039a5,_0x43e2cb){return _0x2039a5===_0x43e2cb;},'wuent':_0x2e7e6e(0x291),'aVScg':'Config\x20key\x20to\x20remove','juapU':_0x2e7e6e(0x142),'guhHP':_0x2e7e6e(0x14d),'UoNqG':_0x2e7e6e(0x1ad),'Qqsxo':'update\x20<profile-name>','FLZxR':'migrate\x20[profile-name]','LjzOF':_0x2e7e6e(0x137),'ODBNR':'Manage\x20profile\x20configuration','ttEQw':'feature','qScNm':_0x2e7e6e(0x1de),'nrBDg':_0x2e7e6e(0x25a),'XesWq':_0x2e7e6e(0x191),'TcPwc':'start-path','TPIEC':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','RfqMB':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','ydLRU':_0x2e7e6e(0x241),'eVuoB':_0x2e7e6e(0x133),'yFeWQ':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','mlkgh':'partial','jSaLr':'debug-address-comments','qbzYH':'env','UUBkJ':_0x2e7e6e(0x150),'wgIGX':function(_0x474c03,_0x1ce907,_0x2e0311){return _0x474c03(_0x1ce907,_0x2e0311);},'OxLPk':function(_0x54f36f,_0x6e7bdc){return _0x54f36f(_0x6e7bdc);},'ewXbp':_0x2e7e6e(0x1fb),'MlviX':'You\x20must\x20specify\x20an\x20auth\x20subcommand','JMqhq':'ranger\x20setup','uNTdf':function(_0x20fc33,_0x58bc93,_0x5a3984){return _0x20fc33(_0x58bc93,_0x5a3984);},'CtBOJ':_0x2e7e6e(0xf6),'iIDXV':_0x2e7e6e(0xf1),'WReyH':_0x2e7e6e(0x18e),'LwJpt':_0x2e7e6e(0x264),'WPqoH':'debug-outcome','cvgBU':'incomplete','cSvkX':function(_0x29937a,_0x5acf7f,_0x1143b0){return _0x29937a(_0x5acf7f,_0x1143b0);},'NsZLm':'env-name','ypRLl':_0x2e7e6e(0x1f0),'gEWvJ':_0x2e7e6e(0x16a),'LQbIQ':function(_0x558cd5,_0x1bb1f4,_0x4cfdf2){return _0x558cd5(_0x1bb1f4,_0x4cfdf2);},'CCHDW':'ranger\x20use','JoNsm':function(_0x9d236d,_0x327b13,_0x2e1759){return _0x9d236d(_0x327b13,_0x2e1759);},'dlmzF':_0x2e7e6e(0x20a),'MEAAP':function(_0x43d07b,_0x547351,_0x75e2c2){return _0x43d07b(_0x547351,_0x75e2c2);},'HUkYw':_0x2e7e6e(0xff),'rljOn':_0x2e7e6e(0x25b),'OOKDs':'config\x20get','ggJAX':_0x2e7e6e(0x253),'poIvl':_0x2e7e6e(0x13e),'ENPaR':_0x2e7e6e(0x1ea),'NmzIX':_0x2e7e6e(0x160),'UeJcA':'unset\x20<env>\x20<key>','utgum':_0x2e7e6e(0x295),'QVztI':_0x2e7e6e(0x199),'vinTR':_0x2e7e6e(0xef),'tbjRo':function(_0x5559c7,_0x2a0700,_0x571ed4){return _0x5559c7(_0x2a0700,_0x571ed4);},'bGDlk':_0x2e7e6e(0x1c5),'gpQmS':_0x2e7e6e(0x197),'RYAHG':function(_0x1493a9,_0xae0d65,_0x24af7b){return _0x1493a9(_0xae0d65,_0x24af7b);},'EvVjw':'ranger\x20feature\x20create','MYMee':_0x2e7e6e(0x1fd),'DqdCm':function(_0x3c83bb,_0x19b473,_0x8a9053){return _0x3c83bb(_0x19b473,_0x8a9053);},'crwqP':_0x2e7e6e(0x28c),'ohlCQ':function(_0x1df0e9,_0x586b36,_0x28f1d4){return _0x1df0e9(_0x586b36,_0x28f1d4);},'KdTiq':'feature\x20add-checklist-item','mPGBm':function(_0x1d1bf9,_0x3187df,_0x446f06){return _0x1d1bf9(_0x3187df,_0x446f06);},'HRQQX':function(_0x77c19a,_0x4e81c5,_0xc8e04c){return _0x77c19a(_0x4e81c5,_0xc8e04c);},'MSVMP':_0x2e7e6e(0x105),'bVugM':'ranger\x20feature\x20delete','qOvhc':'ranger\x20delete','bgHCL':_0x2e7e6e(0xfd),'tlIGm':_0x2e7e6e(0x211),'MZKFi':'feature\x20list','tClkm':'ranger\x20show','CtuoI':'resume\x20[id]','ZsqLk':'delete\x20[id]','CmwQq':_0x2e7e6e(0x135),'rDUxi':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','vgevM':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','IMujT':function(_0x11cbb7,_0x479d13,_0x5121ff){return _0x11cbb7(_0x479d13,_0x5121ff);},'SKlcm':_0x2e7e6e(0xe1),'bYkNW':_0x2e7e6e(0x1e6),'suTTY':function(_0x2e33f6){return _0x2e33f6();},'QtIee':function(_0x1696c7,_0x51253c){return _0x1696c7||_0x51253c;},'pfUwA':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','Oudga':_0x2e7e6e(0xdc),'bVwoS':'show\x20[id]','WuhOX':_0x2e7e6e(0x1dc),'MBOwV':_0x2e7e6e(0x128),'QouKx':_0x2e7e6e(0x12d),'FdUWw':'Restore\x20a\x20soft-deleted\x20feature\x20review','EIrOh':_0x2e7e6e(0x23f),'vfEfV':'Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','CBAfp':_0x2e7e6e(0x259),'GiDWl':_0x2e7e6e(0x242),'CwrtR':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','KQrYM':_0x2e7e6e(0x262),'xcCqb':_0x2e7e6e(0x125),'KDnYS':'Print\x20the\x20current\x20CLI\x20access\x20token','GnfTc':'auth','zFvLF':'start\x20[token]','RkuzV':_0x2e7e6e(0x24d),'aLHUY':_0x2e7e6e(0x28b),'XFmqD':_0x2e7e6e(0x157),'HdJZK':'hook','fSZPe':_0x2e7e6e(0x108),'FGVOH':'\x20\x20https://docs.ranger.net\x0a','fVHKh':_0x2e7e6e(0x230),'MaSbh':_0x2e7e6e(0x118)};return _0x3b3633(_0x59e055??process[_0x2e7e6e(0x131)]['slice'](0x2))[_0x2e7e6e(0x177)](_0x463392[_0x2e7e6e(0x11d)])['usage'](TOP_LEVEL_HELP)[_0x2e7e6e(0x1c8)](getCurrentVersion())['command'](_0x2e7e6e(0x13d),_0x463392['pfUwA'],_0xe5e0d8=>{const _0x383740=_0x2e7e6e;return _0xe5e0d8[_0x383740(0xe9)](_0x463392['PdWxV'],{'type':_0x383740(0x219),'description':_0x463392['gQtTK'],'demandOption':!![]})['option']('description',{'type':_0x463392[_0x383740(0x1d4)],'alias':'d','description':_0x463392[_0x383740(0x274)]})[_0x383740(0x123)]('scenario',{'type':_0x463392['DAmDK'],'alias':'c','description':_0x463392[_0x383740(0x25c)]})[_0x383740(0x123)](_0x463392['VYtqU'],{'type':'array','hidden':!![]});},async _0x5be036=>{const _0x363853=_0x2e7e6e;if(!_0x5be036['name']){console['error'](_0x463392['vmkfn'](_0x463392[_0x363853(0x252)],_0x463392[_0x363853(0x272)])),process[_0x363853(0x1d5)](0x1);return;}warnFlagRenamed('ranger\x20create',_0x463392[_0x363853(0x2a3)],_0x463392[_0x363853(0x1b2)]);const _0x5e0cbf=_0x5be036['scenario']||_0x5be036['checklist'];await withTelemetry('create',()=>featureCreate(_0x5be036[_0x363853(0x260)],{'description':_0x5be036['description'],'scenarios':_0x5e0cbf}));})['command'](_0x463392['Oudga'],_0x2e7e6e(0x267),_0xd25001=>{const _0x565fb5=_0x2e7e6e;return _0xd25001[_0x565fb5(0x123)](_0x565fb5(0x1da),{'type':_0x463392['dinnU'],'description':_0x565fb5(0xfd)})[_0x565fb5(0x123)](_0x463392[_0x565fb5(0x124)],{'type':_0x463392[_0x565fb5(0x1ce)],'alias':'l','description':_0x565fb5(0x26b),'default':0xa})['option']('offset',{'type':'number','alias':'o','description':_0x463392[_0x565fb5(0x1bc)],'default':0x0})[_0x565fb5(0x123)]('include-deleted',{'type':_0x463392['dinnU'],'alias':'d','description':_0x463392['HqkZZ'],'default':![]});},async _0x43c12b=>{const _0x3beea5=_0x2e7e6e;await withTelemetry(_0x3beea5(0xdc),()=>featureList({'currentBranch':_0x43c12b['current-branch'],'limit':_0x43c12b[_0x3beea5(0x1bb)],'offset':_0x43c12b['offset'],'includeDeleted':_0x43c12b['include-deleted']}));})['command'](_0x463392['bVwoS'],_0x463392[_0x2e7e6e(0x26e)],_0x27b0b4=>{const _0x29c9f1=_0x2e7e6e;return _0x27b0b4[_0x29c9f1(0xe9)]('id',{'type':_0x463392['nNOic'],'description':_0x463392[_0x29c9f1(0x149)]});},async _0x7bd689=>{await _0x463392['tKhVn'](withTelemetry,'show',()=>featureShow(_0x7bd689['id']));})[_0x2e7e6e(0x153)](_0x463392['CtuoI'],_0x2e7e6e(0x21a),_0x4eed9d=>{const _0x277131=_0x2e7e6e;return _0x4eed9d[_0x277131(0xe9)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x2acfc3=>{const _0x3b7061=_0x2e7e6e;await withTelemetry(_0x3b7061(0x112),()=>featureResume(_0x2acfc3['id']));})[_0x2e7e6e(0x153)](_0x2e7e6e(0x23d),'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0xb1cad5=>{const _0xd19695=_0x2e7e6e;return _0xb1cad5['positional'](_0x463392['NFYku'],{'type':_0x463392[_0xd19695(0x1d4)],'description':_0x463392[_0xd19695(0x1b7)],'demandOption':!![]})['option']('id',{'type':_0x463392[_0xd19695(0x1d4)],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x221b82=>{const _0x52366d=_0x2e7e6e;await withTelemetry('add-scenario',()=>featureAddScenario(_0x221b82[_0x52366d(0x1f4)],_0x221b82['id']));})[_0x2e7e6e(0x153)](_0x463392[_0x2e7e6e(0x11f)],'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x4128c1=>{const _0x5cf3b5=_0x2e7e6e;return _0x4128c1[_0x5cf3b5(0xe9)](_0x463392[_0x5cf3b5(0x10d)],{'type':_0x463392[_0x5cf3b5(0x1d4)],'description':'New\x20scenario\x20description','demandOption':!![]})['option'](_0x5cf3b5(0x225),{'type':_0x463392[_0x5cf3b5(0x1ce)],'description':_0x5cf3b5(0x195),'demandOption':!![]})['option']('id',{'type':_0x463392['nNOic'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4eb79c=>{const _0x5066e7=_0x2e7e6e;await _0x463392[_0x5066e7(0x23b)](withTelemetry,_0x463392[_0x5066e7(0x186)],()=>featureEditScenario(_0x4eb79c['description'],{'id':_0x4eb79c['id'],'scenario':_0x4eb79c[_0x5066e7(0x225)]}));})[_0x2e7e6e(0x153)](_0x463392[_0x2e7e6e(0x12e)],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x212cfb=>{const _0x1674fd=_0x2e7e6e;return _0x212cfb['positional']('id',{'type':_0x463392[_0x1674fd(0x1d4)],'description':_0x463392[_0x1674fd(0x149)]})['option'](_0x463392['kHntR'],{'type':'array','description':_0x463392[_0x1674fd(0x261)]})['option'](_0x1674fd(0x136),{'type':_0x1674fd(0x1e8),'description':_0x463392['beGBO'],'default':![]});},async _0x4251c6=>{const _0x398b0c=_0x2e7e6e,_0x5b9aef=_0x4251c6[_0x463392['kHntR']],_0x5d4824=_0x5b9aef?_0x5b9aef[_0x398b0c(0x1f8)](_0x2879b6=>Number(_0x2879b6)):undefined;await withTelemetry(_0x463392[_0x398b0c(0x158)],()=>featureReportPrDescription(_0x4251c6['id'],{'excludeScenarios':_0x5d4824,'json':_0x4251c6[_0x398b0c(0x136)]}));})['command']('get-review\x20[id]',_0x2e7e6e(0x1d6),_0x4cff38=>{const _0x1a2513=_0x2e7e6e;return _0x4cff38['positional']('id',{'type':_0x1a2513(0x219),'description':_0x463392['cpymX']});},async _0x7b44cf=>{const _0x2c65f1=_0x2e7e6e;await _0x463392[_0x2c65f1(0x255)](withTelemetry,_0x2c65f1(0x203),()=>featureGetReview(_0x7b44cf['id']));})['command'](_0x463392['ZsqLk'],_0x2e7e6e(0x28d),_0x4ffeb6=>{const _0x1a9533=_0x2e7e6e;return _0x4ffeb6['positional']('id',{'type':_0x1a9533(0x219),'description':_0x1a9533(0x16b)});},async _0x1a2f56=>{const _0x36e877=_0x2e7e6e;await withTelemetry(_0x463392[_0x36e877(0xed)],()=>featureDelete(_0x1a2f56['id']));})[_0x2e7e6e(0x153)](_0x463392[_0x2e7e6e(0x21b)],_0x463392['FdUWw'],_0x1e7b8e=>{const _0x10e46b=_0x2e7e6e;return _0x1e7b8e['positional']('id',{'type':_0x463392[_0x10e46b(0x1d4)],'description':_0x463392[_0x10e46b(0x100)],'demandOption':!![]});},async _0x3323af=>{const _0x4c26f2=_0x2e7e6e;await withTelemetry(_0x463392[_0x4c26f2(0x235)],()=>featureRestore(_0x3323af['id']));})[_0x2e7e6e(0x153)](_0x463392[_0x2e7e6e(0x273)],'Initialize\x20Ranger\x20in\x20your\x20project',_0x4cfcc7=>{const _0x17c9e1=_0x2e7e6e,_0x85e880={'okfmm':_0x463392['oPBKf'],'NUKAl':function(_0x46ac4d,_0x134f84,_0x4c74a8){return _0x46ac4d(_0x134f84,_0x4c74a8);},'KjkEB':function(_0x36502f,_0x819c26,_0x4d2721){return _0x36502f(_0x819c26,_0x4d2721);},'JquyU':_0x17c9e1(0x10f),'dHsNf':_0x17c9e1(0x130),'lHxaY':_0x17c9e1(0x219),'xifxu':_0x463392['mvCuQ'],'uembm':_0x463392[_0x17c9e1(0x170)],'Qmocw':'scope','RYnup':_0x17c9e1(0x168),'GYZeP':_0x463392[_0x17c9e1(0x256)],'zHUQQ':_0x463392[_0x17c9e1(0x11d)],'obToK':_0x17c9e1(0x246),'aalNE':function(_0x303b07,_0x28801b){return _0x463392['UhnGr'](_0x303b07,_0x28801b);},'CclZu':'setup:skills','idsWX':_0x463392[_0x17c9e1(0x22b)],'hFwzu':_0x463392[_0x17c9e1(0xf2)],'cdEzo':_0x463392['dinnU'],'ZgLio':_0x463392[_0x17c9e1(0x234)]};return _0x4cfcc7[_0x17c9e1(0x238)]('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'](_0x17c9e1(0xf7),{'type':'string','description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})['command'](_0x17c9e1(0x29c),_0x17c9e1(0x18b),_0x44c3ca=>{const _0x4cf0b7=_0x17c9e1;return _0x44c3ca[_0x4cf0b7(0x123)](_0x463392['bZQRZ'],{'type':'string','description':_0x463392['kMeeB']})['option'](_0x4cf0b7(0x286),{'type':_0x463392[_0x4cf0b7(0x198)],'description':_0x463392[_0x4cf0b7(0x213)],'default':![]})['option'](_0x4cf0b7(0x1d9),{'type':_0x463392[_0x4cf0b7(0x198)],'description':_0x463392[_0x4cf0b7(0xe6)],'default':![]})[_0x4cf0b7(0x123)](_0x463392[_0x4cf0b7(0x18c)],{'type':_0x463392[_0x4cf0b7(0x198)],'description':_0x463392[_0x4cf0b7(0x1f2)],'default':![]})[_0x4cf0b7(0x123)](_0x463392['QAXAs'],{'type':'string','choices':[_0x463392['tXboX']],'hidden':!![],'description':_0x463392['XdocC']})[_0x4cf0b7(0x123)]('url',{'type':_0x463392['nNOic'],'description':_0x4cf0b7(0x1c3)})[_0x4cf0b7(0x123)]('force',{'type':_0x463392[_0x4cf0b7(0x198)],'description':_0x4cf0b7(0x1ef),'default':![]})[_0x4cf0b7(0x123)](_0x463392[_0x4cf0b7(0xd3)],{'type':_0x463392['dinnU'],'description':_0x4cf0b7(0x1ed),'default':![]})['option']('allow-insecure-localhost',{'type':'boolean','description':_0x4cf0b7(0x166),'default':![]})[_0x4cf0b7(0x123)](_0x4cf0b7(0xdb),{'type':_0x463392['dinnU'],'description':_0x4cf0b7(0x22f),'default':![]})['option'](_0x463392['KjcOY'],{'type':_0x4cf0b7(0x1e8),'description':_0x463392[_0x4cf0b7(0x14c)],'default':![]});},async _0x21778f=>{const _0x2244ce=_0x17c9e1;(_0x21778f[_0x85e880['okfmm']]||_0x21778f['mcp'])&&await _0x85e880['NUKAl'](withTelemetry,_0x85e880['okfmm'],()=>mcpBootstrap()),await _0x85e880['KjkEB'](withTelemetry,_0x85e880[_0x2244ce(0x22e)],_0x2e391e=>start(_0x21778f['token'],{'skipChromium':_0x21778f['skip-chromium'],'skipAuth':_0x21778f[_0x2244ce(0x1d9)],'withDeps':_0x21778f[_0x2244ce(0x29d)],'scope':_0x21778f['scope'],'url':_0x21778f['url'],'force':_0x21778f['force'],'opencode':_0x21778f['opencode'],'allowInsecureLocalhost':_0x21778f['allow-insecure-localhost']},_0x2e391e));})['command'](_0x463392['RFwiE'],_0x463392['hUUOQ'],_0x4d47cf=>{const _0xdaa333=_0x17c9e1;return _0x4d47cf[_0xdaa333(0x123)](_0x463392['HIOSl'],{'type':_0x463392['dinnU'],'description':_0xdaa333(0x1f6),'default':![]});},async _0x8a0286=>{const _0x445b1d=_0x17c9e1;await withTelemetry(_0x463392[_0x445b1d(0x298)],()=>ensureChromium(_0x8a0286[_0x445b1d(0x29d)]));})[_0x17c9e1(0x153)](_0x463392[_0x17c9e1(0x129)],_0x463392[_0x17c9e1(0x233)],_0x2035c4=>{const _0x564daf=_0x17c9e1;return _0x2035c4[_0x564daf(0x123)](_0x85e880['dHsNf'],{'type':_0x85e880['lHxaY'],'description':_0x85e880[_0x564daf(0x159)]})[_0x564daf(0x123)](_0x85e880['uembm'],{'type':_0x564daf(0x1e8),'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x17803f=>{const _0x5d4c6a=_0x17c9e1,_0x1f835c={'wBXeT':function(_0x41b5ab){return _0x41b5ab();},'fGmGM':function(_0x32f4ee,_0x5a2098){return _0x32f4ee(_0x5a2098);}};await withTelemetry(_0x463392[_0x5d4c6a(0x106)],async()=>{const _0x422899=_0x5d4c6a;if(_0x17803f[_0x422899(0x1d8)]){await _0x1f835c[_0x422899(0x138)](mcpBootstrap);const _0x1eeed0=await refreshCliToken();if(!_0x1eeed0)throw new Error(_0x422899(0x280));const _0x33bef6=await _0x1f835c[_0x422899(0x1e9)](getCurrentUser,_0x1eeed0);if(!_0x33bef6[_0x422899(0x228)])throw new Error(_0x422899(0x12f)+_0x33bef6[_0x422899(0xfe)]);console['log']('✓\x20Authenticated\x20to\x20'+_0x33bef6[_0x422899(0x2a2)]['organizationName']);return;}await _0x1f835c['fGmGM'](authenticate,_0x17803f[_0x422899(0x130)]);});})['command']('skills',_0x463392[_0x17c9e1(0x116)],_0x54e2e0=>{const _0x4447f1=_0x17c9e1;return _0x54e2e0[_0x4447f1(0x123)](_0x85e880['Qmocw'],{'type':_0x85e880['lHxaY'],'choices':[_0x4447f1(0x2a2),_0x4447f1(0x1d3)],'description':_0x85e880[_0x4447f1(0x20f)]})[_0x4447f1(0x123)]('opencode',{'type':'boolean','description':_0x85e880['GYZeP'],'default':![]});},async _0x4df8b2=>{const _0x4bf99f=_0x17c9e1;await _0x85e880['KjkEB'](withTelemetry,_0x85e880[_0x4bf99f(0x24a)],async()=>{const _0x5f27ae=_0x4bf99f,_0x472066=_0x4df8b2[_0x5f27ae(0x13b)];if(_0x4df8b2[_0x5f27ae(0x246)]){const _0x5cb129=await ensureOpencodePluginConfig(_0x472066);_0x5cb129&&await _0x85e880[_0x5f27ae(0x134)](installSkill,_0x85e880[_0x5f27ae(0x26d)],{'level':_0x5cb129[_0x5f27ae(0x13b)],'cliVersion':getCurrentVersion(),'platform':_0x85e880[_0x5f27ae(0x25f)]});}else await _0x85e880[_0x5f27ae(0x29b)](ensureClaudePlugin,_0x472066),await ensureClaudeSkills(_0x472066);});})[_0x17c9e1(0x153)](_0x463392[_0x17c9e1(0xfb)],'Set\x20up\x20a\x20local\x20browser\x20profile',_0x413ecf=>{const _0x244c60=_0x17c9e1;return _0x413ecf[_0x244c60(0x123)](_0x244c60(0x13b),{'type':_0x244c60(0x219),'choices':['user'],'description':_0x85e880['idsWX']})[_0x244c60(0x123)](_0x244c60(0x188),{'type':_0x85e880['lHxaY'],'description':'Base\x20URL\x20of\x20the\x20running\x20app'})['option'](_0x85e880['hFwzu'],{'type':_0x85e880['cdEzo'],'description':_0x244c60(0x257),'default':![]})[_0x244c60(0x123)](_0x85e880[_0x244c60(0x2a1)],{'type':_0x244c60(0x1e8),'description':_0x244c60(0x1ef),'default':![]})['option']('allow-insecure-localhost',{'type':_0x85e880[_0x244c60(0x1b5)],'description':_0x244c60(0x166),'default':![]});},async _0x53be29=>{const _0xb42757=_0x17c9e1,_0x45df41=_0x53be29['scope'];_0x463392['wpRer'](_0x45df41,undefined)&&_0x463392['kOfjH'](_0x45df41,_0xb42757(0x2a2))&&(console[_0xb42757(0xfe)](_0x463392[_0xb42757(0x1fe)](_0xb42757(0x293)+_0x45df41+_0xb42757(0x258),'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20')+_0xb42757(0xe8)),process['exit'](0x1)),await _0x463392[_0xb42757(0x255)](withTelemetry,_0x463392['xepjO'],_0x2b6faa=>ensureLocalEnv({'url':_0x53be29['url'],'force':_0x53be29['force'],'allowInsecureLocalhost':_0x53be29['allow-insecure-localhost'],'scope':'user'},_0x2b6faa));})['option']('skip-chromium',{'type':_0x463392[_0x17c9e1(0x198)],'description':_0x463392[_0x17c9e1(0x213)],'default':![]})[_0x17c9e1(0x123)](_0x463392[_0x17c9e1(0x216)],{'type':_0x17c9e1(0x219),'choices':[_0x463392['tXboX']],'hidden':!![],'description':_0x463392['XdocC']})[_0x17c9e1(0x123)](_0x463392['mcvWE'],{'type':_0x17c9e1(0x219),'description':_0x17c9e1(0x101)})[_0x17c9e1(0x123)](_0x463392['SYVhD'],{'type':'boolean','description':_0x17c9e1(0x1ef),'default':![]})['option'](_0x463392['GaKns'],{'type':_0x463392[_0x17c9e1(0x198)],'description':_0x463392['fQOaD'],'default':![]})['option'](_0x463392[_0x17c9e1(0xf9)],{'type':_0x463392['dinnU'],'description':_0x17c9e1(0x296),'default':![]})[_0x17c9e1(0x123)](_0x463392['oPBKf'],{'type':_0x463392['dinnU'],'description':_0x17c9e1(0x1fa),'default':![]})['option']('skip-auth',{'type':'boolean','description':_0x463392['CJqoZ'],'default':![]})['option'](_0x17c9e1(0x29d),{'type':_0x463392[_0x17c9e1(0x198)],'description':_0x463392['FjOSg'],'default':![]})[_0x17c9e1(0x123)](_0x17c9e1(0x130),{'type':_0x17c9e1(0x219),'hidden':!![],'description':_0x463392['GnIij']});},async _0x59fdc3=>{const _0x418e4d=_0x2e7e6e,_0x156c95=_0x59fdc3['tokenOrSubcommand'],_0x1cc724=_0x59fdc3[_0x418e4d(0x130)]??_0x156c95;_0x59fdc3['mcp-bootstrap']&&await withTelemetry(_0x418e4d(0xdb),()=>mcpBootstrap()),await _0x463392['WGpXn'](withTelemetry,_0x463392['acQwh'],_0x42b089=>start(_0x1cc724,{'skipChromium':_0x59fdc3[_0x418e4d(0x286)],'skipAuth':_0x59fdc3[_0x418e4d(0x1d9)],'withDeps':_0x59fdc3['with-deps'],'scope':_0x59fdc3[_0x418e4d(0x13b)],'url':_0x59fdc3[_0x418e4d(0x188)],'force':_0x59fdc3['force'],'opencode':_0x59fdc3[_0x418e4d(0x246)],'allowInsecureLocalhost':_0x59fdc3['allow-insecure-localhost']},_0x42b089));})['command']('setup-ci\x20<token>',_0x2e7e6e(0x24c),_0x17e8c3=>{const _0xbb7af9=_0x2e7e6e;return _0x17e8c3['positional']('token',{'type':'string','description':_0x463392[_0xbb7af9(0x1db)],'demandOption':!![]})[_0xbb7af9(0x123)]('profile',{'type':_0xbb7af9(0x219),'description':_0x463392[_0xbb7af9(0x1f1)]})['option'](_0x463392['cnAVE'],{'type':_0x463392['nNOic'],'description':_0x463392[_0xbb7af9(0xe7)]})[_0xbb7af9(0x123)](_0x463392['muWla'],{'type':_0xbb7af9(0x1e8),'description':_0x463392[_0xbb7af9(0x1a3)],'default':![]});},async _0x5d5dfc=>{const _0x287743=_0x2e7e6e;await withTelemetry('setup-ci',_0xa67b29=>setupCi(_0x5d5dfc[_0x287743(0x130)],{'profile':_0x5d5dfc['profile'],'baseUrl':_0x5d5dfc['base-url'],'skipChromium':_0x5d5dfc[_0x287743(0x286)]},_0xa67b29));})['command'](_0x463392[_0x2e7e6e(0x129)],_0x463392[_0x2e7e6e(0x244)],()=>{},async()=>{const _0x9fafcf=_0x2e7e6e;await _0x463392[_0x9fafcf(0x1c2)](withTelemetry,_0x9fafcf(0x103),()=>login());})[_0x2e7e6e(0x153)](_0x463392['CBAfp'],_0x463392[_0x2e7e6e(0x290)],_0x2fda2a=>{const _0xbc1fdd=_0x2e7e6e;return _0x2fda2a[_0xbc1fdd(0x123)](_0xbc1fdd(0x246),{'type':'boolean','description':_0x463392[_0xbc1fdd(0x243)],'default':![]})[_0xbc1fdd(0x123)]('scope',{'type':_0x463392[_0xbc1fdd(0x1d4)],'choices':['user','project'],'description':'Install\x20scope\x20for\x20skills'});},async _0x4da323=>{const _0x28c0a3=_0x2e7e6e,_0x1255c5=Boolean(_0x4da323[_0x28c0a3(0x246)]);await withTelemetry('skillup',()=>skillup({'autoInstall':_0x4da323['scope'],'platform':_0x1255c5?_0x28c0a3(0x246):'claude'}));})['command'](_0x463392[_0x2e7e6e(0x1c6)],_0x463392['CwrtR'],()=>{},async()=>{const _0x442348=_0x2e7e6e;await _0x463392[_0x442348(0x299)](withTelemetry,_0x463392[_0x442348(0x1c6)],()=>clean());})[_0x2e7e6e(0x153)]([_0x2e7e6e(0x18e),_0x463392[_0x2e7e6e(0xfb)]],_0x463392['KQrYM'],_0x25208f=>{const _0xb6c35d=_0x2e7e6e,_0x228d20={'USKLm':_0xb6c35d(0xda),'EVBcY':_0xb6c35d(0x219),'UEZQn':_0x463392['plRFm'],'ViebL':_0x463392['GUCfq'],'JHKIt':_0x463392['dZyUy'],'pCbOB':_0x463392[_0xb6c35d(0xf9)],'eYTPE':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','rDQGp':function(_0x2687f6,_0x12f938,_0x4d593c){return _0x2687f6(_0x12f938,_0x4d593c);},'wDomU':function(_0x14e6ef,_0x3c3176){const _0x4a0f11=_0xb6c35d;return _0x463392[_0x4a0f11(0x13a)](_0x14e6ef,_0x3c3176);},'wUxOY':_0x463392['wuent'],'URqMK':function(_0x3e5cb7,_0x1bf905,_0xe4c0d1){return _0x3e5cb7(_0x1bf905,_0xe4c0d1);},'nhAxs':_0xb6c35d(0x169),'UHRGC':_0x463392['fOOqM'],'WHYgx':_0xb6c35d(0xe5),'JbPDb':'profile\x20config\x20get','SHsUV':_0xb6c35d(0x18e),'dLRCL':_0x463392['aVScg']};return _0x25208f[_0xb6c35d(0x238)](PROFILE_HELP)['command'](_0xb6c35d(0x217),_0x463392[_0xb6c35d(0x232)],_0x4cf215=>{const _0x2a4263=_0xb6c35d;return _0x4cf215['positional'](_0x463392['sySdV'],{'type':_0x463392[_0x2a4263(0x1d4)],'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':'boolean','description':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})['option'](_0x2a4263(0x1d9),{'type':_0x463392['dinnU'],'description':_0x463392[_0x2a4263(0x155)],'default':![]})[_0x2a4263(0x123)](_0x2a4263(0x188),{'type':'string','description':_0x463392['foRAb']})[_0x2a4263(0x123)](_0x2a4263(0x132),{'type':_0x2a4263(0x1e8),'description':_0x463392[_0x2a4263(0x18f)],'default':![]})['option'](_0x2a4263(0x1ba),{'type':_0x2a4263(0x219),'description':_0x463392[_0x2a4263(0xf0)]})[_0x2a4263(0x123)]('allow-insecure-localhost',{'type':_0x463392['dinnU'],'description':_0x2a4263(0x296),'default':![]})['option'](_0x2a4263(0x152),{'type':_0x2a4263(0x1e8),'description':_0x463392[_0x2a4263(0x180)],'default':![]})['option'](_0x463392['VJOre'],{'type':_0x463392['nNOic'],'array':!![],'description':_0x463392['jpWfC']})[_0x2a4263(0x123)](_0x2a4263(0x13b),{'type':_0x2a4263(0x219),'choices':[_0x2a4263(0x2a2),'project'],'description':_0x463392[_0x2a4263(0x27c)]})['option'](_0x463392['azXPt'],{'type':_0x2a4263(0x1e8),'alias':'y','description':_0x2a4263(0x143),'default':![]});},async _0x38a181=>{const _0x19fbc8=_0xb6c35d;await _0x463392[_0x19fbc8(0x1a2)](withTelemetry,_0x463392[_0x19fbc8(0x194)],_0x549dbe=>addEnv(_0x38a181[_0x19fbc8(0xda)],{'ci':_0x38a181['ci'],'skipAuth':_0x38a181['skip-auth'],'url':_0x38a181[_0x19fbc8(0x188)],'force':_0x38a181['force'],'cdpEndpoint':_0x38a181['cdp-endpoint'],'allowInsecureLocalhost':_0x38a181[_0x19fbc8(0x17a)],'safeMode':_0x38a181[_0x19fbc8(0x152)],'setupHeader':_0x38a181[_0x19fbc8(0x12a)],'scope':_0x38a181[_0x19fbc8(0x13b)],'yes':_0x38a181[_0x19fbc8(0x22c)]},_0x549dbe),{'isElectron':Boolean(_0x38a181['cdp-endpoint'])});})[_0xb6c35d(0x153)](_0xb6c35d(0x1f3),_0xb6c35d(0x17b),_0x53a35b=>{const _0x492a73=_0xb6c35d;return _0x53a35b[_0x492a73(0xe9)](_0x228d20[_0x492a73(0x1c9)],{'type':_0x228d20[_0x492a73(0x26f)],'description':_0x228d20[_0x492a73(0x208)],'demandOption':!![]});},async _0x56ff68=>{const _0x1875ea=_0xb6c35d;await withTelemetry(_0x228d20[_0x1875ea(0x12b)],()=>useEnv(_0x56ff68['profile-name']));})[_0xb6c35d(0x153)](_0xb6c35d(0xd2),_0x463392[_0xb6c35d(0x1af)],_0x3c70e6=>{const _0x2ee4a1=_0xb6c35d;return _0x3c70e6[_0x2ee4a1(0xe9)]('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x297b72=>{const _0x482f66=_0xb6c35d;await withTelemetry(_0x482f66(0x19a),()=>authEncrypt(_0x297b72['profile']));})[_0xb6c35d(0x153)]('ls',_0x463392['UoNqG'],()=>{},async()=>{const _0x20d92f=_0xb6c35d;await withTelemetry(_0x463392[_0x20d92f(0x250)],()=>envList());})[_0xb6c35d(0x153)](_0x463392['Qqsxo'],'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x19ec35=>{const _0x190127=_0xb6c35d;return _0x19ec35['positional'](_0x228d20[_0x190127(0x1c9)],{'type':'string','description':_0x228d20[_0x190127(0x15a)],'demandOption':!![]})['option'](_0x228d20[_0x190127(0x209)],{'type':'boolean','description':_0x228d20[_0x190127(0xd6)]});},async _0xf8405b=>{const _0x32dffe=_0xb6c35d;await _0x228d20[_0x32dffe(0x214)](withTelemetry,_0x32dffe(0x196),_0x419aca=>updateEnv(_0xf8405b['profile-name'],_0x419aca,{'allowInsecureLocalhost':_0xf8405b[_0x32dffe(0x17a)]}));})[_0xb6c35d(0x153)]('login\x20<name>',![],_0x2fca8a=>{const _0x1274f5=_0xb6c35d;return _0x2fca8a['positional'](_0x1274f5(0x260),{'type':'string','description':_0x463392[_0x1274f5(0xd4)],'demandOption':!![]});},async _0x250836=>{const _0xa62445=_0xb6c35d;await _0x228d20[_0xa62445(0x1a0)](withTelemetry,_0x228d20[_0xa62445(0x17f)],async()=>{const _0x533370=_0xa62445,_0x4afb66=process['env']['RANGER_TEST_USERNAME'],_0x4077ee=process['env'][_0x533370(0x1ff)];(!_0x4afb66||!_0x4077ee)&&(console['error'](_0x533370(0x277)),process['exit'](0x1));const _0x3a601d=_0x250836['name'],_0x6d89ca=await serverSideLogin(_0x3a601d,{'force':!![]});_0x228d20['wDomU'](_0x6d89ca['status'],_0x533370(0x10b))&&(console[_0x533370(0xfe)](_0x533370(0x28e)),process[_0x533370(0x1d5)](0x1)),_0x6d89ca['status']==='failed'&&(console['error']('Login\x20failed:\x20'+(_0x6d89ca['error']??_0x228d20['wUxOY'])),_0x6d89ca['test_output']&&console[_0x533370(0xfe)](_0x6d89ca[_0x533370(0x164)]),process['exit'](0x1)),console['log'](_0x533370(0x113)+_0x3a601d+_0x533370(0x19d));});})[_0xb6c35d(0x153)](_0x463392['FLZxR'],_0x463392[_0xb6c35d(0x16d)],_0x2440e3=>{const _0x3bf6a7=_0xb6c35d;return _0x2440e3['positional'](_0x463392[_0x3bf6a7(0x29a)],{'type':_0x463392['nNOic'],'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})['option']('all',{'type':_0x463392[_0x3bf6a7(0x198)],'description':_0x463392[_0x3bf6a7(0x151)],'default':![]})['option']('dry-run',{'type':'boolean','description':_0x463392['Ilymf'],'default':![]})[_0x3bf6a7(0x123)](_0x3bf6a7(0x22c),{'type':_0x463392[_0x3bf6a7(0x198)],'alias':'y','description':_0x463392[_0x3bf6a7(0x279)],'default':![]})[_0x3bf6a7(0x123)]('save-creds',{'type':'boolean','description':_0x463392[_0x3bf6a7(0x202)],'default':![]});},async _0x43d685=>{const _0x4539dd=_0xb6c35d;await withTelemetry('profile\x20migrate',_0x2572a0=>migrateProfile({'profileName':_0x43d685[_0x4539dd(0xda)],'all':_0x43d685[_0x4539dd(0x29c)],'dryRun':_0x43d685[_0x4539dd(0x18d)],'yes':_0x43d685[_0x4539dd(0x22c)],'saveCreds':_0x43d685[_0x4539dd(0x15f)]},_0x2572a0));})['command']('config',_0x463392[_0xb6c35d(0xd5)],_0x3cf6ba=>{const _0x4b8756=_0xb6c35d,_0x55b74f={'aUkdo':'string','dXpux':_0x463392['fOOqM'],'Msqlp':_0x463392[_0x4b8756(0x156)],'vLtrg':_0x463392['bhMDl'],'AkBgv':function(_0x4d9818,_0x568048,_0x2bdd5f){return _0x4d9818(_0x568048,_0x2bdd5f);},'jWywb':_0x463392[_0x4b8756(0x16e)]};return _0x3cf6ba['usage'](PROFILE_CONFIG_HELP)[_0x4b8756(0x153)](_0x463392[_0x4b8756(0x1d1)],_0x463392[_0x4b8756(0x26c)],_0x31d555=>{const _0x57176f=_0x4b8756;return _0x31d555[_0x57176f(0xe9)]('profile',{'type':_0x55b74f['aUkdo'],'description':_0x55b74f[_0x57176f(0x276)],'demandOption':!![]})[_0x57176f(0xe9)]('key',{'type':'string','description':_0x55b74f[_0x57176f(0x147)],'demandOption':!![]})['positional']('value',{'type':_0x55b74f[_0x57176f(0x22d)],'description':_0x55b74f[_0x57176f(0x119)],'demandOption':!![]});},async _0x576cad=>{const _0x429f7e=_0x4b8756;await _0x55b74f['AkBgv'](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x576cad[_0x429f7e(0x18e)],_0x576cad[_0x429f7e(0x284)],_0x576cad['value']));})[_0x4b8756(0x153)](_0x4b8756(0x237),_0x463392[_0x4b8756(0x23c)],_0x183b91=>{const _0x3006d8=_0x4b8756;return _0x183b91[_0x3006d8(0xe9)](_0x3006d8(0x18e),{'type':'string','description':_0x228d20['UHRGC'],'demandOption':!![]})['positional']('key',{'type':_0x228d20['EVBcY'],'description':_0x228d20['WHYgx'],'demandOption':!![]});},async _0x4544e4=>{const _0x3d941c=_0x4b8756;await withTelemetry(_0x228d20[_0x3d941c(0x24b)],()=>configGet(_0x4544e4[_0x3d941c(0x18e)],_0x4544e4[_0x3d941c(0x284)]));})['command'](_0x4b8756(0x120),_0x463392[_0x4b8756(0x1eb)],_0x3cf0c2=>{const _0x39b281=_0x4b8756;return _0x3cf0c2[_0x39b281(0xe9)](_0x39b281(0x18e),{'type':'string','description':_0x228d20[_0x39b281(0x15b)],'demandOption':!![]});},async _0x33ecc1=>{const _0x21d269=_0x4b8756;await _0x55b74f[_0x21d269(0x11e)](withTelemetry,'profile\x20config\x20list',()=>configList(_0x33ecc1['profile']));})['command']('unset\x20<profile>\x20<key>','Remove\x20a\x20config\x20value',_0x381cf8=>{const _0x5359df=_0x4b8756;return _0x381cf8['positional'](_0x228d20[_0x5359df(0x127)],{'type':'string','description':_0x5359df(0x107),'demandOption':!![]})['positional'](_0x5359df(0x284),{'type':_0x228d20['EVBcY'],'description':_0x228d20[_0x5359df(0x163)],'demandOption':!![]});},async _0x425a6c=>{const _0x176b38=_0x4b8756;await _0x55b74f[_0x176b38(0x11e)](withTelemetry,_0x55b74f[_0x176b38(0x21d)],()=>configUnset(_0x425a6c['profile'],_0x425a6c['key']));})[_0x4b8756(0x153)](_0x4b8756(0x1a4),_0x4b8756(0x121),_0x209406=>{const _0x23aefa=_0x4b8756;return _0x209406[_0x23aefa(0xe9)]('profile',{'type':'string','description':_0x23aefa(0x107),'demandOption':!![]});},async _0x237a77=>{const _0x29f11c=_0x4b8756;await withTelemetry('profile\x20config\x20reset',()=>configReset(_0x237a77[_0x29f11c(0x18e)]));})['demandCommand'](0x1,_0x463392[_0x4b8756(0x1ee)]);})[_0xb6c35d(0x26a)](0x1,_0xb6c35d(0x115));})['command']('status','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{await withTelemetry('status',()=>status());})[_0x2e7e6e(0x153)]('update',_0x463392['xcCqb'],()=>{},async()=>{const _0x274982=_0x2e7e6e;await _0x463392['tKhVn'](withTelemetry,_0x274982(0x21f),()=>update());})['command']('print-access-token',_0x463392['KDnYS'],()=>{},async()=>{const _0x4555f1=_0x2e7e6e,_0x398241={'DyKRi':function(_0x571636){return _0x571636();},'mUGEc':_0x4555f1(0x28a)};await _0x463392['tKhVn'](withTelemetry,_0x4555f1(0x117),async()=>{const _0x70ffdd=_0x4555f1,_0x3a687f=await _0x398241[_0x70ffdd(0x178)](getToken);if(!_0x3a687f)throw new Error(_0x398241['mUGEc']);console['log'](_0x3a687f);});})['command']('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x5d6813=>{const _0x52742d=_0x2e7e6e;return _0x5d6813[_0x52742d(0x123)](_0x463392[_0x52742d(0x245)],{'type':_0x463392['nNOic'],'description':'Optional\x20feature\x20ID'})[_0x52742d(0x123)]('profile',{'type':_0x52742d(0x219),'description':_0x463392['qScNm']})['option'](_0x463392['nrBDg'],{'type':_0x52742d(0x219),'description':_0x463392['XesWq']})['option'](_0x52742d(0x225),{'type':_0x463392['mllfF'],'description':_0x52742d(0x229)})[_0x52742d(0x123)](_0x463392['TcPwc'],{'type':_0x463392['nNOic'],'description':_0x463392['TPIEC']})['option'](_0x463392[_0x52742d(0x1fc)],{'type':_0x463392[_0x52742d(0x1d4)],'description':_0x463392['RfqMB']})['option'](_0x463392['ydLRU'],{'type':_0x52742d(0x219),'description':_0x463392[_0x52742d(0x13c)]})['option'](_0x52742d(0xfa),{'type':_0x52742d(0x1e8),'description':_0x463392[_0x52742d(0x12c)],'default':![]})['option'](_0x52742d(0x1d2),{'type':_0x463392[_0x52742d(0x1d4)],'hidden':!![],'choices':[_0x52742d(0x27b),_0x463392[_0x52742d(0x227)],'blocked',_0x52742d(0xe3),'incomplete']})[_0x52742d(0x123)](_0x463392['jSaLr'],{'type':_0x463392['dinnU'],'hidden':!![]})['option'](_0x463392['qbzYH'],{'type':_0x463392[_0x52742d(0x1d4)],'hidden':!![]})['option'](_0x463392[_0x52742d(0x269)],{'type':_0x463392['nNOic'],'hidden':!![]})[_0x52742d(0x123)](_0x52742d(0x2a0),{'type':_0x463392['mllfF'],'hidden':!![]});},async _0x395c7f=>{await runGoCommand(_0x395c7f);})[_0x2e7e6e(0x153)](_0x463392[_0x2e7e6e(0x16f)],![],_0xc5e174=>{const _0x170f4e=_0x2e7e6e,_0x45dc5e={'WLLzp':_0x463392[_0x170f4e(0x1d4)],'VokGG':_0x463392['fOOqM'],'iZwaL':function(_0x55fbd4,_0x3bb73e,_0x30e2bb){return _0x463392['wgIGX'](_0x55fbd4,_0x3bb73e,_0x30e2bb);},'IMwqy':_0x170f4e(0x215),'UnFVw':_0x170f4e(0xe4),'GdscJ':function(_0x1b92b8,_0x26b4a2){const _0x343df8=_0x170f4e;return _0x463392[_0x343df8(0x19b)](_0x1b92b8,_0x26b4a2);}};return _0xc5e174[_0x170f4e(0x153)](_0x463392['ewXbp'],![],_0x3fe14d=>{const _0xc0c5ac=_0x170f4e;return _0x3fe14d[_0xc0c5ac(0xe9)](_0xc0c5ac(0x18e),{'type':_0x45dc5e['WLLzp'],'description':_0x45dc5e[_0xc0c5ac(0x265)],'demandOption':!![]});},async _0x4922ee=>{const _0x31ad52=_0x170f4e;_0x45dc5e[_0x31ad52(0x189)](warnRenamed,_0x45dc5e['IMwqy'],_0x45dc5e['UnFVw']),await _0x45dc5e[_0x31ad52(0x1bf)](authEncrypt,_0x4922ee[_0x31ad52(0x18e)]);})['demandCommand'](0x1,_0x463392['MlviX']);},()=>{})['command'](_0x463392[_0x2e7e6e(0x165)],![],_0x40be6e=>{const _0x1cbe44=_0x2e7e6e;return _0x40be6e[_0x1cbe44(0xe9)](_0x463392[_0x1cbe44(0x204)],{'type':_0x463392[_0x1cbe44(0x1d4)],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})['option']('skip-chromium',{'type':_0x463392['dinnU'],'description':_0x463392['GtavJ'],'default':![]})[_0x1cbe44(0x123)](_0x1cbe44(0x13b),{'type':_0x463392['nNOic'],'choices':[_0x463392[_0x1cbe44(0x19f)]],'hidden':!![],'description':_0x463392[_0x1cbe44(0x22b)]})[_0x1cbe44(0x123)](_0x1cbe44(0x188),{'type':_0x463392['nNOic'],'description':_0x1cbe44(0x101)})[_0x1cbe44(0x123)](_0x463392[_0x1cbe44(0x234)],{'type':_0x463392[_0x1cbe44(0x198)],'description':_0x1cbe44(0x1ef),'default':![]})[_0x1cbe44(0x123)](_0x463392[_0x1cbe44(0xf2)],{'type':_0x463392[_0x1cbe44(0x198)],'description':_0x1cbe44(0x161),'default':![]})[_0x1cbe44(0x123)](_0x463392['HIOSl'],{'type':_0x463392[_0x1cbe44(0x198)],'description':_0x1cbe44(0x28f),'default':![]});},async _0x497b31=>{const _0x1a4295=_0x2e7e6e;warnRenamed('ranger\x20start',_0x463392['JMqhq']),await _0x463392['uNTdf'](withTelemetry,_0x463392['acQwh'],_0x524321=>start(_0x497b31[_0x1a4295(0x130)],{'skipChromium':_0x497b31['skip-chromium'],'skipAuth':_0x497b31[_0x1a4295(0x1d9)],'withDeps':_0x497b31[_0x1a4295(0x29d)],'scope':_0x497b31[_0x1a4295(0x13b)],'url':_0x497b31['url'],'force':_0x497b31['force']},_0x524321));})['command'](_0x2e7e6e(0x1aa),![],_0x4898fe=>{const _0x2f6ec9=_0x2e7e6e;return _0x4898fe['option'](_0x463392['qbzYH'],{'type':_0x463392['nNOic'],'description':_0x463392['CtBOJ']})[_0x2f6ec9(0x123)](_0x463392[_0x2f6ec9(0x269)],{'type':_0x463392['nNOic'],'description':_0x463392['iIDXV']})['option'](_0x2f6ec9(0x2a0),{'type':'number','description':'Scenario\x20index\x20(1-based)'})['option'](_0x463392['WReyH'],{'type':_0x463392[_0x2f6ec9(0x1d4)],'hidden':!![]})[_0x2f6ec9(0x123)](_0x2f6ec9(0x25a),{'type':_0x2f6ec9(0x219),'hidden':!![]})['option']('scenario',{'type':'number','hidden':!![]})[_0x2f6ec9(0x123)](_0x463392['TcPwc'],{'type':_0x2f6ec9(0x219),'description':_0x463392['TPIEC']})[_0x2f6ec9(0x123)](_0x463392[_0x2f6ec9(0x1fc)],{'type':_0x2f6ec9(0x219),'description':_0x463392[_0x2f6ec9(0xd7)]})['option'](_0x463392['ydLRU'],{'type':'string','hidden':!![]})['option'](_0x2f6ec9(0xfa),{'type':_0x463392['dinnU'],'hidden':!![],'default':![]})['option'](_0x463392['WPqoH'],{'type':_0x463392['nNOic'],'hidden':!![],'choices':['verified',_0x463392[_0x2f6ec9(0x227)],'blocked','failed',_0x463392[_0x2f6ec9(0x10a)]]});},async _0x4e09c3=>{await _0x463392['cSvkX'](runGoCommand,_0x4e09c3,!![]);})['command'](_0x463392[_0x2e7e6e(0x20c)],![],_0x4a47c9=>{const _0x4ae0d3=_0x2e7e6e;return _0x4a47c9[_0x4ae0d3(0xe9)](_0x463392[_0x4ae0d3(0x1a6)],{'type':_0x463392['nNOic'],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x4ae0d3(0x123)]('ci',{'type':_0x463392['dinnU'],'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x4ae0d3(0x123)](_0x463392[_0x4ae0d3(0xf2)],{'type':_0x463392['dinnU'],'description':_0x463392[_0x4ae0d3(0x155)],'default':![]});},async _0x21e5e1=>{const _0x34b74e=_0x2e7e6e;_0x463392[_0x34b74e(0x173)](warnRenamed,_0x463392['ypRLl'],_0x463392[_0x34b74e(0x271)]),await _0x463392[_0x34b74e(0x200)](withTelemetry,_0x34b74e(0x140),_0x1534ec=>addEnv(_0x21e5e1[_0x34b74e(0x1cf)],{'ci':_0x21e5e1['ci'],'skipAuth':_0x21e5e1[_0x34b74e(0x1d9)]},_0x1534ec));})[_0x2e7e6e(0x153)](_0x463392[_0x2e7e6e(0x1d7)],![],_0xf09cce=>{const _0xa47921=_0x2e7e6e;return _0xf09cce[_0xa47921(0xe9)](_0x463392[_0xa47921(0x1a6)],{'type':'string','description':_0xa47921(0x11b),'demandOption':!![]});},async _0x5baf8f=>{const _0x40af07=_0x2e7e6e;warnRenamed(_0x463392['CCHDW'],_0x40af07(0xdd)),await _0x463392[_0x40af07(0x14e)](withTelemetry,_0x40af07(0x1e5),()=>useEnv(_0x5baf8f['env-name']));})[_0x2e7e6e(0x153)](_0x463392[_0x2e7e6e(0x1e3)],![],_0x469bac=>{const _0x11cbf4=_0x2e7e6e,_0x2b8f86={'ROBmg':'string','VfjlS':_0x463392[_0x11cbf4(0x156)],'YQJpA':_0x11cbf4(0x218),'SkcBg':_0x11cbf4(0x1b6),'wLRtT':_0x11cbf4(0xe5),'IQWkG':'ranger\x20profile\x20config\x20list','sKueZ':_0x463392[_0x11cbf4(0xf4)]};return _0x469bac[_0x11cbf4(0x153)](_0x463392['poIvl'],![],_0x1343a2=>{const _0x5687ac=_0x11cbf4;return _0x1343a2[_0x5687ac(0xe9)](_0x5687ac(0x218),{'type':_0x2b8f86['ROBmg'],'description':'Environment\x20name','demandOption':!![]})['positional']('key',{'type':_0x5687ac(0x219),'description':_0x2b8f86[_0x5687ac(0x21c)],'demandOption':!![]})[_0x5687ac(0xe9)]('value',{'type':_0x2b8f86[_0x5687ac(0x15d)],'description':_0x5687ac(0x167),'demandOption':!![]});},async _0x4bae43=>{const _0x52b5e3=_0x11cbf4;warnRenamed(_0x463392['dlmzF'],_0x52b5e3(0x1a1)),await _0x463392[_0x52b5e3(0x1b9)](withTelemetry,_0x463392['HUkYw'],()=>configSet(_0x4bae43['env'],_0x4bae43['key'],_0x4bae43[_0x52b5e3(0x251)]));})[_0x11cbf4(0x153)](_0x463392['ENPaR'],![],_0x512c8a=>{const _0x4c647d=_0x11cbf4;return _0x512c8a[_0x4c647d(0xe9)](_0x2b8f86['YQJpA'],{'type':_0x2b8f86['ROBmg'],'description':_0x2b8f86[_0x4c647d(0x145)],'demandOption':!![]})['positional']('key',{'type':_0x2b8f86['ROBmg'],'description':_0x2b8f86['wLRtT'],'demandOption':!![]});},async _0x1a5ba0=>{const _0x26a345=_0x11cbf4;warnRenamed(_0x463392['rljOn'],'ranger\x20profile\x20config\x20get'),await withTelemetry(_0x463392['OOKDs'],()=>configGet(_0x1a5ba0[_0x26a345(0x218)],_0x1a5ba0['key']));})['command'](_0x463392[_0x11cbf4(0x223)],![],_0xbafc7a=>{const _0x190836=_0x11cbf4;return _0xbafc7a[_0x190836(0xe9)]('env',{'type':_0x190836(0x219),'description':_0x2b8f86[_0x190836(0x145)],'demandOption':!![]});},async _0x3cb483=>{const _0x301204=_0x11cbf4;warnRenamed('ranger\x20config\x20list',_0x2b8f86[_0x301204(0x1a9)]),await withTelemetry(_0x301204(0x254),()=>configList(_0x3cb483[_0x301204(0x218)]));})[_0x11cbf4(0x153)](_0x463392['UeJcA'],![],_0x4e9fb3=>{const _0x3583d1=_0x11cbf4;return _0x4e9fb3[_0x3583d1(0xe9)]('env',{'type':_0x463392['nNOic'],'description':_0x3583d1(0x1b6),'demandOption':!![]})['positional']('key',{'type':_0x3583d1(0x219),'description':_0x463392['aVScg'],'demandOption':!![]});},async _0x51107a=>{const _0x11a676=_0x11cbf4;warnRenamed('ranger\x20config\x20unset','ranger\x20profile\x20config\x20unset'),await withTelemetry(_0x2b8f86[_0x11a676(0x1b4)],()=>configUnset(_0x51107a['env'],_0x51107a['key']));})['demandCommand'](0x1,_0x463392[_0x11cbf4(0x1f9)]);})['command'](_0x2e7e6e(0x218),![],_0x2ec599=>{const _0xcd26cb=_0x2e7e6e,_0x45bc86={'UiXYi':_0x463392['NsZLm'],'ceoFq':_0xcd26cb(0x19c),'kNsQi':function(_0x17f10d,_0x3a55f6,_0x569a00){const _0x1b5168=_0xcd26cb;return _0x463392[_0x1b5168(0x11c)](_0x17f10d,_0x3a55f6,_0x569a00);}};return _0x2ec599['command']('ls',![],()=>{},async()=>{const _0xa281a9=_0xcd26cb;warnRenamed(_0x463392['QVztI'],_0xa281a9(0x1ae)),await withTelemetry(_0x463392['vinTR'],()=>envList());})['command'](_0x463392['bGDlk'],![],_0x46b30e=>{const _0x1211dd=_0xcd26cb;return _0x46b30e[_0x1211dd(0xe9)](_0x45bc86['UiXYi'],{'type':'string','description':_0x45bc86['ceoFq'],'demandOption':!![]});},async _0x2c93a4=>{const _0x379dcf=_0xcd26cb;_0x45bc86['kNsQi'](warnRenamed,'ranger\x20env\x20update','ranger\x20profile\x20update'),await _0x45bc86['kNsQi'](withTelemetry,'env\x20update',_0x3606fa=>updateEnv(_0x2c93a4[_0x379dcf(0x1cf)],_0x3606fa));})['demandCommand'](0x1,_0x463392['gpQmS']);})['command'](_0x463392[_0x2e7e6e(0x245)],![],_0x5bcd8a=>{const _0x4f48bf=_0x2e7e6e,_0x4b82c7={'CuCXK':_0x463392['PdWxV'],'nGuLp':'description','Jztvj':_0x4f48bf(0x219),'MoBpT':_0x463392[_0x4f48bf(0x274)],'bOhOd':'checklist','wTNyY':_0x463392[_0x4f48bf(0x25c)],'tdnLS':_0x4f48bf(0x225),'RBuik':_0x4f48bf(0x27a),'WZnCC':_0x463392[_0x4f48bf(0x1ac)],'ImVzu':'limit','EkdQM':_0x463392[_0x4f48bf(0x24e)],'HqtKn':_0x463392[_0x4f48bf(0x198)],'RXcUZ':_0x463392['HqkZZ'],'VZEri':function(_0x2b5bfd,_0x8f3dc,_0x526d8d){return _0x2b5bfd(_0x8f3dc,_0x526d8d);},'AdAda':'ranger\x20list','brinw':_0x463392['MZKFi'],'TwDFP':_0x463392['tClkm'],'AWFWZ':function(_0x26244c,_0x533d1d,_0x5c66c0){return _0x26244c(_0x533d1d,_0x5c66c0);},'GhydO':_0x4f48bf(0x109),'DqdQy':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','zywTc':'Feature\x20review\x20ID\x20to\x20restore'};return _0x5bcd8a['command'](_0x4f48bf(0x13d),![],_0x3483ca=>{const _0x444604=_0x4f48bf;return _0x3483ca[_0x444604(0xe9)](_0x4b82c7[_0x444604(0x183)],{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})[_0x444604(0x123)](_0x4b82c7[_0x444604(0x239)],{'type':_0x4b82c7['Jztvj'],'alias':'d','description':_0x4b82c7['MoBpT']})[_0x444604(0x123)](_0x4b82c7['bOhOd'],{'type':'array','alias':'c','description':_0x4b82c7[_0x444604(0x19e)]})['option'](_0x4b82c7['tdnLS'],{'type':_0x4b82c7[_0x444604(0x288)],'hidden':!![]});},async _0x34ed92=>{const _0xcd5205=_0x4f48bf;_0x463392[_0xcd5205(0x1c7)](warnRenamed,_0x463392[_0xcd5205(0x221)],_0x463392[_0xcd5205(0x236)]),warnFlagRenamed('ranger\x20create','--checklist',_0x463392[_0xcd5205(0x1b2)]);const _0x33f76a=_0x34ed92['scenario']||_0x34ed92[_0xcd5205(0x10e)];await withTelemetry(_0xcd5205(0x266),()=>featureCreate(_0x34ed92['name'],{'description':_0x34ed92['description'],'scenarios':_0x33f76a}));})['command']('list',![],_0x4d01d3=>{const _0x2482ca=_0x4f48bf;return _0x4d01d3['option'](_0x2482ca(0x1da),{'type':_0x2482ca(0x1e8),'description':_0x4b82c7['WZnCC']})[_0x2482ca(0x123)](_0x4b82c7['ImVzu'],{'type':_0x2482ca(0x1cc),'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})['option'](_0x4b82c7[_0x2482ca(0x141)],{'type':'number','alias':'o','description':_0x2482ca(0x212),'default':0x0})[_0x2482ca(0x123)]('include-deleted',{'type':_0x4b82c7['HqtKn'],'alias':'d','description':_0x4b82c7[_0x2482ca(0x184)],'default':![]});},async _0x1cb8de=>{const _0x566efc=_0x4f48bf;_0x4b82c7['VZEri'](warnRenamed,_0x566efc(0x20b),_0x4b82c7['AdAda']),await _0x4b82c7[_0x566efc(0x1b3)](withTelemetry,_0x4b82c7[_0x566efc(0x114)],()=>featureList({'currentBranch':_0x1cb8de[_0x566efc(0x1da)],'limit':_0x1cb8de['limit'],'offset':_0x1cb8de[_0x566efc(0x211)],'includeDeleted':_0x1cb8de['include-deleted']}));})['command']('show\x20[id]',![],_0x25c864=>{const _0xa79188=_0x4f48bf;return _0x25c864[_0xa79188(0xe9)]('id',{'type':_0x463392['nNOic'],'description':_0x463392['wjWwL']});},async _0x537ee3=>{const _0x311cb0=_0x4f48bf;warnRenamed('ranger\x20feature\x20show',_0x4b82c7['TwDFP']),await _0x4b82c7[_0x311cb0(0x148)](withTelemetry,_0x311cb0(0x193),()=>featureShow(_0x537ee3['id']));})[_0x4f48bf(0x153)](_0x463392[_0x4f48bf(0x1b0)],![],_0x3e52af=>{return _0x3e52af['positional']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0xf677dd=>{const _0x296d8d=_0x4f48bf;_0x463392[_0x296d8d(0x255)](warnRenamed,_0x296d8d(0x181),'ranger\x20resume'),await withTelemetry('feature\x20resume',()=>featureResume(_0xf677dd['id']));})['command']('add-checklist-item\x20<description>',![],_0x53562c=>{const _0x45540e=_0x4f48bf;return _0x53562c['positional'](_0x4b82c7['nGuLp'],{'type':'string','description':_0x4b82c7[_0x45540e(0x207)],'demandOption':!![]})[_0x45540e(0x123)]('id',{'type':_0x4b82c7[_0x45540e(0x275)],'description':_0x4b82c7[_0x45540e(0x111)]});},async _0x483072=>{const _0xb44a10=_0x4f48bf;_0x463392['DqdCm'](warnRenamed,_0x463392['crwqP'],_0xb44a10(0x297)),await _0x463392['ohlCQ'](withTelemetry,_0x463392['KdTiq'],()=>featureAddScenario(_0x483072[_0xb44a10(0x1f4)],_0x483072['id']));})[_0x4f48bf(0x153)](_0x4f48bf(0x179),![],_0x48b306=>{const _0x588c9b=_0x4f48bf;return _0x48b306[_0x588c9b(0xe9)]('id',{'type':_0x588c9b(0x219),'description':_0x463392['cpymX']});},async _0x1e4f37=>{const _0xdb6b44=_0x4f48bf;_0x463392[_0xdb6b44(0x263)](warnRenamed,'ranger\x20feature\x20get-feedback','ranger\x20get-review'),await _0x463392['HRQQX'](withTelemetry,_0x463392['MSVMP'],()=>featureGetReview(_0x1e4f37['id']));})['command'](_0x463392[_0x4f48bf(0x1dd)],![],_0x797013=>{const _0x5cad87=_0x4f48bf;return _0x797013[_0x5cad87(0xe9)]('id',{'type':_0x5cad87(0x219),'description':_0x463392[_0x5cad87(0x149)]});},async _0x22a21c=>{const _0x384148=_0x4f48bf;warnRenamed(_0x463392['bVugM'],_0x463392[_0x384148(0x1e2)]),await _0x463392['DqdCm'](withTelemetry,'feature\x20delete',()=>featureDelete(_0x22a21c['id']));})['command'](_0x463392[_0x4f48bf(0x21b)],![],_0x3e7d43=>{const _0x3023f2=_0x4f48bf;return _0x3e7d43[_0x3023f2(0xe9)]('id',{'type':_0x3023f2(0x219),'description':_0x4b82c7[_0x3023f2(0x1cd)],'demandOption':!![]});},async _0x1dbebb=>{const _0x17e89b=_0x4f48bf;warnRenamed('ranger\x20feature\x20restore',_0x17e89b(0x187)),await _0x4b82c7[_0x17e89b(0x148)](withTelemetry,_0x17e89b(0xf8),()=>featureRestore(_0x1dbebb['id']));})[_0x4f48bf(0x26a)](0x1,_0x463392[_0x4f48bf(0x220)]);})[_0x2e7e6e(0x153)](_0x463392[_0x2e7e6e(0x1b8)],![],_0x48fb65=>{const _0x54b355=_0x2e7e6e,_0x460a73={'cqVxA':_0x463392['SKlcm'],'jtzKP':_0x463392[_0x54b355(0x102)]};return _0x48fb65[_0x54b355(0x153)]('enable',_0x54b355(0x1e7),_0x1a9aa4=>{const _0x54da16=_0x54b355;return _0x1a9aa4[_0x54da16(0x123)]('session-id',{'type':'string','description':_0x463392[_0x54da16(0x102)]});},async _0x3db27d=>{await _0x463392['IMujT'](withTelemetry,'hook:enable',()=>hook('enable',_0x3db27d['session-id']));})[_0x54b355(0x153)]('disable',_0x54b355(0x14b),_0x182b91=>{const _0x2577fb=_0x54b355;return _0x182b91[_0x2577fb(0x123)](_0x460a73[_0x2577fb(0x25e)],{'type':_0x2577fb(0x219),'description':_0x460a73['jtzKP']});},async _0x540c4e=>{const _0x58833d=_0x54b355;await withTelemetry('hook:disable',()=>hook('disable',_0x540c4e[_0x58833d(0xe1)]));})['option'](_0x54b355(0x260),{'type':_0x54b355(0x219),'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})['option']('session-id',{'type':_0x463392[_0x54b355(0x1d4)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x1f0bde=>{const _0x1d57be=_0x2e7e6e;_0x1f0bde['name']&&await hook(_0x1f0bde['name'],_0x1f0bde[_0x1d57be(0xe1)]);})[_0x2e7e6e(0x26a)](0x1,'You\x20must\x20specify\x20a\x20command')[_0x2e7e6e(0x154)]()[_0x2e7e6e(0x224)](async(_0x2b8f56,_0x110285,_0x50ebfc)=>{const _0x233f6f=_0x2e7e6e,_0x1ad72d=_0x463392[_0x233f6f(0x139)](sanitizeArgs,process['argv'][_0x233f6f(0x17c)](0x2)),_0x4f932d=getErrorType(_0x2b8f56,_0x110285);if(_0x2b8f56&&_0x2b8f56['includes'](_0x233f6f(0x247))){const _0x195330=process['argv'][0x2];console['error']('\x0aUnknown\x20command:\x20'+_0x195330),console['error'](_0x463392[_0x233f6f(0x294)]);}else{if(_0x2b8f56)console[_0x233f6f(0xfe)]('\x0a'+_0x2b8f56+'\x0a');else _0x110285&&console['error'](_0x233f6f(0xec)+_0x110285['message']+'\x0a');}await logDesirePath({'rawCommand':_0x1ad72d,'errorMessage':_0x2b8f56||_0x110285?.['message'],'errorType':_0x4f932d});const _0x4d8a38=_0x463392[_0x233f6f(0xdf)](getCurrentCollector);_0x4d8a38&&await _0x4d8a38[_0x233f6f(0xf5)](_0x110285||new Error(_0x463392['QtIee'](_0x2b8f56,_0x233f6f(0x27e)))),process['exit'](0x1);})[_0x2e7e6e(0x27d)](_0x463392['vmkfn'](_0x463392[_0x2e7e6e(0x1be)],_0x463392[_0x2e7e6e(0x175)])+_0x463392['fVHKh'])[_0x2e7e6e(0x118)]()[_0x2e7e6e(0xe0)](_0x463392['MaSbh'],'h');}process['env'][_0x3880c4(0x201)]!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x3880c4(0x1d0)]());