@muggleai/works 5.35.0-staging.321 → 5.35.0-staging.322
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/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/plugin/scripts/guardrail-build-router.sh +19 -1
- package/dist/release-manifest.json +4 -4
- 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/plugin/scripts/guardrail-build-router.sh +19 -1
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"name": "muggleai",
|
|
10
10
|
"source": "./plugin",
|
|
11
11
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
12
|
-
"version": "5.35.0-staging.
|
|
12
|
+
"version": "5.35.0-staging.322"
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
4
|
-
"version": "5.35.0-staging.
|
|
4
|
+
"version": "5.35.0-staging.322",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
7
7
|
"email": "support@muggle-ai.com"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
|
-
"version": "5.35.0-staging.
|
|
3
|
+
"version": "5.35.0-staging.322",
|
|
4
4
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"displayName": "Muggle AI",
|
|
4
4
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
5
|
-
"version": "5.35.0-staging.
|
|
5
|
+
"version": "5.35.0-staging.322",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|
package/dist/plugin/.mcp.json
CHANGED
|
@@ -18,7 +18,9 @@ set -uo pipefail
|
|
|
18
18
|
#
|
|
19
19
|
# The verbs are matched in the prompt alone, since a hex session id can spell
|
|
20
20
|
# "add" and a cwd can hold "build". Once the session has been routed the offer can
|
|
21
|
-
# never fire again, so its state flag ends the check in-shell.
|
|
21
|
+
# never fire again, so its state flag ends the check in-shell. detectBuildIntent
|
|
22
|
+
# drops a question or a slash command whatever verbs it holds, so those end here
|
|
23
|
+
# too, except a /muggle-do or /mdo command, which Node must see to arm the gate.
|
|
22
24
|
|
|
23
25
|
guardrail_script_dir="${BASH_SOURCE[0]%/*}"
|
|
24
26
|
[[ $guardrail_script_dir == "${BASH_SOURCE[0]}" ]] && guardrail_script_dir=.
|
|
@@ -30,6 +32,22 @@ guardrail_wants() {
|
|
|
30
32
|
if guardrail_load_state && guardrail_state_has '"buildIntentRouted": true'; then
|
|
31
33
|
return 1
|
|
32
34
|
fi
|
|
35
|
+
guardrail_payload_field prompt || return 1
|
|
36
|
+
# The prompt is still JSON-escaped: an escaped newline, return or tab counts as leading
|
|
37
|
+
# space, and any other escape leaves the prompt to Node.
|
|
38
|
+
local leading_space='^([[:space:]]|\\[nrt])*'
|
|
39
|
+
local question_pattern="$leading_space"'(why|what|how|when|where|who|is|are|does|do|can you (explain|tell)|explain)([^A-Za-z0-9_]|$)'
|
|
40
|
+
local slash_command_pattern="$leading_space"'/'
|
|
41
|
+
local muggle_do_command_pattern="$leading_space"'/([A-Za-z0-9_-]+:)?(muggle-do|mdo)([[:space:]]|\\|$)'
|
|
42
|
+
local is_rejected_by_node=1
|
|
43
|
+
shopt -s nocasematch
|
|
44
|
+
if [[ $GUARDRAIL_FIELD_VALUE =~ $question_pattern ]]; then
|
|
45
|
+
is_rejected_by_node=0
|
|
46
|
+
elif [[ $GUARDRAIL_FIELD_VALUE =~ $slash_command_pattern && ! $GUARDRAIL_FIELD_VALUE =~ $muggle_do_command_pattern ]]; then
|
|
47
|
+
is_rejected_by_node=0
|
|
48
|
+
fi
|
|
49
|
+
shopt -u nocasematch
|
|
50
|
+
((is_rejected_by_node == 0)) && return 1
|
|
33
51
|
guardrail_fields_match prompt '(implement|build|add|create|write|fix|refactor|wire up|hook up|make|change the|conflict|merged|passing|green|[/$](muggle:)?(muggle-do|mdo))'
|
|
34
52
|
}
|
|
35
53
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"release": "5.35.0-staging.
|
|
3
|
-
"buildId": "run-
|
|
4
|
-
"commitSha": "
|
|
5
|
-
"buildTime": "2026-11-
|
|
2
|
+
"release": "5.35.0-staging.322",
|
|
3
|
+
"buildId": "run-322-1",
|
|
4
|
+
"commitSha": "05a455a22031796ddd54810dc0763387daae565a",
|
|
5
|
+
"buildTime": "2026-11-10T06:29:55Z",
|
|
6
6
|
"serviceName": "muggle-ai-works-mcp"
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@muggleai/works",
|
|
3
3
|
"mcpName": "io.github.multiplex-ai/muggle",
|
|
4
|
-
"version": "5.35.0-staging.
|
|
4
|
+
"version": "5.35.0-staging.322",
|
|
5
5
|
"description": "13 years of Microsoft hyperscale engineering, packaged as a harness for your AI coding agent.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
4
|
-
"version": "5.35.0-staging.
|
|
4
|
+
"version": "5.35.0-staging.322",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
7
7
|
"email": "support@muggle-ai.com"
|
package/plugin/.codex-mcp.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "muggle",
|
|
3
|
-
"version": "5.35.0-staging.
|
|
3
|
+
"version": "5.35.0-staging.322",
|
|
4
4
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Muggle AI",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "muggle",
|
|
3
3
|
"displayName": "Muggle AI",
|
|
4
4
|
"description": "Real-browser E2E acceptance for your coding agent: test the flows you changed and open the PR with screenshots. Built for flows other tools can't reach: managed test identities with live inboxes (magic links, email OTP and 2FA, verification mail, password resets), an encrypted secret store for login and test credentials, and a test graph that runs prerequisite flows first. Plain-English tests become replayable scripts on localhost or preview URLs.",
|
|
5
|
-
"version": "5.35.0-staging.
|
|
5
|
+
"version": "5.35.0-staging.322",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|
package/plugin/.mcp.json
CHANGED
|
@@ -18,7 +18,9 @@ set -uo pipefail
|
|
|
18
18
|
#
|
|
19
19
|
# The verbs are matched in the prompt alone, since a hex session id can spell
|
|
20
20
|
# "add" and a cwd can hold "build". Once the session has been routed the offer can
|
|
21
|
-
# never fire again, so its state flag ends the check in-shell.
|
|
21
|
+
# never fire again, so its state flag ends the check in-shell. detectBuildIntent
|
|
22
|
+
# drops a question or a slash command whatever verbs it holds, so those end here
|
|
23
|
+
# too, except a /muggle-do or /mdo command, which Node must see to arm the gate.
|
|
22
24
|
|
|
23
25
|
guardrail_script_dir="${BASH_SOURCE[0]%/*}"
|
|
24
26
|
[[ $guardrail_script_dir == "${BASH_SOURCE[0]}" ]] && guardrail_script_dir=.
|
|
@@ -30,6 +32,22 @@ guardrail_wants() {
|
|
|
30
32
|
if guardrail_load_state && guardrail_state_has '"buildIntentRouted": true'; then
|
|
31
33
|
return 1
|
|
32
34
|
fi
|
|
35
|
+
guardrail_payload_field prompt || return 1
|
|
36
|
+
# The prompt is still JSON-escaped: an escaped newline, return or tab counts as leading
|
|
37
|
+
# space, and any other escape leaves the prompt to Node.
|
|
38
|
+
local leading_space='^([[:space:]]|\\[nrt])*'
|
|
39
|
+
local question_pattern="$leading_space"'(why|what|how|when|where|who|is|are|does|do|can you (explain|tell)|explain)([^A-Za-z0-9_]|$)'
|
|
40
|
+
local slash_command_pattern="$leading_space"'/'
|
|
41
|
+
local muggle_do_command_pattern="$leading_space"'/([A-Za-z0-9_-]+:)?(muggle-do|mdo)([[:space:]]|\\|$)'
|
|
42
|
+
local is_rejected_by_node=1
|
|
43
|
+
shopt -s nocasematch
|
|
44
|
+
if [[ $GUARDRAIL_FIELD_VALUE =~ $question_pattern ]]; then
|
|
45
|
+
is_rejected_by_node=0
|
|
46
|
+
elif [[ $GUARDRAIL_FIELD_VALUE =~ $slash_command_pattern && ! $GUARDRAIL_FIELD_VALUE =~ $muggle_do_command_pattern ]]; then
|
|
47
|
+
is_rejected_by_node=0
|
|
48
|
+
fi
|
|
49
|
+
shopt -u nocasematch
|
|
50
|
+
((is_rejected_by_node == 0)) && return 1
|
|
33
51
|
guardrail_fields_match prompt '(implement|build|add|create|write|fix|refactor|wire up|hook up|make|change the|conflict|merged|passing|green|[/$](muggle:)?(muggle-do|mdo))'
|
|
34
52
|
}
|
|
35
53
|
|