@forgeax/game 0.3.1 → 0.3.3
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 +61 -26
- 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 +594 -66
- package/docs/asset3d.md +32 -17
- package/docs/release-0.3.2.md +90 -0
- package/docs/release-0.3.3.md +73 -0
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -52,18 +52,32 @@ 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.2 -> 0.3.3`. 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
|
|
58
69
|
> `asset3d-search` to the project. Enable it only in an already initialized project:
|
|
59
70
|
>
|
|
60
71
|
> ```bash
|
|
61
|
-
> npx -y @forgeax/game asset3d enable
|
|
72
|
+
> npx -y @forgeax/game asset3d enable
|
|
62
73
|
> ```
|
|
63
74
|
>
|
|
64
|
-
>
|
|
65
|
-
>
|
|
66
|
-
>
|
|
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
|
|
79
|
+
> the packaged Provider, and stores it outside the project in a private user
|
|
80
|
+
> credential file.
|
|
67
81
|
|
|
68
82
|
## Agent completion contract
|
|
69
83
|
|
|
@@ -155,28 +169,39 @@ a live unverifiable PID fails closed as `preview_ownership_unverified`.
|
|
|
155
169
|
|
|
156
170
|
## Asset3D installation and transaction
|
|
157
171
|
|
|
158
|
-
Asset3D is an opt-in, project-local MCP integration for AW HybridSearch. Run it
|
|
159
|
-
after `init
|
|
160
|
-
|
|
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:
|
|
161
175
|
|
|
162
176
|
```bash
|
|
163
|
-
|
|
177
|
+
# Public/default
|
|
178
|
+
npx -y @forgeax/game asset3d enable
|
|
179
|
+
|
|
180
|
+
# Office network
|
|
181
|
+
npx -y @forgeax/game asset3d enable --library ea
|
|
182
|
+
|
|
164
183
|
forgeax-game asset3d doctor --json
|
|
165
184
|
```
|
|
166
185
|
|
|
167
|
-
|
|
168
|
-
`
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
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
|
|
190
|
+
accepts either a gateway root or the full
|
|
191
|
+
`trpc.oasismetric.omcontentserver.http` service root. On first use, `enable` reads the
|
|
192
|
+
key with hidden TTY input. Non-interactive automation must inject
|
|
193
|
+
`FORGEAX_ASSET3D_AW_SANDBOX_KEY` from its secret store. The key is validated by the
|
|
194
|
+
Provider against the selected depot's `HybridSearch` before the command
|
|
195
|
+
reports success.
|
|
173
196
|
|
|
174
197
|
The validated key is stored in
|
|
175
198
|
`~/.forgeax/credentials/asset3d-aw.json` as an owned, non-symlink `0600` file. Project
|
|
176
|
-
`.forgeax/mcp.json` contains only the
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
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.
|
|
180
205
|
|
|
181
206
|
The npm package carries the digest-pinned Darwin arm64 Provider archive as an inert
|
|
182
207
|
asset. `enable` reuses the exact verified Provider from
|
|
@@ -186,8 +211,14 @@ repository. Only after Provider verification and its MCP handshake succeed does
|
|
|
186
211
|
`asset3d-search` entries into `.forgeax/mcp.json` and project the approved Asset3D
|
|
187
212
|
workflow into the Agent hosts selected during `install`.
|
|
188
213
|
|
|
214
|
+
`enable` also registers a project-aware `asset3d-search` bridge in those hosts. The
|
|
215
|
+
bridge entry contains no project path or credential: on each new Agent session it
|
|
216
|
+
resolves the current directory's project-local Provider. In projects where Asset3D
|
|
217
|
+
has not been enabled, the bridge connects normally but advertises no tools. Restart
|
|
218
|
+
the selected Agent after the first successful `enable` so it discovers `search_asset`.
|
|
219
|
+
|
|
189
220
|
> [!IMPORTANT]
|
|
190
|
-
> Asset3D uses the
|
|
221
|
+
> Asset3D uses the shared `X-Sandbox-Key` contract. It never reads
|
|
191
222
|
> `ANTHROPIC_API_KEY` or another model-provider key. Do not pass keys as command-line
|
|
192
223
|
> arguments, commit the user credential file, or copy a key into project MCP config.
|
|
193
224
|
|
|
@@ -196,9 +227,10 @@ The transaction commands are normally driven by the installed Agent workflow:
|
|
|
196
227
|
```bash
|
|
197
228
|
|
|
198
229
|
forgeax-game asset3d begin --query "weathered oak tree" --json
|
|
199
|
-
# Call
|
|
200
|
-
#
|
|
201
|
-
|
|
230
|
+
# Call asset3d-search/search_asset with the exact queries and returned execution UUID.
|
|
231
|
+
# The bridge validates the transaction, injects its private output directory, and
|
|
232
|
+
# stores the exact provider result for commit:
|
|
233
|
+
forgeax-game asset3d commit --execution <uuid> --json
|
|
202
234
|
|
|
203
235
|
forgeax-game asset3d doctor --json
|
|
204
236
|
forgeax-game asset3d uninstall
|
|
@@ -215,7 +247,7 @@ forgeax-game asset3d install \
|
|
|
215
247
|
--provider-bundle ./asset3d-search-provider-<commit>-<os>-<arch>.tar.gz \
|
|
216
248
|
--sha256 <archive-sha256> \
|
|
217
249
|
--download-origin https://<approved-download-host>:443 \
|
|
218
|
-
--aw-base-url <
|
|
250
|
+
--aw-base-url <ea-gateway-or-service-url> \
|
|
219
251
|
--aw-credential-file /absolute/path/to/private-credential.json
|
|
220
252
|
```
|
|
221
253
|
|
|
@@ -245,6 +277,9 @@ and evidence boundaries.
|
|
|
245
277
|
> acceptance gates.
|
|
246
278
|
|
|
247
279
|
See [docs/runtime.md](docs/runtime.md) for the exact artifact and lifecycle contract.
|
|
248
|
-
For the current
|
|
249
|
-
[docs/release-0.3.
|
|
250
|
-
|
|
280
|
+
For the current AW-default plus explicit EA environment contract and maintainer
|
|
281
|
+
publish checklist, see [docs/release-0.3.3.md](docs/release-0.3.3.md). The original AW
|
|
282
|
+
production default is recorded in [docs/release-0.3.2.md](docs/release-0.3.2.md), authenticated Provider
|
|
283
|
+
delivery is documented in [docs/release-0.3.1.md](docs/release-0.3.1.md),
|
|
284
|
+
and the original two-command onboarding contract remains documented in
|
|
285
|
+
[docs/release-0.3.0.md](docs/release-0.3.0.md).
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4937fe00e2b919319c70c82db53ebe359b275ed662c026153ecb97f7601262b4 vibegame-art-3d-asset-library-2.0.0.tgz
|