@muggleai/works 5.33.0-staging.301 → 5.33.0-staging.302
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 +1 -0
- 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/README.md +1 -0
- package/dist/plugin/commands/mregister.md +7 -0
- package/dist/plugin/skills/CLAUDE.md +1 -1
- package/dist/plugin/skills/_aliases.json +1 -0
- package/dist/plugin/skills/do/input-routing.md +1 -1
- package/dist/plugin/skills/mregister/SKILL.md +9 -0
- package/dist/plugin/skills/mregister/agents/openai.yaml +7 -0
- package/dist/plugin/skills/muggle/SKILL.md +3 -2
- package/dist/plugin/skills/muggle-register/SKILL.md +50 -0
- 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/README.md +1 -0
- package/plugin/commands/mregister.md +7 -0
- package/plugin/skills/CLAUDE.md +1 -1
- package/plugin/skills/_aliases.json +1 -0
- package/plugin/skills/do/input-routing.md +1 -1
- package/plugin/skills/mregister/SKILL.md +9 -0
- package/plugin/skills/mregister/agents/openai.yaml +7 -0
- package/plugin/skills/muggle/SKILL.md +3 -2
- package/plugin/skills/muggle-register/SKILL.md +50 -0
|
@@ -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.33.0-staging.
|
|
12
|
+
"version": "5.33.0-staging.302"
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
}
|
package/README.md
CHANGED
|
@@ -152,6 +152,7 @@ Every skill has a short alias. Both spellings work in Claude Code. In Codex, men
|
|
|
152
152
|
| `/muggle:muggle-logout` | `/mlogout` | Sign out |
|
|
153
153
|
| `/muggle:muggle-run-view` | `/mrun` | View a local run's steps and frames |
|
|
154
154
|
| `/muggle:muggle-cleanup` | `/mcleanup` | Remove old runner versions |
|
|
155
|
+
| `/muggle:muggle-register` | `/mregister` | Create a new account from the terminal |
|
|
155
156
|
|
|
156
157
|
---
|
|
157
158
|
|
|
@@ -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.33.0-staging.
|
|
4
|
+
"version": "5.33.0-staging.302",
|
|
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.33.0-staging.
|
|
3
|
+
"version": "5.33.0-staging.302",
|
|
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.33.0-staging.
|
|
5
|
+
"version": "5.33.0-staging.302",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|
package/dist/plugin/.mcp.json
CHANGED
package/dist/plugin/README.md
CHANGED
|
@@ -53,6 +53,7 @@ Type `muggle` to discover the full command family.
|
|
|
53
53
|
| `/muggle:muggle-logout` | `/mlogout` | Sign out and clear stored credentials. |
|
|
54
54
|
| `/muggle:muggle-run-view` | `/mrun` | View a local run's steps beside the frames they produced. |
|
|
55
55
|
| `/muggle:muggle-cleanup` | `/mcleanup` | Remove old browser test runner versions and obsolete skills. |
|
|
56
|
+
| `/muggle:muggle-register` | `/mregister` | Create a new Muggle AI account with an email and password, no browser needed, and store its API key. |
|
|
56
57
|
|
|
57
58
|
Every skill ships the short alias in the table above. Type `/m` (Claude Code), `m` (Cursor) or `$muggle:m` (Codex) to open the menu, or jump straight to one (e.g. `/mtest`, `$muggle:mtest`). Claude Code namespaces plugin commands, so the aliases resolve as `/muggle:mtest`; mirror them into `~/.claude/commands/` to type `/mtest` bare.
|
|
58
59
|
|
|
@@ -50,7 +50,7 @@ Each skill sets a `model:` in its `SKILL.md` frontmatter sized to its cognitive
|
|
|
50
50
|
|
|
51
51
|
| Model | Skills | Why this tier |
|
|
52
52
|
|-------|--------|---------------|
|
|
53
|
-
| `haiku` | `muggle`, `muggle-status`, `muggle-repair`, `muggle-upgrade`, `muggle-preferences`, `muggle-feedback`, `muggle-init`, `muggle-ci-install`, `muggle-login`, `muggle-logout`, `muggle-run-view`, `muggle-cleanup` | Routers and dumb pipes. They follow an explicit procedure with no open-ended reasoning: route intent to a downstream skill, run a fixed CLI sequence, CRUD a config file, or format a status report. |
|
|
53
|
+
| `haiku` | `muggle`, `muggle-status`, `muggle-repair`, `muggle-upgrade`, `muggle-preferences`, `muggle-feedback`, `muggle-init`, `muggle-ci-install`, `muggle-login`, `muggle-logout`, `muggle-run-view`, `muggle-cleanup`, `muggle-register` | Routers and dumb pipes. They follow an explicit procedure with no open-ended reasoning: route intent to a downstream skill, run a fixed CLI sequence, CRUD a config file, or format a status report. |
|
|
54
54
|
| `sonnet` | `muggle-pr-visual-walkthrough` (executes via the `visual-walkthrough-builder` agent), `muggle-test-regenerate-missing`, `muggle-pr-followup` | Multi-step orchestration with light judgment, short of deep reasoning: assemble run data and build a PR section with fit-vs-overflow handling; scan, filter, bulk-dispatch, and classify per-item failures into buckets; run a watcher tick across a dozen procedure files and fire the one `/muggle-do` directive its verdict calls for. More moving parts than a router, but each step is well-defined. The watcher moved up from `haiku`: its tick eval passed 3–4 of 23 scenarios there, describing the procedure instead of running it, and a tick now runs only when its token-free watch loop exits with something to act on. |
|
|
55
55
|
| `opus` (explicit pin) | `muggle-test-prepare` (executes via the `test-prepare-runner` agent) | Pinned for **reliability**, not raw reasoning load: it's flaky on smaller models, and since other skills gate on the environment it readies, a wrong call is expensive. Pin explicitly rather than leaving `model:` unset so it stays on Opus even when the user's session runs a cheaper model. |
|
|
56
56
|
|
|
@@ -6,7 +6,7 @@ How `/muggle-do` resolves `$ARGUMENTS` to a mode. Modes 1–4 are programmatic
|
|
|
6
6
|
2. **Fix-CI** — a PR/MR URL **and** a `fix ci` / `fix-ci` directive with failing check names (no review/discussion ids) → [`fix-ci.md`](fix-ci.md).
|
|
7
7
|
3. **Rebase** — a PR/MR URL **and** a `rebase` directive (or legacy `resolve conflicts` / `resolve-conflicts`; no review/discussion ids, no check names) → [`resolve-conflicts.md`](resolve-conflicts.md). Rebases the branch onto its base whether it's merely behind or actually conflicting.
|
|
8
8
|
4. **Post-merge cleanup** — a `cleanup` token and `slug=<slug>` (no PR URL, no review ids), optionally `state=<merged|closed>` (default `merged`) → [`cleanup.md`](cleanup.md).
|
|
9
|
-
5. **Empty / `help` / `menu` / `?`** → menu + session selector, answered from this file alone: open no stage file. The menu offers describing a task to start the forward pipeline, plus `/muggle-status`, `/muggle-repair`, and `/muggle-
|
|
9
|
+
5. **Empty / `help` / `menu` / `?`** → menu + session selector, answered from this file alone: open no stage file. The menu offers describing a task to start the forward pipeline, plus `/muggle-status`, `/muggle-repair`, `/muggle-upgrade`, and `/muggle-register`. The session selector lists each directory under `~/.muggle-ai/muggle-do/sessions/` with the PRs and states in its `prs.json`; picking one resumes that session.
|
|
10
10
|
6. **Task automation** (perform an action on a website) → `muggle:muggle-browser-task`.
|
|
11
11
|
7. **Otherwise** → forward pipeline at Stage 1.
|
|
12
12
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mregister
|
|
3
|
+
description: Explicit short alias for the `muggle-register` skill. ONLY invoke when the user explicitly types `mregister` or `/mregister` — never auto-trigger from any other phrasing.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# mregister — alias for muggle-register
|
|
8
|
+
|
|
9
|
+
Invoke the `muggle-register` skill via the Skill tool. Forward any user-provided arguments unchanged. In a host with no Skill tool (Codex), open `../muggle-register/SKILL.md` and follow it with those arguments.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Codex reads this beside SKILL.md. An alias is for the user to type, never for
|
|
2
|
+
# the model to pick on its own: Codex's equivalent of disable-model-invocation.
|
|
3
|
+
interface:
|
|
4
|
+
display_name: "mregister"
|
|
5
|
+
short_description: "Short alias for the muggle-register skill"
|
|
6
|
+
policy:
|
|
7
|
+
allow_implicit_invocation: false
|
|
@@ -26,8 +26,8 @@ When user asks for "muggle" with no specific subcommand, use `AskUserQuestion` t
|
|
|
26
26
|
|
|
27
27
|
- "Test a feature — run E2E acceptance tests locally or remotely" → `muggle-test-feature-local` (local) or `muggle-test` (remote/change-driven)
|
|
28
28
|
- "Build something — implement a feature with E2E acceptance tests and a visual PR" → `muggle-do`
|
|
29
|
-
- "Health check — verify installation
|
|
30
|
-
- "
|
|
29
|
+
- "Health check — verify installation, fix issues, or upgrade" → `muggle-status` (then `muggle-repair` if issues found, `muggle-upgrade` if out of date)
|
|
30
|
+
- "Create an account — register a new Muggle AI account" → `muggle-register`
|
|
31
31
|
|
|
32
32
|
## Routing
|
|
33
33
|
|
|
@@ -42,6 +42,7 @@ If the user intent clearly matches one command, route directly — no menu neede
|
|
|
42
42
|
- log out/sign out → `muggle-logout`
|
|
43
43
|
- view a local run/muggle run-view → `muggle-run-view`
|
|
44
44
|
- remove old runner versions/free disk space/muggle cleanup → `muggle-cleanup`
|
|
45
|
+
- create an account/register/sign up for muggle → `muggle-register`
|
|
45
46
|
- test my changes/acceptance test my work/test before push/post E2E acceptance results to PR/test on staging/test on preview → `muggle-test`
|
|
46
47
|
- test localhost/validate single feature/test a feature → `muggle-test-feature-local`
|
|
47
48
|
- build/implement from request/end-to-end → `muggle-do`
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: muggle-register
|
|
3
|
+
model: haiku
|
|
4
|
+
description: "Create a new Muggle AI account: sign up or register."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Muggle Test Register
|
|
8
|
+
|
|
9
|
+
> Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-register"`.
|
|
10
|
+
|
|
11
|
+
> Running outside Claude Code (in Codex, for one)? Read [`../_shared/host-tool-equivalents.md`](../_shared/host-tool-equivalents.md) first — it maps the tools and paths this skill names to your host's.
|
|
12
|
+
|
|
13
|
+
Create a Muggle AI account and store its API key.
|
|
14
|
+
|
|
15
|
+
## Password handling
|
|
16
|
+
|
|
17
|
+
Never repeat the password in a reply, a log, a file, a commit, or a telemetry event. Pass it only as the `password` argument of `muggle-remote-auth-register`, which sends it once and keeps no local copy.
|
|
18
|
+
|
|
19
|
+
## Steps
|
|
20
|
+
|
|
21
|
+
1. **Check the current identity** — call `muggle-remote-auth-status`. If an account is already signed in, registering replaces its stored key, so name that account and use `AskUserQuestion` to confirm before continuing. On a no, stop.
|
|
22
|
+
|
|
23
|
+
2. **Collect the credentials** — take the email from the skill's arguments when given, otherwise ask for it. Ask for a password of at least 8 characters.
|
|
24
|
+
|
|
25
|
+
3. **Register** — call `muggle-remote-auth-register` with `email` and `password`.
|
|
26
|
+
|
|
27
|
+
4. **Act on the `outcome`:**
|
|
28
|
+
|
|
29
|
+
| Outcome | Action |
|
|
30
|
+
|---------|--------|
|
|
31
|
+
| `created` | Call `muggle-remote-auth-status` to confirm the key works, then report per **Output**. |
|
|
32
|
+
| `already-registered` | Say the address already has an account, then run the `muggle-login` skill. |
|
|
33
|
+
| `throttled` | Report the tool's `message`, including any wait. Do not retry. |
|
|
34
|
+
|
|
35
|
+
Any other failure raises an error: show its message and stop. If the service looks unreachable, point the user at `/muggle:muggle-status`.
|
|
36
|
+
|
|
37
|
+
## Output
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
Muggle AI — Account created
|
|
41
|
+
|
|
42
|
+
Email <email>
|
|
43
|
+
Plan <plan>
|
|
44
|
+
Tokens <tokensGranted> available now
|
|
45
|
+
API key stored — remote tools use it automatically
|
|
46
|
+
|
|
47
|
+
Verify <email> to move to the Starter package and raise the allowance to <tokensOnVerification> tokens.
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
The account works unverified, so verification never blocks the next step.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"release": "5.33.0-staging.
|
|
3
|
-
"buildId": "run-
|
|
4
|
-
"commitSha": "
|
|
5
|
-
"buildTime": "2026-11-
|
|
2
|
+
"release": "5.33.0-staging.302",
|
|
3
|
+
"buildId": "run-302-1",
|
|
4
|
+
"commitSha": "9b0873074fe714f6d4616b55028e726315c5a0ba",
|
|
5
|
+
"buildTime": "2026-11-05T08:17:03Z",
|
|
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.33.0-staging.
|
|
4
|
+
"version": "5.33.0-staging.302",
|
|
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.33.0-staging.
|
|
4
|
+
"version": "5.33.0-staging.302",
|
|
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.33.0-staging.
|
|
3
|
+
"version": "5.33.0-staging.302",
|
|
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.33.0-staging.
|
|
5
|
+
"version": "5.33.0-staging.302",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Muggle AI",
|
|
8
8
|
"email": "support@muggle-ai.com"
|
package/plugin/.mcp.json
CHANGED
package/plugin/README.md
CHANGED
|
@@ -53,6 +53,7 @@ Type `muggle` to discover the full command family.
|
|
|
53
53
|
| `/muggle:muggle-logout` | `/mlogout` | Sign out and clear stored credentials. |
|
|
54
54
|
| `/muggle:muggle-run-view` | `/mrun` | View a local run's steps beside the frames they produced. |
|
|
55
55
|
| `/muggle:muggle-cleanup` | `/mcleanup` | Remove old browser test runner versions and obsolete skills. |
|
|
56
|
+
| `/muggle:muggle-register` | `/mregister` | Create a new Muggle AI account with an email and password, no browser needed, and store its API key. |
|
|
56
57
|
|
|
57
58
|
Every skill ships the short alias in the table above. Type `/m` (Claude Code), `m` (Cursor) or `$muggle:m` (Codex) to open the menu, or jump straight to one (e.g. `/mtest`, `$muggle:mtest`). Claude Code namespaces plugin commands, so the aliases resolve as `/muggle:mtest`; mirror them into `~/.claude/commands/` to type `/mtest` bare.
|
|
58
59
|
|
package/plugin/skills/CLAUDE.md
CHANGED
|
@@ -50,7 +50,7 @@ Each skill sets a `model:` in its `SKILL.md` frontmatter sized to its cognitive
|
|
|
50
50
|
|
|
51
51
|
| Model | Skills | Why this tier |
|
|
52
52
|
|-------|--------|---------------|
|
|
53
|
-
| `haiku` | `muggle`, `muggle-status`, `muggle-repair`, `muggle-upgrade`, `muggle-preferences`, `muggle-feedback`, `muggle-init`, `muggle-ci-install`, `muggle-login`, `muggle-logout`, `muggle-run-view`, `muggle-cleanup` | Routers and dumb pipes. They follow an explicit procedure with no open-ended reasoning: route intent to a downstream skill, run a fixed CLI sequence, CRUD a config file, or format a status report. |
|
|
53
|
+
| `haiku` | `muggle`, `muggle-status`, `muggle-repair`, `muggle-upgrade`, `muggle-preferences`, `muggle-feedback`, `muggle-init`, `muggle-ci-install`, `muggle-login`, `muggle-logout`, `muggle-run-view`, `muggle-cleanup`, `muggle-register` | Routers and dumb pipes. They follow an explicit procedure with no open-ended reasoning: route intent to a downstream skill, run a fixed CLI sequence, CRUD a config file, or format a status report. |
|
|
54
54
|
| `sonnet` | `muggle-pr-visual-walkthrough` (executes via the `visual-walkthrough-builder` agent), `muggle-test-regenerate-missing`, `muggle-pr-followup` | Multi-step orchestration with light judgment, short of deep reasoning: assemble run data and build a PR section with fit-vs-overflow handling; scan, filter, bulk-dispatch, and classify per-item failures into buckets; run a watcher tick across a dozen procedure files and fire the one `/muggle-do` directive its verdict calls for. More moving parts than a router, but each step is well-defined. The watcher moved up from `haiku`: its tick eval passed 3–4 of 23 scenarios there, describing the procedure instead of running it, and a tick now runs only when its token-free watch loop exits with something to act on. |
|
|
55
55
|
| `opus` (explicit pin) | `muggle-test-prepare` (executes via the `test-prepare-runner` agent) | Pinned for **reliability**, not raw reasoning load: it's flaky on smaller models, and since other skills gate on the environment it readies, a wrong call is expensive. Pin explicitly rather than leaving `model:` unset so it stays on Opus even when the user's session runs a cheaper model. |
|
|
56
56
|
|
|
@@ -6,7 +6,7 @@ How `/muggle-do` resolves `$ARGUMENTS` to a mode. Modes 1–4 are programmatic
|
|
|
6
6
|
2. **Fix-CI** — a PR/MR URL **and** a `fix ci` / `fix-ci` directive with failing check names (no review/discussion ids) → [`fix-ci.md`](fix-ci.md).
|
|
7
7
|
3. **Rebase** — a PR/MR URL **and** a `rebase` directive (or legacy `resolve conflicts` / `resolve-conflicts`; no review/discussion ids, no check names) → [`resolve-conflicts.md`](resolve-conflicts.md). Rebases the branch onto its base whether it's merely behind or actually conflicting.
|
|
8
8
|
4. **Post-merge cleanup** — a `cleanup` token and `slug=<slug>` (no PR URL, no review ids), optionally `state=<merged|closed>` (default `merged`) → [`cleanup.md`](cleanup.md).
|
|
9
|
-
5. **Empty / `help` / `menu` / `?`** → menu + session selector, answered from this file alone: open no stage file. The menu offers describing a task to start the forward pipeline, plus `/muggle-status`, `/muggle-repair`, and `/muggle-
|
|
9
|
+
5. **Empty / `help` / `menu` / `?`** → menu + session selector, answered from this file alone: open no stage file. The menu offers describing a task to start the forward pipeline, plus `/muggle-status`, `/muggle-repair`, `/muggle-upgrade`, and `/muggle-register`. The session selector lists each directory under `~/.muggle-ai/muggle-do/sessions/` with the PRs and states in its `prs.json`; picking one resumes that session.
|
|
10
10
|
6. **Task automation** (perform an action on a website) → `muggle:muggle-browser-task`.
|
|
11
11
|
7. **Otherwise** → forward pipeline at Stage 1.
|
|
12
12
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mregister
|
|
3
|
+
description: Explicit short alias for the `muggle-register` skill. ONLY invoke when the user explicitly types `mregister` or `/mregister` — never auto-trigger from any other phrasing.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# mregister — alias for muggle-register
|
|
8
|
+
|
|
9
|
+
Invoke the `muggle-register` skill via the Skill tool. Forward any user-provided arguments unchanged. In a host with no Skill tool (Codex), open `../muggle-register/SKILL.md` and follow it with those arguments.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Codex reads this beside SKILL.md. An alias is for the user to type, never for
|
|
2
|
+
# the model to pick on its own: Codex's equivalent of disable-model-invocation.
|
|
3
|
+
interface:
|
|
4
|
+
display_name: "mregister"
|
|
5
|
+
short_description: "Short alias for the muggle-register skill"
|
|
6
|
+
policy:
|
|
7
|
+
allow_implicit_invocation: false
|
|
@@ -26,8 +26,8 @@ When user asks for "muggle" with no specific subcommand, use `AskUserQuestion` t
|
|
|
26
26
|
|
|
27
27
|
- "Test a feature — run E2E acceptance tests locally or remotely" → `muggle-test-feature-local` (local) or `muggle-test` (remote/change-driven)
|
|
28
28
|
- "Build something — implement a feature with E2E acceptance tests and a visual PR" → `muggle-do`
|
|
29
|
-
- "Health check — verify installation
|
|
30
|
-
- "
|
|
29
|
+
- "Health check — verify installation, fix issues, or upgrade" → `muggle-status` (then `muggle-repair` if issues found, `muggle-upgrade` if out of date)
|
|
30
|
+
- "Create an account — register a new Muggle AI account" → `muggle-register`
|
|
31
31
|
|
|
32
32
|
## Routing
|
|
33
33
|
|
|
@@ -42,6 +42,7 @@ If the user intent clearly matches one command, route directly — no menu neede
|
|
|
42
42
|
- log out/sign out → `muggle-logout`
|
|
43
43
|
- view a local run/muggle run-view → `muggle-run-view`
|
|
44
44
|
- remove old runner versions/free disk space/muggle cleanup → `muggle-cleanup`
|
|
45
|
+
- create an account/register/sign up for muggle → `muggle-register`
|
|
45
46
|
- test my changes/acceptance test my work/test before push/post E2E acceptance results to PR/test on staging/test on preview → `muggle-test`
|
|
46
47
|
- test localhost/validate single feature/test a feature → `muggle-test-feature-local`
|
|
47
48
|
- build/implement from request/end-to-end → `muggle-do`
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: muggle-register
|
|
3
|
+
model: haiku
|
|
4
|
+
description: "Create a new Muggle AI account: sign up or register."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Muggle Test Register
|
|
8
|
+
|
|
9
|
+
> Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-register"`.
|
|
10
|
+
|
|
11
|
+
> Running outside Claude Code (in Codex, for one)? Read [`../_shared/host-tool-equivalents.md`](../_shared/host-tool-equivalents.md) first — it maps the tools and paths this skill names to your host's.
|
|
12
|
+
|
|
13
|
+
Create a Muggle AI account and store its API key.
|
|
14
|
+
|
|
15
|
+
## Password handling
|
|
16
|
+
|
|
17
|
+
Never repeat the password in a reply, a log, a file, a commit, or a telemetry event. Pass it only as the `password` argument of `muggle-remote-auth-register`, which sends it once and keeps no local copy.
|
|
18
|
+
|
|
19
|
+
## Steps
|
|
20
|
+
|
|
21
|
+
1. **Check the current identity** — call `muggle-remote-auth-status`. If an account is already signed in, registering replaces its stored key, so name that account and use `AskUserQuestion` to confirm before continuing. On a no, stop.
|
|
22
|
+
|
|
23
|
+
2. **Collect the credentials** — take the email from the skill's arguments when given, otherwise ask for it. Ask for a password of at least 8 characters.
|
|
24
|
+
|
|
25
|
+
3. **Register** — call `muggle-remote-auth-register` with `email` and `password`.
|
|
26
|
+
|
|
27
|
+
4. **Act on the `outcome`:**
|
|
28
|
+
|
|
29
|
+
| Outcome | Action |
|
|
30
|
+
|---------|--------|
|
|
31
|
+
| `created` | Call `muggle-remote-auth-status` to confirm the key works, then report per **Output**. |
|
|
32
|
+
| `already-registered` | Say the address already has an account, then run the `muggle-login` skill. |
|
|
33
|
+
| `throttled` | Report the tool's `message`, including any wait. Do not retry. |
|
|
34
|
+
|
|
35
|
+
Any other failure raises an error: show its message and stop. If the service looks unreachable, point the user at `/muggle:muggle-status`.
|
|
36
|
+
|
|
37
|
+
## Output
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
Muggle AI — Account created
|
|
41
|
+
|
|
42
|
+
Email <email>
|
|
43
|
+
Plan <plan>
|
|
44
|
+
Tokens <tokensGranted> available now
|
|
45
|
+
API key stored — remote tools use it automatically
|
|
46
|
+
|
|
47
|
+
Verify <email> to move to the Starter package and raise the allowance to <tokensOnVerification> tokens.
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
The account works unverified, so verification never blocks the next step.
|