@forgeax/game 0.3.6 → 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.
- package/README.md +16 -130
- package/assets/extensions/asset3d/cli.mjs +2090 -0
- package/assets/extensions/asset3d/extension.json +7 -0
- package/assets/extensions/asset3d/skills/art-3d-asset-library/SKILL.md +28 -0
- package/assets/licenses/fflate.txt +21 -0
- package/assets/skills/forgeax-game/SKILL.md +4 -7
- package/dist/main.js +582 -2460
- package/docs/asset3d.md +43 -193
- package/docs/plugin-integration-standard.md +196 -0
- package/package.json +3 -9
- package/assets/asset3d/adapter/SKILL.md +0 -56
- package/assets/asset3d/provider/asset3d-search-provider-a274238712c1dced99e4aa3148a0d15904ce2a90-darwin-arm64.tar.gz +0 -0
- package/assets/asset3d/provider/asset3d-search-provider-a274238712c1dced99e4aa3148a0d15904ce2a90-linux-x64.tar.gz +0 -0
- package/assets/asset3d/schemas/receipt-1.0.0.json +0 -29
- package/assets/asset3d/schemas/result-1.0.0.json +0 -361
- package/assets/asset3d/vibegame-art-3d-asset-library-2.0.0.tgz +0 -0
- package/assets/asset3d/vibegame-art-3d-asset-library-2.0.0.tgz.sha256 +0 -1
- package/docs/release-0.3.0.md +0 -100
- package/docs/release-0.3.1.md +0 -107
- package/docs/release-0.3.2.md +0 -90
- package/docs/release-0.3.3.md +0 -73
- package/docs/release-0.3.4.md +0 -66
- package/docs/release-0.3.5.md +0 -32
|
@@ -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
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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**.
|