@jgengine/node 0.10.0 → 0.11.0
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/CHANGELOG.md +13 -2
- package/LICENSE +203 -661
- package/README.md +1 -1
- package/dist/devSavePlugin.d.ts +32 -0
- package/dist/devSavePlugin.js +142 -0
- package/dist/editorHostPlugin.d.ts +43 -0
- package/dist/editorHostPlugin.js +85 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/persistence.d.ts +17 -0
- package/dist/persistence.js +30 -3
- package/dist/shutdown.d.ts +23 -0
- package/dist/shutdown.js +50 -0
- package/dist/worldServer.d.ts +6 -1
- package/dist/worldServer.js +18 -3
- package/dist/wsServer.d.ts +12 -0
- package/dist/wsServer.js +32 -2
- package/package.json +5 -5
- package/skills/jgengine/SKILL.md +51 -0
- package/skills/jgengine/api.md +434 -0
- package/skills/jgengine/capabilities.md +29 -0
- package/skills/jgengine/reference-cartridge.md +72 -0
- package/skills/jgengine-multiplayer/SKILL.md +36 -0
- package/skills/jgengine-multiplayer/api.md +611 -0
- package/skills/jgengine-multiplayer/capabilities.md +9 -0
- package/skills/jgengine-multiplayer/reference.md +69 -0
- package/llms.txt +0 -922
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
The lockstep game SDK set is `@jgengine/{core,react,ws,node,sql,convex,shell,editor,assets}`
|
|
4
|
+
(this file’s 0.x.y releases). The CLI package `jgengine` and `@jgengine/github` use
|
|
5
|
+
**separate** version lines and may lag. Format follows [Keep a Changelog](https://keepachangelog.com);
|
|
5
6
|
each release **leads with a Migrate block** — the concrete steps to move a game
|
|
6
7
|
from the previous version onto the new APIs — because the point of a bump is to
|
|
7
8
|
let consumers pick up the better stuff, not just to list what moved.
|
|
@@ -11,6 +12,16 @@ Agents building on the published SDK can also read this programmatically:
|
|
|
11
12
|
same data as typed values, so an updater can diff its installed version against
|
|
12
13
|
the latest and surface the migration steps.
|
|
13
14
|
|
|
15
|
+
## 0.11.0
|
|
16
|
+
|
|
17
|
+
### Migrate
|
|
18
|
+
|
|
19
|
+
- **Nothing required** — classic `loop.onTick` fan-out still runs after systems. Prefer moving per-frame work into `defineGame({ systems: [...] })` with `defineSystem` (`@jgengine/core/game/defineSystem`); install a system with `feature: "quest"` (etc.) instead of a redundant `features` flag. See skill `jgengine` → [reference-systems.md](.claude/skills/jgengine/reference-systems.md).
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- **Composable game systems** (#842) — `defineSystem` / `compileSystemSchedule` / `composeGameLoop` / `installSystems`. `defineGame({ systems })` is the single authoring path: fixed / frame / interval / event-only / manual ticks, multi-subscribe channels, deterministic stage order + optional `before`/`after`/`dependsOn`, system-owned save / replicate / reset / dispose. Installing a system activates its `feature` without a separate flag. `GameLoop` gains optional `onReset` / `onDispose`. `ctx.game.registerSave` / `registerReplicate` for system modules. Adopters: tower-guard, claudecraft (runtime without a giant tick fan-out).
|
|
24
|
+
|
|
14
25
|
## 0.10.0
|
|
15
26
|
|
|
16
27
|
### Migrate
|