@qadet/runner 0.3.0 → 0.4.0

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 (5) hide show
  1. package/README.md +9 -29
  2. package/package.json +3 -3
  3. package/qadet.mjs +20806 -84631
  4. package/explorer.md +0 -108
  5. package/repairer.md +0 -7
package/README.md CHANGED
@@ -1,48 +1,28 @@
1
1
  # Qadet Runner
2
2
 
3
- Run Qadet browser tests from this computer. The runner uses the browser and Qadet workspace configured by an admin; it does not need an AI provider key locally.
3
+ Runs the browser tests you start in Qadet, in Chrome on this computer. The AI and the tests live in your Qadet workspace; the runner needs no AI key of its own.
4
4
 
5
5
  ## Requirements
6
6
 
7
7
  - Node.js 22 or newer
8
8
  - Google Chrome
9
- - A Qadet workspace and a runner token from its **Runner tokens** page
9
+ - A runner token from your workspace's **Runner tokens** page
10
10
 
11
11
  ## Install
12
12
 
13
- ```sh
14
- npm install --global @qadet/runner@0.3.0
15
- ```
16
-
17
- Qadet's setup page also provides an `npx` command pinned to that workspace's runner version. It does not follow `latest` or update itself. Older runners remain usable until Qadet requires a newer run protocol; when an update is required, the setup dialog provides the compatible command.
18
-
19
- ## Connect and run
20
-
21
- Connect this computer to your Qadet workspace. The runner prompts for the token so it does not need to be placed in shell history:
13
+ Copy the install command from **Runner tokens** in Qadet. It names the runner version your workspace needs, for example:
22
14
 
23
15
  ```sh
24
- qadet connect https://qadet.example
25
- qadet agent
16
+ npm install --global @qadet/runner@0.3.1
26
17
  ```
27
18
 
28
- The connection is stored in the current user's configuration directory. To remove it, run `qadet disconnect`.
29
-
30
- ## Other commands
19
+ When Qadet needs a newer runner, it shows the command to update.
31
20
 
32
- ```sh
33
- qadet explore https://app.example/login "Sign in and verify the dashboard loads"
34
- qadet replay checkout
35
- qadet snapshot https://app.example/login
36
- ```
37
-
38
- Run `qadet help` for the available commands. Qadet stores run history and saved tests in the web application.
39
-
40
- ## Publish a release
41
-
42
- Set the new version in `runner/package.json`, then publish locally with:
21
+ ## Connect and run
43
22
 
44
23
  ```sh
45
- pnpm runner:publish
24
+ qadet connect # once: asks for your workspace address and token, and checks them
25
+ qadet agent # whenever you want to run tests; stop it with Ctrl+C
46
26
  ```
47
27
 
48
- This builds the package and publishes it using the npm account logged in on this computer. Merging a version change into `main` also publishes it through GitHub Actions; add an `NPM_TOKEN` repository secret first. Already-published versions are skipped.
28
+ `qadet status` checks the connection, and `qadet disconnect` removes it. The token is never shown or stored in your shell history.
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@qadet/runner",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Runs Qadet tests in Chrome on this computer",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "qadet.mjs",
8
- "*.md"
8
+ "README.md"
9
9
  ],
10
10
  "bin": {
11
11
  "qadet": "qadet.mjs"
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "repository": {
17
17
  "type": "git",
18
- "url": "https://github.com/eshaiju/qadet.git",
18
+ "url": "git+https://github.com/eshaiju/qadet.git",
19
19
  "directory": "runner"
20
20
  },
21
21
  "homepage": "https://github.com/eshaiju/qadet#readme",