@idosgames/mcp 0.1.37 → 0.1.38
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 +6 -0
- package/dist/cli.js +2204 -27
- package/package.json +4 -1
- package/registry/host.json +3 -3
- package/registry/index.json +310 -156
- package/registry/modules/ai.json +7 -7
- package/registry/modules/board-game.json +14 -14
- package/registry/modules/boosts.json +3 -3
- package/registry/modules/character.json +32 -15
- package/registry/modules/chat.json +3 -3
- package/registry/modules/collections.json +7 -7
- package/registry/modules/coop-events.json +7 -7
- package/registry/modules/craft.json +3 -3
- package/registry/modules/deals.json +7 -7
- package/registry/modules/events.json +8 -8
- package/registry/modules/friends.json +9 -9
- package/registry/modules/hero-run.json +498 -0
- package/registry/modules/idle-rpg.json +69 -17
- package/registry/modules/inventory.json +3 -3
- package/registry/modules/invite.json +7 -7
- package/registry/modules/leaderboard.json +10 -10
- package/registry/modules/lootboxes.json +7 -7
- package/registry/modules/mailbox.json +8 -8
- package/registry/modules/marketplace.json +8 -8
- package/registry/modules/mini-game.json +8 -8
- package/registry/modules/multiplayer.json +7 -7
- package/registry/modules/premium.json +7 -7
- package/registry/modules/profile.json +7 -7
- package/registry/modules/pvp.json +7 -7
- package/registry/modules/quests.json +8 -8
- package/registry/modules/rewards.json +8 -8
- package/registry/modules/season.json +7 -7
- package/registry/modules/store.json +7 -7
- package/registry/modules/tutorials.json +7 -7
- package/registry/modules/video-studio.json +228 -0
- package/registry/modules/voxelcraft.json +42 -125
- package/registry/modules/workshop.json +3 -3
- package/registry/skills/hero-run.json +6 -0
- package/registry/skills/idosgames-module-contract.json +2 -2
- package/registry/skills/idosgames-project-structure.json +1 -1
- package/registry/skills/idosgames-ui-kit.json +1 -1
- package/registry/skills/video-studio.json +6 -0
- package/registry/video.json +9800 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idosgames/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.38",
|
|
4
4
|
"mcpName": "com.idosgames/sdk",
|
|
5
5
|
"description": "MCP server that serves the iDosGames Module & Skills Registry to AI coding agents (Claude Code, Codex, Cursor…): list/pull composable game modules and the host scaffold, and load skills for @idosgames/core, the module contract, and composition.",
|
|
6
6
|
"type": "module",
|
|
@@ -42,5 +42,8 @@
|
|
|
42
42
|
"//": "The registry is bundled into the package (registry/) so `npx @idosgames/mcp` works offline. Set IDOSGAMES_REGISTRY_URL to serve a hosted registry instead (once cloud.idosgames.com/registry is live).",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@modelcontextprotocol/sdk": "^1.12.0"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@idosgames/timeline": "^0.1.0"
|
|
45
48
|
}
|
|
46
49
|
}
|
package/registry/host.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"path": "package.json",
|
|
26
|
-
"content": "{\n \"name\": \"@idosgames/base-template\",\n \"version\": \"0.0.0\",\n \"private\": true,\n \"type\": \"module\",\n \"description\": \"The base every AI Coder project starts from: sign-in and the lobby (both from @idosgames/app-shell) on the host shell. The systems (shop, heroes, leaderboards…) and the games are modules plugged in via src/modules.ts.\",\n \"scripts\": {\n \"dev\": \"vite\",\n \"build\": \"vite build\",\n \"preview\": \"vite preview\",\n \"typecheck\": \"tsc --noEmit -p tsconfig.json\"\n },\n \"//\": \"Versions are pinned exactly: this is a seed for AI Coder projects, which build offline against a dependency allowlist baked at these versions (see scripts/pack-builder.mjs). Modules bring their own engine deps (three/phaser) when added.\",\n \"dependencies\": {\n \"@idosgames/app-shell\": \"0.
|
|
26
|
+
"content": "{\n \"name\": \"@idosgames/base-template\",\n \"version\": \"0.0.0\",\n \"private\": true,\n \"type\": \"module\",\n \"description\": \"The base every AI Coder project starts from: sign-in and the lobby (both from @idosgames/app-shell) on the host shell. The systems (shop, heroes, leaderboards…) and the games are modules plugged in via src/modules.ts.\",\n \"scripts\": {\n \"dev\": \"vite\",\n \"build\": \"vite build\",\n \"preview\": \"vite preview\",\n \"typecheck\": \"tsc --noEmit -p tsconfig.json\"\n },\n \"//\": \"Versions are pinned exactly: this is a seed for AI Coder projects, which build offline against a dependency allowlist baked at these versions (see scripts/pack-builder.mjs). Modules bring their own engine deps (three/phaser) when added.\",\n \"dependencies\": {\n \"@idosgames/app-shell\": \"0.16.0\",\n \"@idosgames/core\": \"0.23.0\",\n \"@idosgames/module-sdk\": \"0.13.0\",\n \"@idosgames/react\": \"0.6.0\",\n \"@idosgames/wallet\": \"0.6.6\",\n \"@reown/appkit\": \"1.8.23\",\n \"@reown/appkit-adapter-wagmi\": \"1.8.23\",\n \"@tanstack/react-query\": \"5.101.2\",\n \"react\": \"19.2.7\",\n \"react-dom\": \"19.2.7\",\n \"wagmi\": \"3.7.2\"\n },\n \"devDependencies\": {\n \"@types/react\": \"19.2.17\",\n \"@types/react-dom\": \"19.2.3\",\n \"@vitejs/plugin-react\": \"6.0.4\",\n \"typescript\": \"5.9.3\",\n \"vite\": \"8.1.5\"\n }\n}\n"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"path": "public/sw.js",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"path": "src/ui.config.ts",
|
|
58
|
-
"content": "import { defineUiConfig } from \"@idosgames/react/ui\";\n\n// The game's interface in ONE place: colours, animations and sounds of every module built on\n// @idosgames/react/ui (shop, inventory, heroes, rewards, marketplace, …). Change them here — never in\n// a module: an edited catalog module is marked \"customized\" and stops getting catalog updates.\n//\n// Everything is optional; what you leave out keeps its default. Uncomment and edit.\nexport default defineUiConfig({\n theme: {\n // bgTop: \"#
|
|
58
|
+
"content": "import { defineUiConfig } from \"@idosgames/react/ui\";\n\n// The game's interface in ONE place: colours, animations and sounds of every module built on\n// @idosgames/react/ui (shop, inventory, heroes, rewards, marketplace, …). Change them here — never in\n// a module: an edited catalog module is marked \"customized\" and stops getting catalog updates.\n//\n// Everything is optional; what you leave out keeps its default. Uncomment and edit.\nexport default defineUiConfig({\n theme: {\n // bgTop: \"#5865f2\", // screen background, top of the gradient\n // bgBottom: \"#5a3fd6\", // … and bottom\n // panel: \"#3d8ff5\", // cards and popups\n // panelEdge: \"#17193a\", // their frame\n // ink: \"#17193a\", // the heavy outline of buttons, panels and letters\n // outline: 3, // its thickness, px\n // nav: \"#2c3794\", // the bottom menu bar\n // gold: \"#ffd43b\", // prices, highlights, the big \"Play\"\n // green: \"#6ee02c\", // main action buttons (\"Claim\")\n // purple: \"#c76bff\", orange: \"#ffab2e\", teal: \"#36ebc0\", // more button tones\n // radius: 14, // corner radius of cards, px\n // buttonRadius: 12, // corner radius of buttons, px\n // font: \"'Rubik', system-ui, sans-serif\", // Rubik ships with the kit (EN + RU)\n // rarity: { Mythic: \"#ff3df5\" }, // frame colour of a rarity id (adds to Common…Mythic)\n },\n motion: {\n // enabled: true, // false — no animations at all\n // speed: 1, // 2 — twice as fast, 0.5 — twice as slow\n // intensity: 1, // bounce/overshoot strength: 0 none … 2 cartoonish\n // rewardFlight: true, // reward icons fly to the balance counters\n // particles: true, // particle bursts on claims and purchases\n // stagger: true, // lists appear item by item\n // respectReducedMotion: true,// follow the system \"reduce motion\" setting\n },\n sound: {\n // enabled: true, // false — a silent interface\n // volume: 0.6, // master volume 0..1 (the player's own volume multiplies it)\n events: {\n // Built-in sounds are synthesized in code (no files). Per event:\n // \"coin\" — the built-in sound of another event\n // { url: \"https://…/click.mp3\" } — your own file (optional volume: 0..1)\n // { synth: { notes: [{ freq: 880, dur: 0.08, wave: \"triangle\" }] } } — your own synth\n // false — silence\n // Events: click, tab, open, close, reward, coin, purchase, claim, error, notify, lootbox,\n // levelUp, countTick.\n // click: \"tab\",\n // countTick: false,\n },\n },\n});\n"
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
"path": "src/vite-env.d.ts",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
"path": "vite.config.ts",
|
|
78
|
-
"content": "import { existsSync } from \"node:fs\";\nimport { fileURLToPath } from \"node:url\";\nimport { defineConfig } from \"vite\";\nimport react from \"@vitejs/plugin-react\";\n\nconst fromHere = (path: string): string =>\n fileURLToPath(new URL(path, import.meta.url));\n\n// Inside this monorepo, resolve the @idosgames/* packages to their source for instant HMR (no SDK/\n// host rebuild needed in dev). A standalone copy of this template — a cloned starter, or an AI Coder\n// project built in a container — has no such paths and resolves each package from node_modules.\nconst sourceAliases: Record<string, string> = {\n // ⚠ Subpaths BEFORE the package: a string alias matches its prefix too, so \"@idosgames/core\"\n // would turn \"@idosgames/core/realtime\" into \".../src/index.ts/realtime\".\n \"@idosgames/core/realtime\": fromHere(\n \"../../packages/core/src/realtime/index.ts\",\n ),\n \"@idosgames/core\": fromHere(\"../../packages/core/src/index.ts\"),\n \"@idosgames/module-sdk\": fromHere(\"../../packages/module-sdk/src/index.ts\"),\n \"@idosgames/react/ui\": fromHere(\"../../packages/react/src/ui/index.ts\"),\n \"@idosgames/react\": fromHere(\"../../packages/react/src/index.ts\"),\n \"@idosgames/app-shell/preview-probe\": fromHere(\n \"../../packages/app-shell/src/preview-probe.ts\",\n ),\n \"@idosgames/app-shell\": fromHere(\"../../packages/app-shell/src/index.ts\"),\n};\n\n// Env comes the standard Vite way: VITE_* variables of .env.local reach the code as\n// `import.meta.env.VITE_*` (src/env.ts, src/config.ts). VITE_IDOS_ENV (\"dev\" | \"prod\") picks which\n// copy of the title a LOCAL run talks to; hosted builds take it from their address instead.\nexport default defineConfig(() => {\n const alias = Object.fromEntries(\n Object.entries(sourceAliases).filter(([, path]) => existsSync(path)),\n );\n return {\n plugins: [react()],\n resolve: { alias },\n server: { port: 5180 },\n };\n});\n"
|
|
78
|
+
"content": "import { existsSync } from \"node:fs\";\r\nimport { fileURLToPath } from \"node:url\";\r\nimport { defineConfig } from \"vite\";\r\nimport react from \"@vitejs/plugin-react\";\r\n\r\nconst fromHere = (path: string): string =>\r\n fileURLToPath(new URL(path, import.meta.url));\r\n\r\n// Inside this monorepo, resolve the @idosgames/* packages to their source for instant HMR (no SDK/\r\n// host rebuild needed in dev). A standalone copy of this template — a cloned starter, or an AI Coder\r\n// project built in a container — has no such paths and resolves each package from node_modules.\r\nconst sourceAliases: Record<string, string> = {\r\n // ⚠ Subpaths BEFORE the package: a string alias matches its prefix too, so \"@idosgames/core\"\r\n // would turn \"@idosgames/core/realtime\" into \".../src/index.ts/realtime\".\r\n \"@idosgames/core/realtime\": fromHere(\r\n \"../../packages/core/src/realtime/index.ts\",\r\n ),\r\n \"@idosgames/core\": fromHere(\"../../packages/core/src/index.ts\"),\r\n \"@idosgames/module-sdk\": fromHere(\"../../packages/module-sdk/src/index.ts\"),\r\n \"@idosgames/react/ui\": fromHere(\"../../packages/react/src/ui/index.ts\"),\r\n \"@idosgames/react\": fromHere(\"../../packages/react/src/index.ts\"),\r\n \"@idosgames/characters/voxel\": fromHere(\r\n \"../../packages/characters/src/voxel/index.ts\",\r\n ),\r\n \"@idosgames/characters/rig2d/phaser\": fromHere(\r\n \"../../packages/characters/src/rig2d/render/phaser/index.ts\",\r\n ),\r\n \"@idosgames/characters/rig2d/three\": fromHere(\r\n \"../../packages/characters/src/rig2d/render/three/index.ts\",\r\n ),\r\n \"@idosgames/characters/rig2d/editor\": fromHere(\r\n \"../../packages/characters/src/rig2d/editor/index.ts\",\r\n ),\r\n \"@idosgames/characters/rig2d\": fromHere(\r\n \"../../packages/characters/src/rig2d/index.ts\",\r\n ),\r\n \"@idosgames/characters/gltf\": fromHere(\r\n \"../../packages/characters/src/gltf/index.ts\",\r\n ),\r\n \"@idosgames/characters\": fromHere(\"../../packages/characters/src/index.ts\"),\r\n \"@idosgames/timeline/three\": fromHere(\r\n \"../../packages/timeline/src/three/index.ts\",\r\n ),\r\n \"@idosgames/timeline/export\": fromHere(\r\n \"../../packages/timeline/src/export/index.ts\",\r\n ),\r\n \"@idosgames/timeline\": fromHere(\"../../packages/timeline/src/index.ts\"),\r\n \"@idosgames/app-shell/preview-probe\": fromHere(\r\n \"../../packages/app-shell/src/preview-probe.ts\",\r\n ),\r\n \"@idosgames/app-shell\": fromHere(\"../../packages/app-shell/src/index.ts\"),\r\n};\r\n\r\n// Env comes the standard Vite way: VITE_* variables of .env.local reach the code as\r\n// `import.meta.env.VITE_*` (src/env.ts, src/config.ts). VITE_IDOS_ENV (\"dev\" | \"prod\") picks which\r\n// copy of the title a LOCAL run talks to; hosted builds take it from their address instead.\r\nexport default defineConfig(() => {\r\n const alias = Object.fromEntries(\r\n Object.entries(sourceAliases).filter(([, path]) => existsSync(path)),\r\n );\r\n return {\r\n plugins: [react()],\r\n resolve: { alias },\r\n server: { port: 5180 },\r\n };\r\n});\r\n"
|
|
79
79
|
}
|
|
80
80
|
]
|
|
81
81
|
}
|