@forgeax/engine-remote 0.1.28 → 0.1.30

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -213,9 +213,9 @@ flowchart TD
213
213
  |:--|:--|:--|
214
214
  | In-process | `const result = await client.eval('world.inspect().entityCount')` | Host self-inspection; zero network cost |
215
215
  | WebSocket | `ws://localhost:5732` send `{"method":"eval","params":{"script":"..."}}` | External AI agents / CLI tools attaching to a running **Node / dawn-node** app |
216
- | Persistent DevKit owner (**`forgeax dev`**) | `forgeax dev eval --root <project> --instance-id <id> --world-identity <id> --code "..."` | Driving a **live browser** engine while preserving one Page and one actual World |
216
+ | Persistent DevKit owner (**`forgeax dev`**) | `forgeax dev eval --root <project> --revision <revision> --code "..."` | Driving a **live browser** engine while preserving one Page and one actual World |
217
217
 
218
- > **Browsers cannot host a WS server.** `startServer` remains a Node/dawn-node transport. Browser development uses the DevKit owner: `forgeax dev start` keeps the project process and controlled Page, and its App bridge evaluates code in the actual main or Worker realm. `forgeax dev status` is the readiness and identity authority; stale `instanceId`, `loadId`, or `worldIdentity` requests fail instead of silently switching pages.
218
+ > **Browsers cannot host a WS server.** `startServer` remains a Node/dawn-node transport. Browser development uses the DevKit owner: `forgeax dev start` keeps the project process and controlled Page, and its App bridge evaluates code in the actual main or Worker realm. `forgeax dev status` is the readiness and identity authority; stale `revision` requests fail instead of silently switching pages.
219
219
 
220
220
  The wire protocol exposes **two** JSON-RPC methods: `eval` (the single capability above) and `introspect`. Send `{"method":"introspect"}` to get an OpenRPC L2 subset document listing the available methods (`eval` / `introspect`) and the eval-scope live roots — an AI agent can self-describe the surface without reading source. Recoverable failures map to JSON-RPC error codes `-32001..-32005` (the 5-member `RemoteErrorCode` union; see above).
221
221
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgeax/engine-remote",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -38,8 +38,8 @@
38
38
  "LICENSE"
39
39
  ],
40
40
  "dependencies": {
41
- "@forgeax/engine-profiler": "0.1.28",
42
- "@forgeax/engine-types": "0.1.28",
41
+ "@forgeax/engine-profiler": "0.1.30",
42
+ "@forgeax/engine-types": "0.1.30",
43
43
  "ws": "^8.20.0"
44
44
  },
45
45
  "devDependencies": {