@qadet/runner 0.7.21 → 0.7.23

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 (3) hide show
  1. package/README.md +9 -16
  2. package/package.json +1 -1
  3. package/qadet.mjs +293 -138
package/README.md CHANGED
@@ -8,34 +8,27 @@ The AI, the plans and the tests live in your Qadet workspace. The runner needs n
8
8
 
9
9
  - Node.js 22 or newer
10
10
  - Google Chrome
11
- - A runner token from **Runner tokens** in your Qadet workspace (choose **Set up a runner**)
12
11
 
13
- ## Install
12
+ ## Install, connect and start
14
13
 
15
- Copy the install command from **Runner tokens**. It names the runner version your workspace expects, for example:
14
+ On **Runners** in your Qadet workspace, choose **Set up a runner** and paste the one command it shows into a terminal. It names the runner version your workspace expects, for example:
16
15
 
17
16
  ```sh
18
- npm install --global @qadet/runner@0.6.0
17
+ npm install --global @qadet/runner@0.7.22 && qadet connect https://qadet.nodellm.dev && qadet service install
19
18
  ```
20
19
 
21
- When your workspace needs a newer runner, the runner prints the update command and **Runner tokens** flags the token.
20
+ `qadet connect` opens your browser: check the code matches the one in your terminal and press **Allow this computer**. No token to copy. `qadet service install` starts the runner in the background, at every login, and keeps it up to date.
22
21
 
23
- ## Connect and run
24
-
25
- ```sh
26
- qadet connect # once: asks for your workspace address and token, and checks them
27
- qadet agent # whenever you want to run tests; stop it with Ctrl+C
28
- ```
29
-
30
- While `qadet agent` runs, the runs you start in Qadet open in Chrome on this computer, one at a time, and report their steps, screenshots and recording back to the workspace.
22
+ To run it only while you test, use `qadet agent` in a terminal instead, and stop it with Ctrl+C. While it runs, the runs you start in Qadet open in Chrome on this computer and report their steps, screenshots and recording back to the workspace.
31
23
 
32
24
  | Command | Does |
33
25
  |---|---|
34
- | `qadet connect` | Saves the workspace address and token for this user. The token is asked for at a prompt, so it never lands in your shell history. |
26
+ | `qadet connect <url>` | Connects this computer: your browser opens, and you press **Allow this computer**. |
35
27
  | `qadet status` | Checks the connection. |
36
28
  | `qadet connect <url> --again` | Signs in afresh, such as to switch to another organization or account. |
37
29
  | `qadet disconnect` | Removes the saved connection. |
38
- | `qadet agent` | Takes the runs you start in Qadet. |
30
+ | `qadet service install` | Runs the runner in the background, starting at every login. `qadet service status` and `qadet service uninstall` check and remove it. |
31
+ | `qadet agent` | Takes the runs you start in Qadet, in this terminal. |
39
32
  | `qadet help` | Lists every command. |
40
33
 
41
34
  ## Behind a proxy
@@ -44,7 +37,7 @@ If your network reaches the internet through a proxy, set `HTTPS_PROXY` (or `HTT
44
37
 
45
38
  ## Troubleshooting
46
39
 
47
- - **Qadet says no runner is connected:** start `qadet agent`, and check `qadet status`. If the token expired or was revoked, create a new one and run `qadet connect` again.
40
+ - **Qadet says no runner is connected:** check `qadet service status` (or start `qadet agent`) and `qadet status`. If the computer was removed or needs reconnecting, run `qadet connect <url>` again.
48
41
  - **A run says it couldn't reach the app:** open the app's address in Chrome on this computer. If it doesn't open here, the runner can't reach it either; check your VPN and the project's browser access settings in Qadet.
49
42
 
50
43
  More in the docs: https://qadet.nodellm.dev/docs/runner
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qadet/runner",
3
- "version": "0.7.21",
3
+ "version": "0.7.23",
4
4
  "description": "Runs Qadet tests in Chrome on this computer",
5
5
  "type": "module",
6
6
  "files": [