bughunters 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,36 +1,10 @@
1
- <p align="center">
2
- <img src="https://raw.githubusercontent.com/agent-labs-dev/bughunters/main/assets/banner.png" alt="Bughunters: AI agents that explore your app, find bugs, and fix them." width="100%">
3
- </p>
1
+ # bughunters
4
2
 
5
- Bughunters is a QA team made of agents. It uses your web, Electron, iOS, or Android app the way a tester does. It finds bugs, fixes them, checks each fix in the running app, and opens the pull requests and issues for your team.
3
+ `bughunters` is the earlier name of [Bugpatrol](https://github.com/agent-labs-dev/bugpatrol). This package installs the same version of `bugpatrol` and runs it, so the old commands continue to work:
6
4
 
7
5
  ```sh
8
- npx bughunters init # find the app and the LLMs, and write .bughunters/
9
- npx bughunters patrol # explore, judge, fix, retest, and publish, again and again
10
- npx bughunters dashboard # look at the results on http://127.0.0.1:4311
6
+ npx bughunters patrol # the same as: npx bugpatrol
7
+ npx bughunters dashboard # the same as: npx bugpatrol dashboard
11
8
  ```
12
9
 
13
- ## Set up with your agent
14
-
15
- Install the skill for your coding agent, then ask the agent to "set up Bughunters for this repo":
16
-
17
- ```bash
18
- npx skills add agent-labs-dev/bughunters
19
- ```
20
-
21
- If your agent cannot install skills, give it the skill URL:
22
-
23
- ```text
24
- Read https://raw.githubusercontent.com/agent-labs-dev/bughunters/main/skills/bughunters/SKILL.md and set up Bughunters for this repo.
25
- ```
26
-
27
- ## Documentation
28
-
29
- - [README](https://github.com/agent-labs-dev/bughunters#readme)
30
- - [Getting started](https://github.com/agent-labs-dev/bughunters/blob/main/docs/getting-started.md)
31
- - [Configuration](https://github.com/agent-labs-dev/bughunters/blob/main/docs/configuration.md)
32
- - [Commands](https://github.com/agent-labs-dev/bughunters/blob/main/docs/commands.md)
33
-
34
- The [Nebula](https://nebula.gg) team uses Bughunters to test its own apps, and made it open source for all teams.
35
-
36
- Made with ❤️ by the [Nebula](https://nebula.gg) team. Apache-2.0.
10
+ Use `bugpatrol` for new setups. See the [documentation](https://github.com/agent-labs-dev/bugpatrol#readme).
package/package.json CHANGED
@@ -1,40 +1,27 @@
1
1
  {
2
2
  "name": "bughunters",
3
- "version": "0.1.2",
4
- "description": "AI agents that explore your app, find bugs, and fix them.",
3
+ "version": "0.1.3",
4
+ "description": "The earlier name of Bugpatrol. It installs and runs the same version of bugpatrol.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "bin": {
8
- "bughunters": "./dist/bin.js"
8
+ "bughunters": "./src/bin.js"
9
9
  },
10
10
  "engines": {
11
11
  "node": ">=22"
12
12
  },
13
13
  "files": [
14
- "dist",
15
- "src/ui"
14
+ "src/*.js",
15
+ "README.md"
16
16
  ],
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "git+https://github.com/agent-labs-dev/bughunters.git"
19
+ "url": "git+https://github.com/agent-labs-dev/bugpatrol.git"
20
20
  },
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  },
24
- "scripts": {
25
- "build": "node build.mjs"
26
- },
27
24
  "dependencies": {
28
- "@modelcontextprotocol/sdk": "^1.20.0",
29
- "odiff-bin": "^3.2.1",
30
- "pixelmatch": "^6.0.0",
31
- "playwright": "1.48.2",
32
- "pngjs": "^7.0.0",
33
- "yaml": "^2.5.1",
34
- "zod": "^3.23.8"
35
- },
36
- "devDependencies": {
37
- "@bughunters/cli": "workspace:*",
38
- "esbuild": "^0.28.2"
25
+ "bugpatrol": "0.1.3"
39
26
  }
40
27
  }
package/src/args.js ADDED
@@ -0,0 +1,11 @@
1
+ /**
2
+ * The bugpatrol arguments for a bughunters command line. Every command is the
3
+ * same under both names. Only `bughunters` alone differs: it shows the help, as
4
+ * it did before the rename, where `bugpatrol` alone starts the patrol.
5
+ *
6
+ * @param {string[]} args
7
+ * @returns {string[]}
8
+ */
9
+ export function bugpatrolArgs(args) {
10
+ return args.length ? args : ['--help'];
11
+ }
package/src/bin.js ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ // bughunters is the earlier name of bugpatrol: the same CLI, at the same version.
3
+ import { bugpatrolArgs } from './args.js';
4
+
5
+ process.argv.splice(2, Infinity, ...bugpatrolArgs(process.argv.slice(2)));
6
+ await import('bugpatrol/dist/bin.js');