@forgeax/game 0.3.2 → 0.3.4
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 +56 -24
- package/assets/asset3d/provider/asset3d-search-provider-c181c48fbffc933a7ce9a0836f7878ca5e6d77e1-darwin-arm64.tar.gz +0 -0
- package/assets/asset3d/provider/asset3d-search-provider-c181c48fbffc933a7ce9a0836f7878ca5e6d77e1-linux-x64.tar.gz +0 -0
- 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 +1 -0
- package/dist/main.js +600 -66
- package/docs/asset3d.md +44 -28
- package/docs/release-0.3.3.md +73 -0
- package/docs/release-0.3.4.md +66 -0
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -52,6 +52,17 @@ game there, binds the exact release identity, and reports the canonical root and
|
|
|
52
52
|
host-skill result. Existing exact games are read back and bound without recreation;
|
|
53
53
|
unknown non-empty directories fail closed.
|
|
54
54
|
|
|
55
|
+
Check the package being executed, or refresh an existing project's configured hosts:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
npx -y @forgeax/game@latest version
|
|
59
|
+
npx -y @forgeax/game@latest update --ide codex
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
`update` reports the configured transition, for example
|
|
63
|
+
`plugin 0.3.3 -> 0.3.4`. It refreshes configuration, skills, and routing from the
|
|
64
|
+
package being executed; it does not independently fetch another package.
|
|
65
|
+
|
|
55
66
|
> [!NOTE]
|
|
56
67
|
> Asset3D is optional and **disabled by default**. The two commands above never contact
|
|
57
68
|
> the internal asset catalog, provision the bundled platform Provider, or add
|
|
@@ -61,9 +72,10 @@ unknown non-empty directories fail closed.
|
|
|
61
72
|
> npx -y @forgeax/game asset3d enable
|
|
62
73
|
> ```
|
|
63
74
|
>
|
|
64
|
-
> With no override, `enable`
|
|
65
|
-
> `--
|
|
66
|
-
> first enable prompts for the
|
|
75
|
+
> With no override, `enable` keeps the public AW depot. On the office network, pass
|
|
76
|
+
> `--library ea` to select the EA depot and its local gateway. `--base-url` overrides
|
|
77
|
+
> only the selected library's gateway. The first enable prompts for the Sandbox Key
|
|
78
|
+
> with hidden input, validates it through
|
|
67
79
|
> the packaged Provider, and stores it outside the project in a private user
|
|
68
80
|
> credential file.
|
|
69
81
|
|
|
@@ -157,41 +169,57 @@ a live unverifiable PID fails closed as `preview_ownership_unverified`.
|
|
|
157
169
|
|
|
158
170
|
## Asset3D installation and transaction
|
|
159
171
|
|
|
160
|
-
Asset3D is an opt-in, project-local MCP integration for AW HybridSearch. Run it
|
|
161
|
-
after `init
|
|
162
|
-
the
|
|
172
|
+
Asset3D is an opt-in, project-local MCP integration for AW or EA HybridSearch. Run it
|
|
173
|
+
only after `init`. The no-argument command remains public-network compatible; select
|
|
174
|
+
EA explicitly when connected to the office network:
|
|
163
175
|
|
|
164
176
|
```bash
|
|
177
|
+
# Public/default
|
|
165
178
|
npx -y @forgeax/game asset3d enable
|
|
179
|
+
|
|
180
|
+
# Office network
|
|
181
|
+
npx -y @forgeax/game asset3d enable --library ea
|
|
182
|
+
|
|
166
183
|
forgeax-game asset3d doctor --json
|
|
167
184
|
```
|
|
168
185
|
|
|
169
|
-
The
|
|
170
|
-
`
|
|
186
|
+
The library selection precedence is `--library`, then
|
|
187
|
+
`FORGEAX_ASSET_LIBRARY`, then `aw`. Each library selects its matching built-in
|
|
188
|
+
gateway. Gateway precedence is explicit `--base-url`, then
|
|
189
|
+
`FORGEAX_ASSET_LIBRARY_BASE_URL`, then that library's built-in service. An override
|
|
171
190
|
accepts either a gateway root or the full
|
|
172
191
|
`trpc.oasismetric.omcontentserver.http` service root. On first use, `enable` reads the
|
|
173
192
|
key with hidden TTY input. Non-interactive automation must inject
|
|
174
193
|
`FORGEAX_ASSET3D_AW_SANDBOX_KEY` from its secret store. The key is validated by the
|
|
175
|
-
Provider against the selected
|
|
194
|
+
Provider against the selected depot's `HybridSearch` before the command
|
|
176
195
|
reports success.
|
|
177
196
|
|
|
178
197
|
The validated key is stored in
|
|
179
198
|
`~/.forgeax/credentials/asset3d-aw.json` as an owned, non-symlink `0600` file. Project
|
|
180
|
-
`.forgeax/mcp.json` contains only the
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
199
|
+
`.forgeax/mcp.json` contains only the selected service URL, matching
|
|
200
|
+
`AW_API_DEPOT_NAME=aw|ea`, and the credential-file path; it never contains the key or
|
|
201
|
+
a signed asset URL. The `AW_API_*` names are the packaged Provider's legacy
|
|
202
|
+
environment contract. The Provider access check returns only the exact download
|
|
203
|
+
origins required by the sandbox. Failed validation or installation rolls back a
|
|
204
|
+
newly written credential.
|
|
205
|
+
|
|
206
|
+
The npm package carries digest-pinned Darwin arm64 and Linux x64 Provider archives
|
|
207
|
+
as inert assets. `enable` selects only the archive matching the current host and
|
|
208
|
+
reuses the exact verified Provider from
|
|
187
209
|
`~/.forgeax/providers/asset3d-search/<sha256>/`, or provisions that packaged archive
|
|
188
210
|
when the cache is absent. It never downloads Provider code from GitHub or another
|
|
189
211
|
repository. Only after Provider verification and its MCP handshake succeed does it merge the `forgeax` and
|
|
190
212
|
`asset3d-search` entries into `.forgeax/mcp.json` and project the approved Asset3D
|
|
191
213
|
workflow into the Agent hosts selected during `install`.
|
|
192
214
|
|
|
215
|
+
`enable` also registers a project-aware `asset3d-search` bridge in those hosts. The
|
|
216
|
+
bridge entry contains no project path or credential: on each new Agent session it
|
|
217
|
+
resolves the current directory's project-local Provider. In projects where Asset3D
|
|
218
|
+
has not been enabled, the bridge connects normally but advertises no tools. Restart
|
|
219
|
+
the selected Agent after the first successful `enable` so it discovers `search_asset`.
|
|
220
|
+
|
|
193
221
|
> [!IMPORTANT]
|
|
194
|
-
> Asset3D uses the
|
|
222
|
+
> Asset3D uses the shared `X-Sandbox-Key` contract. It never reads
|
|
195
223
|
> `ANTHROPIC_API_KEY` or another model-provider key. Do not pass keys as command-line
|
|
196
224
|
> arguments, commit the user credential file, or copy a key into project MCP config.
|
|
197
225
|
|
|
@@ -200,9 +228,10 @@ The transaction commands are normally driven by the installed Agent workflow:
|
|
|
200
228
|
```bash
|
|
201
229
|
|
|
202
230
|
forgeax-game asset3d begin --query "weathered oak tree" --json
|
|
203
|
-
# Call
|
|
204
|
-
#
|
|
205
|
-
|
|
231
|
+
# Call asset3d-search/search_asset with the exact queries and returned execution UUID.
|
|
232
|
+
# The bridge validates the transaction, injects its private output directory, and
|
|
233
|
+
# stores the exact provider result for commit:
|
|
234
|
+
forgeax-game asset3d commit --execution <uuid> --json
|
|
206
235
|
|
|
207
236
|
forgeax-game asset3d doctor --json
|
|
208
237
|
forgeax-game asset3d uninstall
|
|
@@ -219,7 +248,7 @@ forgeax-game asset3d install \
|
|
|
219
248
|
--provider-bundle ./asset3d-search-provider-<commit>-<os>-<arch>.tar.gz \
|
|
220
249
|
--sha256 <archive-sha256> \
|
|
221
250
|
--download-origin https://<approved-download-host>:443 \
|
|
222
|
-
--aw-base-url <
|
|
251
|
+
--aw-base-url <ea-gateway-or-service-url> \
|
|
223
252
|
--aw-credential-file /absolute/path/to/private-credential.json
|
|
224
253
|
```
|
|
225
254
|
|
|
@@ -249,8 +278,11 @@ and evidence boundaries.
|
|
|
249
278
|
> acceptance gates.
|
|
250
279
|
|
|
251
280
|
See [docs/runtime.md](docs/runtime.md) for the exact artifact and lifecycle contract.
|
|
252
|
-
For the current
|
|
253
|
-
checklist, see [docs/release-0.3.
|
|
254
|
-
|
|
281
|
+
For the current AW-default plus explicit EA environment contract and maintainer
|
|
282
|
+
publish checklist, see [docs/release-0.3.4.md](docs/release-0.3.4.md). The AW-default
|
|
283
|
+
plus explicit EA environment contract was introduced in
|
|
284
|
+
[docs/release-0.3.3.md](docs/release-0.3.3.md). The original AW
|
|
285
|
+
production default is recorded in [docs/release-0.3.2.md](docs/release-0.3.2.md), authenticated Provider
|
|
286
|
+
delivery is documented in [docs/release-0.3.1.md](docs/release-0.3.1.md),
|
|
255
287
|
and the original two-command onboarding contract remains documented in
|
|
256
288
|
[docs/release-0.3.0.md](docs/release-0.3.0.md).
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4937fe00e2b919319c70c82db53ebe359b275ed662c026153ecb97f7601262b4 vibegame-art-3d-asset-library-2.0.0.tgz
|