@forgeax/game 0.3.7 → 0.3.8

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.
@@ -0,0 +1,7 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "asset3d",
4
+ "version": "1.0.0",
5
+ "skills": ["skills/art-3d-asset-library"],
6
+ "cli": "cli.mjs"
7
+ }
@@ -0,0 +1,28 @@
1
+ ---
2
+ name: art-3d-asset-library
3
+ description: Search EA/AW for reusable 3D assets and import native Pack or GLB into a ForgeaX game. Use when the user wants assets from the library.
4
+ ---
5
+
6
+ # Asset library
7
+
8
+ Run the following commands from the game directory. The command is pinned to this
9
+ installation; no global CLI or separate Asset3D MCP server is needed.
10
+
11
+ 1. If setup is uncertain, run `{{CLI}} doctor --json`.
12
+ If not enabled, ask the user to configure `{{CLI}} enable`.
13
+ 2. Search: `{{CLI}} candidates --query "<English description>" --json`.
14
+ Select a returned `assetId` by name and format. Refine the query if none fits.
15
+ 3. Import: `{{CLI}} import --query "<same description>" --asset-id "<selected ID>" --json`.
16
+ Read `ok`, per-item results, `deliveredFormat` and Engine identities.
17
+ A GLB import does not satisfy a request for native Pack.
18
+ 4. Use the returned GUIDs through the installed Engine authoring skills. Keep the
19
+ imported files and material/texture dependencies together. Build and open the
20
+ Engine-owned Preview; verify the assets are visible and the requested input works.
21
+
22
+ The CLI owns API calls, authentication, downloads and Engine import. Do not invent
23
+ IDs, handwrite HTTP requests, or substitute generated geometry for library results.
24
+ Pack source may execute during Engine build: import only from a trusted service,
25
+ and never directly execute downloaded helpers. Never read or display credentials.
26
+
27
+ If a command fails, report the error and stop the dependent step. Search, import
28
+ and playable Preview are separate conclusions; report only what was verified.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Arjun Barrett
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -58,13 +58,10 @@ does not require a new gameplay quality review.
58
58
 
59
59
  ## Reuse 3D assets
60
60
 
61
- - When the user asks for an existing, reusable, library, stock, or licensed 3D asset,
62
- require the project-local `asset3d-search` MCP server and its `search_asset` tool.
63
- - If that server or tool is absent, report `BLOCKED(asset-library-tools-missing)` and
64
- run or recommend `forgeax-game asset3d doctor --json`. Do not describe procedural
65
- primitives as the asset library, and do not silently substitute `forgeax_generate_3d`.
66
- - Use `forgeax_generate_3d` only for an explicitly bespoke/generated asset or after a
67
- library search found no acceptable candidate and the user approves generation.
61
+ Read the installed `art-3d-asset-library` Skill and use its pinned CLI to search
62
+ candidates and import a selected asset. If not enabled, ask the user to enable it.
63
+ No separate Asset3D MCP tool is required. Do not substitute procedural geometry or
64
+ generation for a requested library asset without user approval.
68
65
 
69
66
  > [!CAUTION]
70
67
  > Any `forgeax_run_current_game` error means the current game is **not previewed**.