@forgeax/game 0.3.5 → 0.3.7

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/docs/asset3d.md CHANGED
@@ -137,6 +137,14 @@ has its path, byte count, and digest in the ownership manifest.
137
137
 
138
138
  ## Transaction protocol
139
139
 
140
+ For native Packs, first call `list_asset_candidates` with English queries and
141
+ choose a suitable returned `assetId` by name and format. This does not download
142
+ assets or call an auxiliary LLM. Keep the same query text in `asset3d begin`, then
143
+ call `search_asset` with `queries: [{content: "<query>", assetId: "<selected ID>"}]`
144
+ and `output_format: "asset"`. The Provider checks that the ID still belongs to the
145
+ live query results; an invented or stale ID fails instead of selecting another
146
+ asset. A GLB result does not prove native Pack support.
147
+
140
148
  1. `asset3d begin` records a private journal with a new execution UUID, query digest,
141
149
  provider identity, exact Engine identity, requested count, and the only allowed
142
150
  quarantine root.
@@ -154,7 +162,8 @@ has its path, byte count, and digest in the ownership manifest.
154
162
  6. A 30-second per-asset lock serializes publication at
155
163
  `assets/3d/ea-3d/<safeAssetId>`. The complete prior directory is preserved as the
156
164
  refresh/rollback snapshot.
157
- 7. With the game root as `cwd`, Game Plugin runs the exact released Engine CLI:
165
+ 7. With the game root as `cwd`, Game Plugin runs the exact released Engine CLI.
166
+ For GLB imports:
158
167
 
159
168
  ```text
160
169
  asset add assets/3d/ea-3d/<safeAssetId> --reimport-policy semantic-only --json
@@ -166,6 +175,9 @@ has its path, byte count, and digest in the ownership manifest.
166
175
  Each command must produce exactly one newline-terminated, at-most-1-MiB
167
176
  `CommandEnvelope@1.0.0`. Game Plugin does not filter diagnostic stdout into a
168
177
  synthetic success.
178
+ Native Pack sources instead use the Engine build and verified build catalog;
179
+ the plugin preserves the complete source closure and reads cooked scene/mesh
180
+ GUIDs back. It does not run `asset add` on `.pack.ts` or `.pack.json`.
169
181
  8. Only after Engine readback succeeds does `.forgeax-asset.json` publish the provider
170
182
  commit, origin-set digest, exact Engine version/commit, per-file role/digest/bytes,
171
183
  Engine rows, and catalog readback. An Engine failure restores the whole previous
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "packageManager": "bun@1.3.14",
2
+ "packageManager": "bun@1.4.0",
3
3
  "name": "@forgeax/game",
4
- "version": "0.3.5",
4
+ "version": "0.3.7",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "description": "@forgeax/game — an MCP/CLI connector for exact released ForgeaX Engine games and Engine-owned Preview.",