@forgeax/game 0.3.2 → 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 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.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
@@ -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` uses the documented AW production service. Pass
65
- > `--base-url <test-gateway-or-service-url>` only to select a test environment. The
66
- > first enable prompts for the AW Sandbox Key with hidden input, validates it through
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,30 +169,39 @@ 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 only
161
- after `init`, while connected to the internal network. The no-argument command uses
162
- the documented production service:
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 service selection precedence is explicit `--base-url`, then
170
- `FORGEAX_ASSET_LIBRARY_BASE_URL`, then the built-in production service. An override
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 environment's `HybridSearch` before the command
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 AW service URL and the credential-file path; it
181
- never contains the key or a signed asset URL. The Provider access check returns only
182
- the exact download origins required by the sandbox. Failed validation or installation
183
- rolls back a newly written credential.
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.
184
205
 
185
206
  The npm package carries the digest-pinned Darwin arm64 Provider archive as an inert
186
207
  asset. `enable` reuses the exact verified Provider from
@@ -190,8 +211,14 @@ repository. Only after Provider verification and its MCP handshake succeed does
190
211
  `asset3d-search` entries into `.forgeax/mcp.json` and project the approved Asset3D
191
212
  workflow into the Agent hosts selected during `install`.
192
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
+
193
220
  > [!IMPORTANT]
194
- > Asset3D uses the AW-specific `X-Sandbox-Key` contract. It never reads
221
+ > Asset3D uses the shared `X-Sandbox-Key` contract. It never reads
195
222
  > `ANTHROPIC_API_KEY` or another model-provider key. Do not pass keys as command-line
196
223
  > arguments, commit the user credential file, or copy a key into project MCP config.
197
224
 
@@ -200,9 +227,10 @@ The transaction commands are normally driven by the installed Agent workflow:
200
227
  ```bash
201
228
 
202
229
  forgeax-game asset3d begin --query "weathered oak tree" --json
203
- # Call the configured asset3d-search/search_asset MCP tool with the returned output_dir.
204
- # Pass its complete TextContent JSON to commit on stdin:
205
- forgeax-game asset3d commit --execution <uuid> --provider-result-stdin --json < result.json
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
206
234
 
207
235
  forgeax-game asset3d doctor --json
208
236
  forgeax-game asset3d uninstall
@@ -219,7 +247,7 @@ forgeax-game asset3d install \
219
247
  --provider-bundle ./asset3d-search-provider-<commit>-<os>-<arch>.tar.gz \
220
248
  --sha256 <archive-sha256> \
221
249
  --download-origin https://<approved-download-host>:443 \
222
- --aw-base-url <aw-gateway-or-service-url> \
250
+ --aw-base-url <ea-gateway-or-service-url> \
223
251
  --aw-credential-file /absolute/path/to/private-credential.json
224
252
  ```
225
253
 
@@ -249,8 +277,9 @@ and evidence boundaries.
249
277
  > acceptance gates.
250
278
 
251
279
  See [docs/runtime.md](docs/runtime.md) for the exact artifact and lifecycle contract.
252
- For the current production-default environment contract and maintainer publish
253
- checklist, see [docs/release-0.3.2.md](docs/release-0.3.2.md). The authenticated AW
254
- Provider delivery is documented in [docs/release-0.3.1.md](docs/release-0.3.1.md),
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),
255
284
  and the original two-command onboarding contract remains documented in
256
285
  [docs/release-0.3.0.md](docs/release-0.3.0.md).
@@ -0,0 +1 @@
1
+ 4937fe00e2b919319c70c82db53ebe359b275ed662c026153ecb97f7601262b4 vibegame-art-3d-asset-library-2.0.0.tgz