@moku-labs/game 0.2.0 → 0.3.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.
Files changed (35) hide show
  1. package/README.md +2 -0
  2. package/dist/assets.d.mts +181 -22
  3. package/dist/assets.mjs +1186 -160
  4. package/dist/{commands-C0BljsM5.d.mts → commands-DYO22lzi.d.mts} +22 -5
  5. package/dist/control.d.mts +3 -3
  6. package/dist/control.mjs +3 -3
  7. package/dist/{define-CjP_4H0G.d.mts → define-BKWjWgyQ.d.mts} +1 -1
  8. package/dist/dev-CQYJPmcD.mjs +1183 -0
  9. package/dist/flatten-BkXuscAV.mjs +100 -0
  10. package/dist/index.d.mts +85 -31
  11. package/dist/index.mjs +3208 -490
  12. package/dist/{session-DmAxY6Ll.mjs → input-CK4nxBO1.mjs} +41 -12
  13. package/dist/inspect.d.mts +32 -9
  14. package/dist/inspect.mjs +2 -2
  15. package/dist/jsx-dev-runtime.d.mts +1 -1
  16. package/dist/jsx-dev-runtime.mjs +1 -1
  17. package/dist/jsx-runtime.d.mts +1 -1
  18. package/dist/jsx-runtime.mjs +1 -1
  19. package/dist/{run-tlcn1w7y.mjs → run-BfuMLahc.mjs} +489 -213
  20. package/dist/{runtime-Bn5TXNxP.d.mts → runtime-Bhu442L8.d.mts} +1 -1
  21. package/dist/{runtime-DRlwxkIv.mjs → runtime-CBZgWgzx.mjs} +1 -57
  22. package/dist/{sources-BooL2MsX.mjs → sources-C1uGjz4l.mjs} +198 -21
  23. package/dist/testing.d.mts +5 -5
  24. package/dist/testing.mjs +5 -4
  25. package/dist/{types-CxZy7Pi4.d.mts → types-BnWH-75b.d.mts} +95 -21
  26. package/dist/{types-CqkrEY06.d.mts → types-CVUHPvMB.d.mts} +5 -434
  27. package/dist/{types-DmhTHRVW.d.mts → types-DtmFVCHf.d.mts} +1 -1
  28. package/dist/{types-BZ1OLf24.d.mts → types-Dy1xB68L.d.mts} +2318 -1169
  29. package/dist/{types-X9jXjka3.d.mts → types-VErbiEXy.d.mts} +867 -198
  30. package/dist/{visual-NPrDkvUk.mjs → visual-DUvvPPCt.mjs} +51 -1
  31. package/llms.txt +5 -5
  32. package/package.json +5 -5
  33. package/dist/component-DGg5DqKK.mjs +0 -44
  34. package/dist/dev-CcwFrwok.mjs +0 -413
  35. package/dist/types-C47fKNcn.d.mts +0 -695
@@ -1,7 +1,7 @@
1
- import { Tt as Time, Ut as Api, ft as FlowState, lt as Bookmark, t as Api$1, u as DebugSwitches } from "./types-BZ1OLf24.mjs";
2
- import { d as HeadlessApp, n as Command, r as ControlApp } from "./types-DmhTHRVW.mjs";
3
- import { H as InputApi } from "./types-X9jXjka3.mjs";
4
- import { A as UiApi, t as AnimApi } from "./types-CqkrEY06.mjs";
1
+ import { C as Captured, Et as Bookmark, T as DebugSwitches, Vt as Time, an as Api, k as Api$2, kt as FlowState, m as Api$1 } from "./types-Dy1xB68L.mjs";
2
+ import { d as HeadlessApp, n as Command, r as ControlApp } from "./types-DtmFVCHf.mjs";
3
+ import { H as InputApi } from "./types-VErbiEXy.mjs";
4
+ import { A as UiApi, t as AnimApi } from "./types-CVUHPvMB.mjs";
5
5
 
6
6
  //#region src/plugins/flow/doors/commands.d.ts
7
7
  /**
@@ -67,10 +67,17 @@ declare const commands: Readonly<{
67
67
  } & {
68
68
  readonly lifecycle: Api;
69
69
  }>;
70
- capture: Command<{}, string | undefined, HeadlessApp & {
70
+ capture: Command<{
71
+ legend: "boolean?";
72
+ layers: "json?";
73
+ sheet: "json?";
74
+ diff: "json?";
75
+ }, Captured | undefined, HeadlessApp & {
71
76
  readonly log: import("@moku-labs/common/browser").LogApi;
72
77
  } & {
73
78
  readonly renderer: Api$1;
79
+ } & {
80
+ readonly world: Api$2;
74
81
  }>;
75
82
  debug: Command<{
76
83
  nineSlice: "boolean";
@@ -94,6 +101,16 @@ declare const commands: Readonly<{
94
101
  } & {
95
102
  readonly ui: Pick<UiApi, "fill">;
96
103
  }>;
104
+ timeScale: Command<{
105
+ scale: "number";
106
+ }, Readonly<Time>, ControlApp>;
107
+ trace: Command<{
108
+ path: "json";
109
+ }, boolean, HeadlessApp & {
110
+ readonly log: import("@moku-labs/common/browser").LogApi;
111
+ } & {
112
+ readonly input: InputApi;
113
+ }>;
97
114
  }>;
98
115
  //#endregion
99
116
  export { commands as t };
@@ -1,6 +1,6 @@
1
- import { d as HeadlessApp, i as InputArguments, n as Command, o as InputSchema, s as Ran } from "./types-DmhTHRVW.mjs";
2
- import { t as commands } from "./commands-C0BljsM5.mjs";
3
- import { t as defineCommand } from "./define-CjP_4H0G.mjs";
1
+ import { d as HeadlessApp, i as InputArguments, n as Command, o as InputSchema, s as Ran } from "./types-DtmFVCHf.mjs";
2
+ import { t as commands } from "./commands-DYO22lzi.mjs";
3
+ import { t as defineCommand } from "./define-BKWjWgyQ.mjs";
4
4
 
5
5
  //#region src/plugins/flow/doors/dev.d.ts
6
6
  /**
package/dist/control.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as controlRefused } from "./dev-CcwFrwok.mjs";
2
- import { n as commands, t as run } from "./run-tlcn1w7y.mjs";
3
- import { a as defineCommand } from "./session-DmAxY6Ll.mjs";
1
+ import { t as controlRefused } from "./dev-CQYJPmcD.mjs";
2
+ import { n as commands, t as run } from "./run-BfuMLahc.mjs";
3
+ import { s as defineCommand } from "./input-CK4nxBO1.mjs";
4
4
  export { commands, controlRefused, defineCommand, run };
@@ -1,4 +1,4 @@
1
- import { c as Source, d as HeadlessApp, n as Command, o as InputSchema } from "./types-DmhTHRVW.mjs";
1
+ import { c as Source, d as HeadlessApp, n as Command, o as InputSchema } from "./types-DtmFVCHf.mjs";
2
2
 
3
3
  //#region src/plugins/flow/doors/define.d.ts
4
4
  /**