@muggleai/works 5.25.0-staging.185 → 5.25.0-staging.186
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/skills/do/next-step.md +38 -5
- package/dist/release-manifest.json +3 -3
- 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/skills/do/next-step.md +38 -5
|
@@ -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.25.0-staging.
|
|
12
|
+
"version": "5.25.0-staging.186"
|
|
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.25.0-staging.
|
|
4
|
+
"version": "5.25.0-staging.186",
|
|
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.25.0-staging.
|
|
3
|
+
"version": "5.25.0-staging.186",
|
|
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.25.0-staging.
|
|
5
|
+
"version": "5.25.0-staging.186",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|
package/dist/plugin/.mcp.json
CHANGED
|
@@ -1,18 +1,51 @@
|
|
|
1
1
|
# Next-Step Suggestion
|
|
2
2
|
|
|
3
|
-
Closing step of a terminal `/muggle-do` turn (post-merge or post-close). Advances silently when the session still has a plan,
|
|
3
|
+
Closing step of a terminal `/muggle-do` turn (post-merge or post-close). Advances silently when the session still has a plan; otherwise reports where this chat's work stands, then asks what to do next.
|
|
4
4
|
|
|
5
5
|
## Input
|
|
6
6
|
|
|
7
7
|
- `slug` — the session.
|
|
8
8
|
- `teardownRan` — whether [`cleanup.md`](cleanup.md) already ran teardown (true on `merged` + `autoCleanup: always`; false on `closed` or a skipped gate).
|
|
9
9
|
|
|
10
|
+
## This chat's work
|
|
11
|
+
|
|
12
|
+
"This chat" is the Claude Code session running the turn, `$CLAUDE_CODE_SESSION_ID`. Its work is `<slug>` plus every slot under `~/.muggle-ai/muggle-do/sessions/` whose [`owner.json`](../muggle-pr-followup/state-schemas.md#ownerjson) records that id — the owned side of reconcile's split ([`reconcile.md`](../muggle-pr-followup/reconcile.md#step-1--enumerate-and-partition-slots)), finalized slots included. Every other slot holding a `prs.json` is another chat's work. With the id unset, this chat's work is `<slug>` alone.
|
|
13
|
+
|
|
14
|
+
The sessions directory holds every chat's slots, so a selector drawn from the whole directory offers work this chat never touched. Report and follow-ups cover this chat only; other chats sit behind one explicit option.
|
|
15
|
+
|
|
10
16
|
## Procedure
|
|
11
17
|
|
|
12
18
|
1. Read the session plan — the current session's TodoWrite list.
|
|
13
19
|
2. **Pending items remain** → do not prompt. Append `next-step: plan has <N> pending — advancing` to `followup.log` and continue to the next pending item. The user set a course; honor it.
|
|
14
|
-
3. **No pending items** →
|
|
15
|
-
- **Clean up now** — offer only when `teardownRan` is false (a `closed` PR, or `merged` with `autoCleanup` not `always`). Runs the shared teardown [`../_shared/post-merge-cleanup.md`](../_shared/post-merge-cleanup.md) for this slug, under its own safety rules.
|
|
16
|
-
- **Move on / next task** — start a fresh `/muggle-do` forward run, or pick another open session.
|
|
17
|
-
- **Done — stop here** — exit with no further action.
|
|
20
|
+
3. **No pending items** → print the [status block](#status-block), then ask with one `AskUserQuestion` [selector](#selector). The status block always comes first: a selector without it asks the user to decide blind.
|
|
18
21
|
4. Append the chosen outcome to `followup.log`.
|
|
22
|
+
|
|
23
|
+
## Status block
|
|
24
|
+
|
|
25
|
+
One line per slot of this chat's work, `<slug>` first, the rest newest first, then the `Left over` line:
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
This chat's work:
|
|
29
|
+
merged acme/widget#142 — Add CSV export · cleaned up
|
|
30
|
+
open acme/widget#145 — Rate-limit login · CI green · 2 threads open · watcher live
|
|
31
|
+
blocked acme/widget#147 — Retry webhooks · awaiting you: resolve the rebase conflict
|
|
32
|
+
closed acme/widget#139 — Old approach · unmerged, branch kept
|
|
33
|
+
Left over: #145 shipped [E2E FAILING]; review 2210 on #142 escalated
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
- **Terminal slots** (`merged`, `closed`) read `prs.json` and `result.md`; the teardown note comes from the cleanup line in `followup.log`.
|
|
37
|
+
- **Open slots** refresh live. Resolve the provider per [`detect-vcs.md`](../_shared/vcs/detect-vcs.md) and use its PR-metadata and unresolved-thread recipes ([`github.md`](../_shared/vcs/github.md), [`gitlab.md`](../_shared/vcs/gitlab.md)); CI per [`ci-rollup.md`](../_shared/vcs/common/ci-rollup.md). The watcher reads `live` when [`watch-heartbeat`](../muggle-pr-followup/state-schemas.md#watch-heartbeat) is fresh, `stopped` otherwise.
|
|
38
|
+
- **Blocked** replaces `open` when `last_seen.json` carries `blocked`; the line names the pending act per [`blocked-reminder.md`](../muggle-pr-followup/output-templates/blocked-reminder.md).
|
|
39
|
+
- **`Left over`** lists what this chat's slots recorded as unfinished: a waiver or Blocker in `state.md`, an `[E2E FAILING]` ship, escalated review ids in `result.md`. `nothing` when empty.
|
|
40
|
+
|
|
41
|
+
No other chat's slot appears in the block.
|
|
42
|
+
|
|
43
|
+
## Selector
|
|
44
|
+
|
|
45
|
+
At most four options, in this order:
|
|
46
|
+
|
|
47
|
+
1. **This chat's follow-ups** — up to two, each naming the status-block line it acts on. Candidates, highest first: unblock a `blocked` PR; **Clean up now** for `<slug>` when `teardownRan` is false, running [`../_shared/post-merge-cleanup.md`](../_shared/post-merge-cleanup.md) for this slug under its own safety rules; re-arm a `stopped` watcher on an open PR; address a `Left over` item. Anything the status block does not show is never offered — no generic suggestion, no other chat's PR. Candidates past the first two stay reachable through the free-text answer.
|
|
48
|
+
2. **Other chats' work** — always present; the gear shift. Lists every unfinalized slot of another chat (no `result.md`, name not ending in `.stopped`) as `<slug> → <owner>/<repo>#<n> — <title> (<state>)`, newest first, from each slot's `prs.json` and `last_seen.json`, or `No other chat has open work.` Then one selector: up to three of those slots to adopt per [`adopt.md`](../muggle-pr-followup/adopt.md), plus **Done**. Listing adopts nothing; a slot changes hands only when the user picks it.
|
|
49
|
+
3. **Done — stop here** — exit with no further action.
|
|
50
|
+
|
|
51
|
+
A new task goes through the selector's free-text answer, which starts a fresh `/muggle-do` forward run.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"release": "5.18.0",
|
|
3
|
-
"buildId": "run-
|
|
4
|
-
"commitSha": "
|
|
5
|
-
"buildTime": "2026-10-23T18:
|
|
3
|
+
"buildId": "run-186-1",
|
|
4
|
+
"commitSha": "8650294aca28949199047d5502a07cf04cc36f3d",
|
|
5
|
+
"buildTime": "2026-10-23T18:32:16Z",
|
|
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.25.0-staging.
|
|
4
|
+
"version": "5.25.0-staging.186",
|
|
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.25.0-staging.
|
|
4
|
+
"version": "5.25.0-staging.186",
|
|
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.25.0-staging.
|
|
3
|
+
"version": "5.25.0-staging.186",
|
|
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.25.0-staging.
|
|
5
|
+
"version": "5.25.0-staging.186",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|
package/plugin/.mcp.json
CHANGED
|
@@ -1,18 +1,51 @@
|
|
|
1
1
|
# Next-Step Suggestion
|
|
2
2
|
|
|
3
|
-
Closing step of a terminal `/muggle-do` turn (post-merge or post-close). Advances silently when the session still has a plan,
|
|
3
|
+
Closing step of a terminal `/muggle-do` turn (post-merge or post-close). Advances silently when the session still has a plan; otherwise reports where this chat's work stands, then asks what to do next.
|
|
4
4
|
|
|
5
5
|
## Input
|
|
6
6
|
|
|
7
7
|
- `slug` — the session.
|
|
8
8
|
- `teardownRan` — whether [`cleanup.md`](cleanup.md) already ran teardown (true on `merged` + `autoCleanup: always`; false on `closed` or a skipped gate).
|
|
9
9
|
|
|
10
|
+
## This chat's work
|
|
11
|
+
|
|
12
|
+
"This chat" is the Claude Code session running the turn, `$CLAUDE_CODE_SESSION_ID`. Its work is `<slug>` plus every slot under `~/.muggle-ai/muggle-do/sessions/` whose [`owner.json`](../muggle-pr-followup/state-schemas.md#ownerjson) records that id — the owned side of reconcile's split ([`reconcile.md`](../muggle-pr-followup/reconcile.md#step-1--enumerate-and-partition-slots)), finalized slots included. Every other slot holding a `prs.json` is another chat's work. With the id unset, this chat's work is `<slug>` alone.
|
|
13
|
+
|
|
14
|
+
The sessions directory holds every chat's slots, so a selector drawn from the whole directory offers work this chat never touched. Report and follow-ups cover this chat only; other chats sit behind one explicit option.
|
|
15
|
+
|
|
10
16
|
## Procedure
|
|
11
17
|
|
|
12
18
|
1. Read the session plan — the current session's TodoWrite list.
|
|
13
19
|
2. **Pending items remain** → do not prompt. Append `next-step: plan has <N> pending — advancing` to `followup.log` and continue to the next pending item. The user set a course; honor it.
|
|
14
|
-
3. **No pending items** →
|
|
15
|
-
- **Clean up now** — offer only when `teardownRan` is false (a `closed` PR, or `merged` with `autoCleanup` not `always`). Runs the shared teardown [`../_shared/post-merge-cleanup.md`](../_shared/post-merge-cleanup.md) for this slug, under its own safety rules.
|
|
16
|
-
- **Move on / next task** — start a fresh `/muggle-do` forward run, or pick another open session.
|
|
17
|
-
- **Done — stop here** — exit with no further action.
|
|
20
|
+
3. **No pending items** → print the [status block](#status-block), then ask with one `AskUserQuestion` [selector](#selector). The status block always comes first: a selector without it asks the user to decide blind.
|
|
18
21
|
4. Append the chosen outcome to `followup.log`.
|
|
22
|
+
|
|
23
|
+
## Status block
|
|
24
|
+
|
|
25
|
+
One line per slot of this chat's work, `<slug>` first, the rest newest first, then the `Left over` line:
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
This chat's work:
|
|
29
|
+
merged acme/widget#142 — Add CSV export · cleaned up
|
|
30
|
+
open acme/widget#145 — Rate-limit login · CI green · 2 threads open · watcher live
|
|
31
|
+
blocked acme/widget#147 — Retry webhooks · awaiting you: resolve the rebase conflict
|
|
32
|
+
closed acme/widget#139 — Old approach · unmerged, branch kept
|
|
33
|
+
Left over: #145 shipped [E2E FAILING]; review 2210 on #142 escalated
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
- **Terminal slots** (`merged`, `closed`) read `prs.json` and `result.md`; the teardown note comes from the cleanup line in `followup.log`.
|
|
37
|
+
- **Open slots** refresh live. Resolve the provider per [`detect-vcs.md`](../_shared/vcs/detect-vcs.md) and use its PR-metadata and unresolved-thread recipes ([`github.md`](../_shared/vcs/github.md), [`gitlab.md`](../_shared/vcs/gitlab.md)); CI per [`ci-rollup.md`](../_shared/vcs/common/ci-rollup.md). The watcher reads `live` when [`watch-heartbeat`](../muggle-pr-followup/state-schemas.md#watch-heartbeat) is fresh, `stopped` otherwise.
|
|
38
|
+
- **Blocked** replaces `open` when `last_seen.json` carries `blocked`; the line names the pending act per [`blocked-reminder.md`](../muggle-pr-followup/output-templates/blocked-reminder.md).
|
|
39
|
+
- **`Left over`** lists what this chat's slots recorded as unfinished: a waiver or Blocker in `state.md`, an `[E2E FAILING]` ship, escalated review ids in `result.md`. `nothing` when empty.
|
|
40
|
+
|
|
41
|
+
No other chat's slot appears in the block.
|
|
42
|
+
|
|
43
|
+
## Selector
|
|
44
|
+
|
|
45
|
+
At most four options, in this order:
|
|
46
|
+
|
|
47
|
+
1. **This chat's follow-ups** — up to two, each naming the status-block line it acts on. Candidates, highest first: unblock a `blocked` PR; **Clean up now** for `<slug>` when `teardownRan` is false, running [`../_shared/post-merge-cleanup.md`](../_shared/post-merge-cleanup.md) for this slug under its own safety rules; re-arm a `stopped` watcher on an open PR; address a `Left over` item. Anything the status block does not show is never offered — no generic suggestion, no other chat's PR. Candidates past the first two stay reachable through the free-text answer.
|
|
48
|
+
2. **Other chats' work** — always present; the gear shift. Lists every unfinalized slot of another chat (no `result.md`, name not ending in `.stopped`) as `<slug> → <owner>/<repo>#<n> — <title> (<state>)`, newest first, from each slot's `prs.json` and `last_seen.json`, or `No other chat has open work.` Then one selector: up to three of those slots to adopt per [`adopt.md`](../muggle-pr-followup/adopt.md), plus **Done**. Listing adopts nothing; a slot changes hands only when the user picks it.
|
|
49
|
+
3. **Done — stop here** — exit with no further action.
|
|
50
|
+
|
|
51
|
+
A new task goes through the selector's free-text answer, which starts a fresh `/muggle-do` forward run.
|