Skip to content

Commit 944f683

Browse files
photonstormclaude
andcommitted
Fix npm scope: @phaser@phaserjs
The npm org is @phaserjs, so the package is @phaserjs/game-agent (publishing under @phaser 404s — that scope isn't ours). Updates package name + all docs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 3e20558 commit 944f683

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# @phaser/game-agent
1+
# @phaserjs/game-agent
22

33
Connect your **own** coding agent to the **Phaser Game Agent** and build Phaser games on a
44
private cloud workspace — your subscription drives the model, your Phaser account owns the
55
workspace.
66

77
```bash
8-
npx @phaser/game-agent # one-shot: detect your CLIs → pick → sign in → configure
8+
npx @phaserjs/game-agent # one-shot: detect your CLIs → pick → sign in → configure
99
```
1010

1111
That's the whole thing: it finds the coding-agent CLIs you have installed, lets you pick,
@@ -21,11 +21,11 @@ balance, and a menu to reconfigure CLIs, refresh your token, buy credits, or log
2121
### Commands
2222

2323
```bash
24-
npx @phaser/game-agent login # browser sign-in (or --token <t>) → stores your token
25-
npx @phaser/game-agent setup # write MCP config (--tool <id>|all, else detect + pick)
26-
npx @phaser/game-agent manual # print copy-paste MCP config for ANY non-listed client
27-
npx @phaser/game-agent status # who you are, access, and which CLIs are configured
28-
npx @phaser/game-agent logout # remove the token + every MCP config entry
24+
npx @phaserjs/game-agent login # browser sign-in (or --token <t>) → stores your token
25+
npx @phaserjs/game-agent setup # write MCP config (--tool <id>|all, else detect + pick)
26+
npx @phaserjs/game-agent manual # print copy-paste MCP config for ANY non-listed client
27+
npx @phaserjs/game-agent status # who you are, access, and which CLIs are configured
28+
npx @phaserjs/game-agent logout # remove the token + every MCP config entry
2929
```
3030

3131
### Using a client we don't list
@@ -56,8 +56,8 @@ is **one row** in [`targets.mjs`](./targets.mjs); *experimental* means the confi
5656
from the tool's docs but we haven't yet confirmed the tools load after a restart (please report).
5757

5858
> **Install globally for the bridge's sake.** The bridge-based CLIs store an absolute path to
59-
> `bridge.mjs`. With `npm i -g @phaser/game-agent` that path is stable; pure `npx` keeps it in a
60-
> cache that can be cleared. Use the one-shot `npx` to get started, then `npm i -g @phaser/game-agent`
59+
> `bridge.mjs`. With `npm i -g @phaserjs/game-agent` that path is stable; pure `npx` keeps it in a
60+
> cache that can be cleared. Use the one-shot `npx` to get started, then `npm i -g @phaserjs/game-agent`
6161
> if you rely on Codex/Cursor/etc.
6262
6363
## Options
@@ -75,7 +75,7 @@ Default endpoint: `https://mcp.phaser.io/agent/mcp`.
7575

7676
A thin `phaser-game-agent` [SKILL.md](./skills/phaser-game-agent/SKILL.md) ships alongside, so
7777
agents that use the open Agent-Skills ecosystem can discover it. It can't register the MCP by
78-
itself — its body tells the agent to run `npx @phaser/game-agent` to wire it up.
78+
itself — its body tells the agent to run `npx @phaserjs/game-agent` to wire it up.
7979

8080
## Develop / test
8181

@@ -87,7 +87,7 @@ node index.mjs status # run without installing
8787

8888
npm pack --dry-run # confirm the published file list
8989
npm pack && npm i -g ./phaser-game-agent-*.tgz # exercise the real artifact
90-
npm rm -g @phaser/game-agent # clean up
90+
npm rm -g @phaserjs/game-agent # clean up
9191
```
9292

9393
To add a CLI: add a row to `targets.mjs` (id, name, format, file path, serversKey, transport),
@@ -100,7 +100,7 @@ then verify by restarting that CLI and confirming the Phaser Game Agent tools ap
100100

101101
```bash
102102
npm pack --dry-run # confirm the file list (index.mjs, targets.mjs, bridge.mjs, skills/, NOTICE.md, LICENSE)
103-
npm publish # scoped public (publishConfig.access=public); needs @phaser org rights
103+
npm publish # scoped public (publishConfig.access=public); needs @phaserjs org rights
104104
```
105105

106106
Prior art: the detect-then-configure approach is informed by

index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ B) STDIO BRIDGE — works with EVERY MCP client. Runs the bundled bridge; token
282282
283283
Tips
284284
• Prefer (A) if your client offers a "remote / HTTP MCP server" option; otherwise use (B).
285-
• (B)'s command/args point at your GLOBAL install — keep it installed: npm i -g @phaser/game-agent
285+
• (B)'s command/args point at your GLOBAL install — keep it installed: npm i -g @phaserjs/game-agent
286286
• Our endpoint needs the token even to list tools, so a URL-only add with no header won't work.
287287
• If your client connected, "Check my Phaser Game Agent account" greets you by name.
288288

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@phaser/game-agent",
2+
"name": "@phaserjs/game-agent",
33
"version": "1.0.0",
44
"type": "module",
55
"description": "Phaser Game Agent — connect your coding agent (Claude Code, VS Code, Codex, Cursor, Gemini CLI, …) to build Phaser games on your own subscription.",

skills/phaser-game-agent/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The build tools live in the **Phaser Game Agent MCP**. If the `pga_*` tools are
1515
available in this session, ask the user to connect it:
1616

1717
```bash
18-
npx @phaser/game-agent
18+
npx @phaserjs/game-agent
1919
```
2020

2121
This signs them in (their own Phaser subscription) and writes the MCP config for this CLI;

0 commit comments

Comments
 (0)