@muggleai/works 5.39.0-staging.374 → 5.39.0-staging.375
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/.claude-plugin/marketplace.json +1 -1
- package/README.md +53 -41
- package/dist/{chunk-RKMYCE2G.js → chunk-Z7Q6XAWO.js} +36 -11
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/plugin/.claude-plugin/plugin.json +1 -1
- package/dist/plugin/.codex-mcp.json +1 -1
- package/dist/plugin/.codex-plugin/plugin.json +1 -1
- package/dist/plugin/.cursor-plugin/plugin.json +1 -1
- package/dist/plugin/.mcp.json +1 -1
- package/dist/release-manifest.json +3 -3
- package/llms.txt +2 -1
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.codex-mcp.json +1 -1
- package/plugin/.codex-plugin/plugin.json +1 -1
- package/plugin/.cursor-plugin/plugin.json +1 -1
- package/plugin/.mcp.json +1 -1
package/README.md
CHANGED
|
@@ -13,6 +13,56 @@ Works in Claude Code, Cursor, Codex, Windsurf, and any MCP client. Powered by [M
|
|
|
13
13
|
|
|
14
14
|
AI agents: start with [AGENTS.md](AGENTS.md) (install, sign-in, flows, skills, errors) or [llms.txt](llms.txt). `muggle serve` also serves both as MCP resources, `muggle://docs/agents` and `muggle://docs/llms`.
|
|
15
15
|
|
|
16
|
+
## Install
|
|
17
|
+
|
|
18
|
+
[](https://cursor.com/en/install-mcp?name=muggle&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBtdWdnbGVhaS93b3JrcyIsInNlcnZlIl19)
|
|
19
|
+
[](https://insiders.vscode.dev/redirect/mcp/install?name=muggle&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40muggleai%2Fworks%22%2C%22serve%22%5D%7D)
|
|
20
|
+
|
|
21
|
+
One click adds the MCP tools (`npx -y @muggleai/works serve`). The skills and guardrail hooks come with the full install for your client:
|
|
22
|
+
|
|
23
|
+
**Claude Code** — full plugin: skills, MCP tools, and the browser runner. In a terminal:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
claude plugin marketplace add multiplex-ai/muggle-ai-works && claude plugin install muggleai@muggle-works
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Or inside a session:
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
/plugin marketplace add multiplex-ai/muggle-ai-works
|
|
33
|
+
/plugin install muggleai@muggle-works
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
The marketplace is `muggle-works` and its entry is `muggleai`; the installed plugin is named `muggle`, so its skills appear as `/muggle:<skill>`.
|
|
37
|
+
|
|
38
|
+
**Cursor** — `npm install -g @muggleai/works`. The postinstall writes `~/.cursor/mcp.json` and syncs the `muggle-*` skills into `~/.cursor/skills/`. Restart Cursor.
|
|
39
|
+
|
|
40
|
+
**Codex** — full plugin: skills, MCP tools, and the guardrail hooks.
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
codex plugin marketplace add multiplex-ai/muggle-ai-works && codex plugin add muggle@muggle-works
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Restart Codex and trust the plugin's hooks when it asks (or later, in `/hooks`). Skills are invoked as `$muggle:<skill>` — `$muggle:muggle-do`, `$muggle:muggle-test` — or picked from `/skills`. See [Codex](#codex) for what differs.
|
|
47
|
+
|
|
48
|
+
**Windsurf, any other MCP client** — install the package as above, then register the server:
|
|
49
|
+
|
|
50
|
+
```json
|
|
51
|
+
{
|
|
52
|
+
"mcpServers": {
|
|
53
|
+
"muggle": {
|
|
54
|
+
"command": "muggle",
|
|
55
|
+
"args": ["serve"],
|
|
56
|
+
"env": {
|
|
57
|
+
"MUGGLE_MCP_PROMPT_SERVICE_TARGET": "production"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Next: [set up and run your first cycle](#quick-start).
|
|
65
|
+
|
|
16
66
|
---
|
|
17
67
|
|
|
18
68
|
## Highlights
|
|
@@ -50,7 +100,7 @@ The test agent that drives the browser in every Muggle Works run completes **83.
|
|
|
50
100
|
| Excluded | 12 of 643: 11 where Hugging Face refused automated access, 1 run that stopped on an internal error |
|
|
51
101
|
| Run-to-run spread | About 2 to 3 points, because live sites change between runs |
|
|
52
102
|
|
|
53
|
-
Each chart compares runs on identical tasks. The November-to-December gain combines agent fixes (recovering from a crashed page, custom date pickers, consent dialogs served from another site) with the higher step limit: 60 of the December passes took more than 15 steps. Published WebVoyager scores from other agents use different judges, task subsets and step limits, so they are not shown here.
|
|
103
|
+
Each chart compares runs on identical tasks. The November-to-December gain combines agent fixes (recovering from a crashed page, custom date pickers, consent dialogs served from another site) with the higher step limit: 60 of the December passes took more than 15 steps. Published WebVoyager scores from other agents use different judges, task subsets and step limits, so they are not shown here. Scoring a site's generic error page in place of results as blocked rather than failed puts the December run at 85.6% (527 of 616): 15 more tasks drop out as site refusals, 14 of them on Google Flights, and 3 failures are rescored as passes.
|
|
54
104
|
|
|
55
105
|
---
|
|
56
106
|
|
|
@@ -76,45 +126,7 @@ Stage 5.5 refuses to open the PR until build and unit tests meet the Definition
|
|
|
76
126
|
|
|
77
127
|
## Quick start
|
|
78
128
|
|
|
79
|
-
### 1.
|
|
80
|
-
|
|
81
|
-
**Claude Code** — full plugin: skills, MCP tools, and the browser runner.
|
|
82
|
-
|
|
83
|
-
```
|
|
84
|
-
/plugin marketplace add multiplex-ai/muggle-ai-works
|
|
85
|
-
/plugin install muggleai@muggle-works
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
The marketplace is `muggle-works` and its entry is `muggleai`; the installed plugin is named `muggle`, so its skills appear as `/muggle:<skill>`.
|
|
89
|
-
|
|
90
|
-
**Cursor** — `npm install -g @muggleai/works`. The postinstall writes `~/.cursor/mcp.json` and syncs the `muggle-*` skills into `~/.cursor/skills/`. Restart Cursor.
|
|
91
|
-
|
|
92
|
-
**Codex** — full plugin: skills, MCP tools, and the guardrail hooks.
|
|
93
|
-
|
|
94
|
-
```
|
|
95
|
-
codex plugin marketplace add multiplex-ai/muggle-ai-works
|
|
96
|
-
codex plugin add muggle@muggle-works
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
Restart Codex and trust the plugin's hooks when it asks (or later, in `/hooks`). Skills are invoked as `$muggle:<skill>` — `$muggle:muggle-do`, `$muggle:muggle-test` — or picked from `/skills`. See [Codex](#codex) for what differs.
|
|
100
|
-
|
|
101
|
-
**Windsurf, any other MCP client** — install the package as above, then register the server:
|
|
102
|
-
|
|
103
|
-
```json
|
|
104
|
-
{
|
|
105
|
-
"mcpServers": {
|
|
106
|
-
"muggle": {
|
|
107
|
-
"command": "muggle",
|
|
108
|
-
"args": ["serve"],
|
|
109
|
-
"env": {
|
|
110
|
-
"MUGGLE_MCP_PROMPT_SERVICE_TARGET": "production"
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
### 2. Set up
|
|
129
|
+
### 1. Set up
|
|
118
130
|
|
|
119
131
|
```bash
|
|
120
132
|
muggle init
|
|
@@ -130,7 +142,7 @@ muggle doctor # anywhere — also checks the Codex plugin or MCP ent
|
|
|
130
142
|
|
|
131
143
|
Broken? `/mrepair`, or `muggle setup --force`.
|
|
132
144
|
|
|
133
|
-
###
|
|
145
|
+
### 2. Build something
|
|
134
146
|
|
|
135
147
|
```
|
|
136
148
|
/mdo "Add a logout button to the header"
|
|
@@ -12,7 +12,7 @@ import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'
|
|
|
12
12
|
import { Command } from 'commander';
|
|
13
13
|
import axios from 'axios';
|
|
14
14
|
import { randomUUID, createHash, X509Certificate, verify } from 'crypto';
|
|
15
|
-
import { platform, homedir, arch, tmpdir, hostname } from 'os';
|
|
15
|
+
import { platform, homedir, arch, tmpdir, userInfo, hostname } from 'os';
|
|
16
16
|
import { execFile, execFileSync, spawnSync, spawn } from 'child_process';
|
|
17
17
|
import { createInterface } from 'readline/promises';
|
|
18
18
|
import { Writable } from 'stream';
|
|
@@ -4006,12 +4006,31 @@ function createDefaultWatchServiceInstallDeps() {
|
|
|
4006
4006
|
platform: process.platform,
|
|
4007
4007
|
runCommand: defaultCommandRunner,
|
|
4008
4008
|
homeDir: homedir(),
|
|
4009
|
+
accountHomeDir: resolveAccountHomeDir(),
|
|
4009
4010
|
watchDir: resolveWatchPaths().watchDir,
|
|
4010
4011
|
env: process.env,
|
|
4011
4012
|
nodePath: process.execPath,
|
|
4012
4013
|
uid: process.getuid?.()
|
|
4013
4014
|
};
|
|
4014
4015
|
}
|
|
4016
|
+
function resolveAccountHomeDir() {
|
|
4017
|
+
try {
|
|
4018
|
+
return userInfo().homedir;
|
|
4019
|
+
} catch {
|
|
4020
|
+
return homedir();
|
|
4021
|
+
}
|
|
4022
|
+
}
|
|
4023
|
+
function normalizeHomeDir(homeDir, platform6) {
|
|
4024
|
+
const resolvedHomeDir = resolve(homeDir);
|
|
4025
|
+
return platform6 === "win32" ? resolvedHomeDir.toLowerCase() : resolvedHomeDir;
|
|
4026
|
+
}
|
|
4027
|
+
function findForeignHomeReport(deps) {
|
|
4028
|
+
if (normalizeHomeDir(deps.homeDir, deps.platform) === normalizeHomeDir(deps.accountHomeDir, deps.platform)) return void 0;
|
|
4029
|
+
return {
|
|
4030
|
+
outcome: "foreign-home" /* ForeignHome */,
|
|
4031
|
+
detail: `home ${deps.homeDir} is not the account home ${deps.accountHomeDir}; the account's watch service is left as it is`
|
|
4032
|
+
};
|
|
4033
|
+
}
|
|
4015
4034
|
function schedulePathsOf(deps) {
|
|
4016
4035
|
return resolvePosixSchedulePaths(deps.homeDir, deps.env, join(deps.watchDir, WATCH_BIN_DIR_NAME));
|
|
4017
4036
|
}
|
|
@@ -4065,12 +4084,16 @@ function installOnPosix(deps, isNoWait, succeededAs) {
|
|
|
4065
4084
|
return { outcome: succeededAs, detail: `${scheduled.detail}; first tick: ${firstTickLine}` };
|
|
4066
4085
|
}
|
|
4067
4086
|
function installOn(deps, isNoWait, succeededAs) {
|
|
4087
|
+
const foreignHomeReport = findForeignHomeReport(deps);
|
|
4088
|
+
if (foreignHomeReport) return foreignHomeReport;
|
|
4068
4089
|
return deps.platform === "win32" ? runWindowsInstaller(deps, isNoWait ? ["-NoWait"] : [], succeededAs) : installOnPosix(deps, isNoWait, succeededAs);
|
|
4069
4090
|
}
|
|
4070
4091
|
function installWatchService(deps, isNoWait) {
|
|
4071
4092
|
return installOn(deps, isNoWait, "installed" /* Installed */);
|
|
4072
4093
|
}
|
|
4073
4094
|
function uninstallWatchService(deps) {
|
|
4095
|
+
const foreignHomeReport = findForeignHomeReport(deps);
|
|
4096
|
+
if (foreignHomeReport) return foreignHomeReport;
|
|
4074
4097
|
if (deps.platform === "win32") return runWindowsInstaller(deps, ["-Uninstall"], "removed" /* Removed */);
|
|
4075
4098
|
const paths = schedulePathsOf(deps);
|
|
4076
4099
|
const removals = [];
|
|
@@ -4085,6 +4108,8 @@ function applyWatchServicePreference(preference, deps, isNoWait) {
|
|
|
4085
4108
|
if (preference === "never" /* Never */) {
|
|
4086
4109
|
return { outcome: "turned-off" /* TurnedOff */, detail: "autoInstallWatchService is never" };
|
|
4087
4110
|
}
|
|
4111
|
+
const foreignHomeReport = findForeignHomeReport(deps);
|
|
4112
|
+
if (foreignHomeReport) return foreignHomeReport;
|
|
4088
4113
|
const installedScheduler = findInstalledScheduler(deps);
|
|
4089
4114
|
if (!installedScheduler && preference !== "always" /* Always */) {
|
|
4090
4115
|
return { outcome: "not-requested" /* NotRequested */, detail: `autoInstallWatchService is ${preference} and the watch is not scheduled` };
|
|
@@ -5529,13 +5554,13 @@ function extractZipArchive(zipPath, destDir) {
|
|
|
5529
5554
|
const platformName = platform();
|
|
5530
5555
|
const { program, args } = buildZipExtractCommand({ zipPath, destDir, platformName });
|
|
5531
5556
|
const env = platformName === "win32" ? buildWindowsPowerShellEnv(process.env) : process.env;
|
|
5532
|
-
return new Promise((
|
|
5557
|
+
return new Promise((resolve4, reject) => {
|
|
5533
5558
|
execFile(program, args, { windowsHide: true, env }, (error, _stdout, stderr) => {
|
|
5534
5559
|
if (error) {
|
|
5535
5560
|
reject(new Error(`Extraction failed: ${error.message}
|
|
5536
5561
|
stderr: ${stderr}`));
|
|
5537
5562
|
} else {
|
|
5538
|
-
|
|
5563
|
+
resolve4();
|
|
5539
5564
|
}
|
|
5540
5565
|
});
|
|
5541
5566
|
});
|
|
@@ -5636,18 +5661,18 @@ function getBinaryName() {
|
|
|
5636
5661
|
}
|
|
5637
5662
|
}
|
|
5638
5663
|
async function extractTarGz(tarPath, destDir) {
|
|
5639
|
-
return new Promise((
|
|
5664
|
+
return new Promise((resolve4, reject) => {
|
|
5640
5665
|
execFile("tar", ["-xzf", tarPath, "-C", destDir], { windowsHide: true }, (error) => {
|
|
5641
5666
|
if (error) {
|
|
5642
5667
|
reject(error);
|
|
5643
5668
|
} else {
|
|
5644
|
-
|
|
5669
|
+
resolve4();
|
|
5645
5670
|
}
|
|
5646
5671
|
});
|
|
5647
5672
|
});
|
|
5648
5673
|
}
|
|
5649
5674
|
function sleep(ms) {
|
|
5650
|
-
return new Promise((
|
|
5675
|
+
return new Promise((resolve4) => setTimeout(resolve4, ms));
|
|
5651
5676
|
}
|
|
5652
5677
|
async function downloadWithRetry(downloadUrl, destPath) {
|
|
5653
5678
|
let lastError = null;
|
|
@@ -6063,7 +6088,7 @@ var runNpmCommand = (npmArguments, timeoutMs) => {
|
|
|
6063
6088
|
const isWindows = platform() === "win32";
|
|
6064
6089
|
const executable = isWindows ? "cmd.exe" : "npm";
|
|
6065
6090
|
const executableArguments = isWindows ? ["/d", "/s", "/c", "npm", ...npmArguments] : npmArguments;
|
|
6066
|
-
return new Promise((
|
|
6091
|
+
return new Promise((resolve4) => {
|
|
6067
6092
|
execFile(
|
|
6068
6093
|
executable,
|
|
6069
6094
|
executableArguments,
|
|
@@ -6071,10 +6096,10 @@ var runNpmCommand = (npmArguments, timeoutMs) => {
|
|
|
6071
6096
|
(error, stdout, stderr) => {
|
|
6072
6097
|
const exitCode = error ? error.code : 0;
|
|
6073
6098
|
if (typeof exitCode !== "number") {
|
|
6074
|
-
|
|
6099
|
+
resolve4(void 0);
|
|
6075
6100
|
return;
|
|
6076
6101
|
}
|
|
6077
|
-
|
|
6102
|
+
resolve4({ exitCode, stdout: String(stdout ?? ""), stderr: String(stderr ?? "") });
|
|
6078
6103
|
}
|
|
6079
6104
|
);
|
|
6080
6105
|
});
|
|
@@ -6261,12 +6286,12 @@ function writeInstallMetadata2(params) {
|
|
|
6261
6286
|
`, "utf-8");
|
|
6262
6287
|
}
|
|
6263
6288
|
async function extractTarGz2(tarPath, destDir) {
|
|
6264
|
-
return new Promise((
|
|
6289
|
+
return new Promise((resolve4, reject) => {
|
|
6265
6290
|
execFile("tar", ["-xzf", tarPath, "-C", destDir], { windowsHide: true }, (error) => {
|
|
6266
6291
|
if (error) {
|
|
6267
6292
|
reject(error);
|
|
6268
6293
|
} else {
|
|
6269
|
-
|
|
6294
|
+
resolve4();
|
|
6270
6295
|
}
|
|
6271
6296
|
});
|
|
6272
6297
|
});
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { src_exports as commands, createUnifiedMcpServer, server_exports as server } from './chunk-
|
|
1
|
+
export { src_exports as commands, createUnifiedMcpServer, server_exports as server } from './chunk-Z7Q6XAWO.js';
|
|
2
2
|
export { createChildLogger, e2e_exports as e2e, getConfig, getLocalQaTools, getLogger, getQaTools, local_exports as localQa, mcp_exports as mcp, e2e_exports as qa, src_exports as shared } from './chunk-Y5GLRCB5.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"description": "Acceptance test agent for coding agents: real-browser tests, with screenshots on the PR.",
|
|
4
|
-
"version": "5.39.0-staging.
|
|
4
|
+
"version": "5.39.0-staging.375",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
7
7
|
"email": "support@muggle-ai.com"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"displayName": "Muggle AI",
|
|
4
4
|
"description": "Acceptance test agent for coding agents: real-browser tests, with screenshots on the PR.",
|
|
5
|
-
"version": "5.39.0-staging.
|
|
5
|
+
"version": "5.39.0-staging.375",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|
package/dist/plugin/.mcp.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"release": "5.39.0-staging.
|
|
3
|
-
"buildId": "run-
|
|
4
|
-
"commitSha": "
|
|
2
|
+
"release": "5.39.0-staging.375",
|
|
3
|
+
"buildId": "run-375-1",
|
|
4
|
+
"commitSha": "c9e00be42f26eeacd8ec60d7e2f0dc5f0d4d638f",
|
|
5
5
|
"buildTime": "2026-11-19T13:13:32Z",
|
|
6
6
|
"serviceName": "muggle-ai-works-mcp"
|
|
7
7
|
}
|
package/llms.txt
CHANGED
|
@@ -7,7 +7,8 @@ Muggle Works is the npm package `@muggleai/works` (CLI `muggle`) from Muggle AI.
|
|
|
7
7
|
## Agent guide
|
|
8
8
|
|
|
9
9
|
- [AGENTS.md](https://raw.githubusercontent.com/multiplex-ai/muggle-ai-works/master/AGENTS.md): install, sign-in, local and cloud flows, skills, pricing, results, common errors
|
|
10
|
-
- [
|
|
10
|
+
- [Install](https://github.com/multiplex-ai/muggle-ai-works#install): one-click MCP install for Cursor and VS Code, full install per client
|
|
11
|
+
- [Quick start](https://github.com/multiplex-ai/muggle-ai-works#quick-start): setup, first run
|
|
11
12
|
- [Commands](https://github.com/multiplex-ai/muggle-ai-works#commands): every slash-command skill and its alias
|
|
12
13
|
- [MCP tool reference](https://github.com/multiplex-ai/muggle-ai-works#mcp-tool-reference): the 130 MCP tools by area
|
|
13
14
|
- [CLI reference](https://github.com/multiplex-ai/muggle-ai-works#cli-reference): every `muggle` command
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@muggleai/works",
|
|
3
3
|
"mcpName": "io.github.multiplex-ai/muggleai",
|
|
4
|
-
"version": "5.39.0-staging.
|
|
4
|
+
"version": "5.39.0-staging.375",
|
|
5
5
|
"description": "Acceptance test agent for coding agents: real-browser tests, with screenshots on the PR.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"description": "Acceptance test agent for coding agents: real-browser tests, with screenshots on the PR.",
|
|
4
|
-
"version": "5.39.0-staging.
|
|
4
|
+
"version": "5.39.0-staging.375",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
7
7
|
"email": "support@muggle-ai.com"
|
package/plugin/.codex-mcp.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"displayName": "Muggle AI",
|
|
4
4
|
"description": "Acceptance test agent for coding agents: real-browser tests, with screenshots on the PR.",
|
|
5
|
-
"version": "5.39.0-staging.
|
|
5
|
+
"version": "5.39.0-staging.375",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|