gamesteel 0.1.0 → 0.2.0
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/README.md +4 -4
- package/dist/gamesteel.js +3 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Sets [Gamesteel](https://gamesteel.onrender.com) up in your AI agent. Gamesteel makes 2D games that play in the browser, and your own agent builds them through its tools. Gamesteel runs on the website: your agent reaches it by its address and signs in once.
|
|
4
4
|
|
|
5
5
|
```
|
|
6
|
-
npx gamesteel connect # the agents it sets up, and how each stands
|
|
7
|
-
npx gamesteel connect claude # set one up
|
|
6
|
+
npx gamesteel@latest connect # the agents it sets up, and how each stands
|
|
7
|
+
npx gamesteel@latest connect claude # set one up
|
|
8
8
|
```
|
|
9
9
|
|
|
10
|
-
It sets up 31 agents, each in its own way: Claude Code, Codex, Gemini CLI, Antigravity CLI, GitHub Copilot CLI, Cursor, VS Code, OpenCode, Claude Desktop, Zed, Goose and more. `npx gamesteel connect` lists them all with the name to use.
|
|
10
|
+
It sets up 31 agents, each in its own way: Claude Code, Codex, Gemini CLI, Antigravity CLI, GitHub Copilot CLI, Cursor, VS Code, OpenCode, Claude Desktop, Zed, Goose and more. `npx gamesteel@latest connect` lists them all with the name to use.
|
|
11
11
|
|
|
12
12
|
- The first time your agent connects, it opens Gamesteel's sign-in in your browser: log in and Allow.
|
|
13
|
-
- A few agents take a key instead of signing in. Make one on the editor's Agents page, then run `npx gamesteel connect <agent> --key <your key>`.
|
|
13
|
+
- A few agents take a key instead of signing in. Make one on the editor's Agents page, then run `npx gamesteel@latest connect <agent> --key <your key>`.
|
|
14
14
|
- `--print` shows what it would write, without writing it. Your agent's settings file is kept beside the new one as `<file>.before-gamesteel`.
|
|
15
15
|
|
|
16
16
|
It needs Node.js 20 or newer. To set an agent up by hand instead, see [the Connect page](https://gamesteel.onrender.com/connect).
|
package/dist/gamesteel.js
CHANGED
|
@@ -90,7 +90,7 @@ var AGENTS = [
|
|
|
90
90
|
assistant: "Cursor",
|
|
91
91
|
name: "Cursor",
|
|
92
92
|
commands: ["cursor", "cursor-agent"],
|
|
93
|
-
flags: [
|
|
93
|
+
flags: [],
|
|
94
94
|
way: "json",
|
|
95
95
|
file: (place) => join(place.home, ".cursor", "mcp.json"),
|
|
96
96
|
install: "https://cursor.com"
|
|
@@ -375,7 +375,7 @@ function agentById(id) {
|
|
|
375
375
|
return AGENTS.find((agent) => agent.id === id);
|
|
376
376
|
}
|
|
377
377
|
var LIVE_SITE = "https://gamesteel.onrender.com";
|
|
378
|
-
var CONNECT_COMMAND = "npx gamesteel connect";
|
|
378
|
+
var CONNECT_COMMAND = "npx gamesteel@latest connect";
|
|
379
379
|
var bearer = (key) => ({ Authorization: `Bearer ${key}` });
|
|
380
380
|
var REMOTE = {
|
|
381
381
|
// code.claude.com/docs/en/mcp: `claude mcp add --transport http`, OAuth through /mcp.
|
|
@@ -446,8 +446,6 @@ function addressFor(agent, site) {
|
|
|
446
446
|
const flag = (name) => agent.flags[agent.flags.indexOf(name) + 1];
|
|
447
447
|
if (agent.flags.includes("--schemas") && flag("--schemas") === "portable")
|
|
448
448
|
return `${base}/portable`;
|
|
449
|
-
if (agent.flags.includes("--tools") && flag("--tools") === "core")
|
|
450
|
-
return `${base}/core`;
|
|
451
449
|
return base;
|
|
452
450
|
}
|
|
453
451
|
var bridgeLaunch = (address) => ({ command: "npx", args: ["-y", "mcp-remote", address] });
|
|
@@ -1617,7 +1615,7 @@ function statusOf(env) {
|
|
|
1617
1615
|
// A command on PATH, or, for an app that puts none there, its folder.
|
|
1618
1616
|
installed: agent.commands.some((command) => env.which(command) !== null) || (agent.apps?.(env) ?? []).some((folder) => existsSync(folder)),
|
|
1619
1617
|
connected,
|
|
1620
|
-
// Set up while Gamesteel's entry was called gamemint, and not since: `npx gamesteel connect <id>` brings it up to date.
|
|
1618
|
+
// Set up while Gamesteel's entry was called gamemint, and not since: `npx gamesteel@latest connect <id>` brings it up to date.
|
|
1621
1619
|
legacy: !connected && connectedTo(agent, env, LEGACY)
|
|
1622
1620
|
};
|
|
1623
1621
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gamesteel",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Set Gamesteel up in your AI agent: Claude Code, Codex, Gemini CLI, Cursor, VS Code and 26 more. Gamesteel runs on the website; your agent reaches it by its address and signs in once.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gamesteel",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"esbuild": "0.28.2",
|
|
36
|
-
"@gamesteel/agent": "0.1.0",
|
|
37
36
|
"@gamesteel/connect": "0.1.0",
|
|
37
|
+
"@gamesteel/agent": "0.1.0",
|
|
38
38
|
"@gamesteel/design": "0.1.0",
|
|
39
39
|
"@gamesteel/studio": "0.1.0"
|
|
40
40
|
},
|