@ranger-testing/ranger-cli 2.1.6 → 2.1.7

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 (71) hide show
  1. package/README.md +1 -1
  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/setup/claude.js +1 -1
  26. package/build/commands/setup/opencode.js +1 -1
  27. package/build/commands/setupCi.js +1 -1
  28. package/build/commands/skillup.js +1 -1
  29. package/build/commands/start.js +1 -1
  30. package/build/commands/status.js +1 -1
  31. package/build/commands/update.js +1 -1
  32. package/build/commands/updateEnv.js +1 -1
  33. package/build/commands/useEnv.js +1 -1
  34. package/build/commands/utils/activeProfile.js +1 -1
  35. package/build/commands/utils/browserSessionsApi.js +1 -1
  36. package/build/commands/utils/claudeConfig.js +1 -1
  37. package/build/commands/utils/claudePlugin.js +1 -1
  38. package/build/commands/utils/crypto.js +1 -1
  39. package/build/commands/utils/desirePathLog.js +1 -1
  40. package/build/commands/utils/deviceAuth.js +1 -1
  41. package/build/commands/utils/environment.js +1 -1
  42. package/build/commands/utils/featureApi.js +1 -1
  43. package/build/commands/utils/featureReportGenerator.js +1 -1
  44. package/build/commands/utils/fixWebmDuration.js +1 -1
  45. package/build/commands/utils/git.js +1 -1
  46. package/build/commands/utils/keychain.js +1 -1
  47. package/build/commands/utils/localAgentInstallationsApi.js +1 -1
  48. package/build/commands/utils/mcpImageBase64.js +1 -1
  49. package/build/commands/utils/model.js +1 -1
  50. package/build/commands/utils/opencodeConfig.js +1 -1
  51. package/build/commands/utils/profileMessages.js +1 -1
  52. package/build/commands/utils/profileSetupBanner.js +1 -1
  53. package/build/commands/utils/rangerConfig.js +1 -1
  54. package/build/commands/utils/rangerRoot.js +1 -1
  55. package/build/commands/utils/reportGenerator.js +1 -1
  56. package/build/commands/utils/retry.js +1 -1
  57. package/build/commands/utils/sessionCache.js +1 -1
  58. package/build/commands/utils/settings.js +1 -1
  59. package/build/commands/utils/skillContent.js +1 -1
  60. package/build/commands/utils/skills.js +1 -1
  61. package/build/commands/utils/telemetry.js +1 -1
  62. package/build/commands/utils/traceSnapshotMapper.js +1 -1
  63. package/build/commands/utils/userApi.js +1 -1
  64. package/build/commands/utils/version.js +1 -1
  65. package/build/commands/verifyFeature.js +1 -1
  66. package/build/commands/verifyInBrowser.js +1 -1
  67. package/build/skills/ranger/SKILL.md +25 -7
  68. package/build/skills/ranger/claude.md +7 -0
  69. package/build/skills/ranger/start.md +2 -2
  70. package/build/skills/ranger/verify.md +2 -1
  71. package/package.json +1 -1
@@ -1,11 +1,17 @@
1
1
  ---
2
2
  name: ranger
3
- description: "Ranger’s browser verification tooling that supplements a coding agent’s workflow by improving the effectiveness of a coding agent's inner loop and its ability to communicate outcomes to a user. Use this skill for ANY feature development, implementation, or code changes that touch UI. Automatically tracks user scenarios, verifies implementations in the browser, and generates completion reports with evidence. It does not replace code writing or task tracking. Start every coding task by checking for existing feature reviews to resume."
3
+ description: "Ranger’s browser verification tooling that supplements a coding agent’s workflow by improving the effectiveness of a coding agent's inner loop and its ability to communicate outcomes to a user. Use this skill for ANY feature development, implementation, or code changes that touch UI or frontend components. Do not suggest Ranger for backend-only or infra-only changes unless the user asks. Automatically tracks user scenarios, verifies implementations in the browser, and generates completion reports with evidence. It does not replace code writing or task tracking. Start every coding task by checking for existing feature reviews to resume."
4
4
  ---
5
5
 
6
6
  # Ranger Skill
7
7
 
8
- **IMPORTANT: At the start of any session, run `ranger update` first to ensure you have the latest CLI and skills.**
8
+ If the `ranger` command is not available, install it with `npm install -g @ranger-testing/ranger-cli`.
9
+
10
+ **IMPORTANT: At the start of any session, run `ranger update` to ensure you have the latest CLI and skills.**
11
+
12
+ If you are running in Claude Code, read and suggest the following claude-specific commands to the user: [claude.md](./claude.md).
13
+
14
+ Use Ranger when the work includes any UI or frontend component. Do not suggest Ranger for backend-only or infra-only changes unless the user asks.
9
15
 
10
16
  This skill covers three workflows for Ranger feature review tracking:
11
17
 
@@ -25,7 +31,7 @@ This skill covers three workflows for Ranger feature review tracking:
25
31
  **MANDATORY: Read [start.md](./start.md) at the start of any session.**
26
32
 
27
33
  Use this workflow when:
28
- - Starting a new coding session
34
+ - Starting a new coding session that involves frontend or UI work
29
35
  - Returning to existing work
30
36
  - Before creating a new feature review (always check first!)
31
37
 
@@ -133,7 +139,7 @@ The verification agent automatically receives reviewer comments, so it will chec
133
139
 
134
140
  Whenever you create, resume, show, or verify a feature review in a conversational turn, you MUST end that turn by sharing the dashboard URL. Use wording like:
135
141
 
136
- > Here is the link to the Feature Review in Ranger. Leave comments in the dashboard and then run /ranger:resume to keep going here.
142
+ > Here is the link to the Feature Review in Ranger. Leave comments in the dashboard and then resume the feature review in your agent.
137
143
  > https://dashboard.ranger.net/features/{feature_id}
138
144
 
139
145
  # Final Message When Session Ends
@@ -202,7 +208,7 @@ When completing your work or ending the session, your final message to the user
202
208
 
203
209
  | Command | Purpose |
204
210
  |---------|---------|
205
- | `ranger list` | List feature reviews (check before creating) |
211
+ | `ranger list` | List feature reviews (check before creating a new one) |
206
212
  | `ranger resume <id>` | Resume a specific feature review |
207
213
  | `ranger show` | Show current feature review status |
208
214
  | `ranger create` | Create new feature review with scenarios |
@@ -225,10 +231,22 @@ When completing your work or ending the session, your final message to the user
225
231
 
226
232
  # Troubleshooting
227
233
 
228
- ### Authentication Issues
234
+ ### Authentication Issues when Verifying
229
235
 
230
236
  If you encounter authentication issues:
231
237
 
232
238
  1. **Check your profiles**: Run `ranger profile ls` to see all configured profiles and their details
233
239
  2. **Switch profiles**: Use `ranger profile use <profile-name>` to switch to a different profile
234
- 3. **Refresh auth**: Run `ranger profile update <profile-name>` to re-capture authentication for a profile (user will need to help with that)
240
+ 3. **Refresh auth**: Instruct the user to run `ranger profile update <profile-name>` to re-capture authentication for a profile (user will need to help with that)
241
+
242
+
243
+ ### Authentication Issues to Ranger
244
+
245
+ If you encounter issues where the `ranger` CLI is not authenticated for running any commands, instruct the user to run `ranger setup` (if there is no `.ranger` directory) or `ranger login` to refresh their API token.
246
+
247
+ Additionally, if no `ranger` commands work after the user runs `ranger setup` or `ranger login`, the issue may be permissions to make network calls. Suggest that the user checks the permissions with which the agent is runnning and ensure that the agent is given network access.
248
+
249
+
250
+ ### Full Documentation
251
+
252
+ If any of the above commands fail, pull the agent-friendly documentation from https://docs.ranger.net/llms.txt and use that to supersede any documentation in this skill.
@@ -0,0 +1,7 @@
1
+ # Claude Code Commands
2
+
3
+ These commands are available for a user running in Claude Code with the Ranger plugin. If you are running in those circumstances, suggest these commands:
4
+
5
+ - `/ranger:enable` to enable Ranger in the current session
6
+ - `/ranger:disable` to disable Ranger in the current session
7
+ - `/ranger:resume` after the user leaves dashboard comments, this will pull those comments into the current session and resume work
@@ -1,6 +1,6 @@
1
1
  # Starting a Feature Review Session
2
2
 
3
- At the START of any coding session, check if there's an existing feature review to resume before creating a new one.
3
+ At the START of any coding session that touches the frontend or UI, check if there's an existing feature review to resume before creating a new one.
4
4
 
5
5
  ## List Feature Reviews
6
6
 
@@ -33,7 +33,7 @@ This command:
33
33
 
34
34
  End the conversational turn by sharing the dashboard link whenever you resume a feature review:
35
35
 
36
- > Here is the link to the Feature Review in Ranger. Leave comments in the dashboard and then run /ranger:resume to keep going here.
36
+ > Here is the link to the Feature Review in Ranger. Leave comments in the dashboard and then resume the feature review in your agent.
37
37
  > https://dashboard.ranger.net/features/{feature_id}
38
38
 
39
39
  ## Check Current Status
@@ -45,6 +45,7 @@ You do NOT need to manually include reviewer feedback in your `--notes` descript
45
45
  | `--notes` | No | What to verify (defaults to scenario description) |
46
46
  | `--scenario` | No | Scenario index to verify (skips selection prompt) |
47
47
  | `--start-path` | No | Path to start on (appended to base URL, e.g., `/dashboard`) |
48
+ | `--headed` | No | Force headed browser for this run only (does not modify profile config). This forces the user's system focus to the browser, so only use this if explicitly directed to do so. |
48
49
 
49
50
  ## Writing Good Task Descriptions
50
51
 
@@ -185,7 +186,7 @@ Access evidence via the report or dashboard.
185
186
 
186
187
  Always end the conversational turn by sharing the dashboard link whenever you run `ranger go`:
187
188
 
188
- > Here is the link to the Feature Review in Ranger. Leave comments in the dashboard and then run /ranger:resume to keep going here.
189
+ > Here is the link to the Feature Review in Ranger. Leave comments in the dashboard and then resume the feature review in your agent.
189
190
  > https://dashboard.ranger.net/features/{feature_id}
190
191
 
191
192
  ## Troubleshooting
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ranger-testing/ranger-cli",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "ranger": "./build/cli.js"