@origingame/engine 0.1.0 → 0.1.1

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.
@@ -8022,22 +8022,22 @@ function __wbg_get_imports() {
8022
8022
  arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
8023
8023
  }, arguments); },
8024
8024
  __wbindgen_generic_0000000000000001: function(arg0, arg1) {
8025
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 4796, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
8025
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 4797, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
8026
8026
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_b8d3fa9391980f8___convert__closures_____invoke___wasm_bindgen_b8d3fa9391980f8___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_b8d3fa9391980f8___JsError___true_);
8027
8027
  return ret;
8028
8028
  },
8029
8029
  __wbindgen_generic_0000000000000002: function(arg0, arg1) {
8030
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 2658, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
8030
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 2659, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
8031
8031
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_b8d3fa9391980f8___convert__closures_____invoke___wasm_bindgen_b8d3fa9391980f8___sys__JsNullable_wgpu_318367e4ed152831___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_b8d3fa9391980f8___JsError___true_);
8032
8032
  return ret;
8033
8033
  },
8034
8034
  __wbindgen_generic_0000000000000003: function(arg0, arg1) {
8035
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 2658, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
8035
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 2659, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
8036
8036
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_b8d3fa9391980f8___convert__closures_____invoke___wasm_bindgen_b8d3fa9391980f8___sys__JsNullable_wgpu_318367e4ed152831___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_b8d3fa9391980f8___JsError___true__352);
8037
8037
  return ret;
8038
8038
  },
8039
8039
  __wbindgen_generic_0000000000000004: function(arg0, arg1) {
8040
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 2658, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
8040
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 2659, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
8041
8041
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_b8d3fa9391980f8___convert__closures_____invoke___wasm_bindgen_b8d3fa9391980f8___sys__JsNullable_wgpu_318367e4ed152831___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_b8d3fa9391980f8___JsError___true__353);
8042
8042
  return ret;
8043
8043
  },
Binary file
@@ -7862,32 +7862,32 @@ function __wbg_get_imports(memory) {
7862
7862
  arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
7863
7863
  }, arguments); },
7864
7864
  __wbindgen_generic_0000000000000001: function(arg0, arg1) {
7865
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2021, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
7865
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2018, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
7866
7866
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4274632476068e3f___convert__closures_____invoke___wasm_bindgen_4274632476068e3f___JsValue______true_);
7867
7867
  return ret;
7868
7868
  },
7869
7869
  __wbindgen_generic_0000000000000002: function(arg0, arg1) {
7870
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 4356, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7870
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 4355, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7871
7871
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4274632476068e3f___convert__closures_____invoke___wasm_bindgen_4274632476068e3f___JsValue__core_f9975da687154ecd___result__Result_____wasm_bindgen_4274632476068e3f___JsError___true_);
7872
7872
  return ret;
7873
7873
  },
7874
7874
  __wbindgen_generic_0000000000000003: function(arg0, arg1) {
7875
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 4358, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
7875
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 4357, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
7876
7876
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4274632476068e3f___convert__closures_____invoke___js_sys_61cb8e1cd79b86e3___futures__task__wait_async_polyfill__MessageEvent______true_);
7877
7877
  return ret;
7878
7878
  },
7879
7879
  __wbindgen_generic_0000000000000004: function(arg0, arg1) {
7880
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 2019, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7880
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 2016, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7881
7881
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4274632476068e3f___convert__closures_____invoke___wasm_bindgen_4274632476068e3f___sys__JsNullable_wgpu_507ee5aabebc46c8___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f9975da687154ecd___result__Result_____wasm_bindgen_4274632476068e3f___JsError___true_);
7882
7882
  return ret;
7883
7883
  },
7884
7884
  __wbindgen_generic_0000000000000005: function(arg0, arg1) {
7885
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 2019, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7885
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 2016, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7886
7886
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4274632476068e3f___convert__closures_____invoke___wasm_bindgen_4274632476068e3f___sys__JsNullable_wgpu_507ee5aabebc46c8___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f9975da687154ecd___result__Result_____wasm_bindgen_4274632476068e3f___JsError___true__342);
7887
7887
  return ret;
7888
7888
  },
7889
7889
  __wbindgen_generic_0000000000000006: function(arg0, arg1) {
7890
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 2019, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7890
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 2016, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7891
7891
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4274632476068e3f___convert__closures_____invoke___wasm_bindgen_4274632476068e3f___sys__JsNullable_wgpu_507ee5aabebc46c8___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f9975da687154ecd___result__Result_____wasm_bindgen_4274632476068e3f___JsError___true__343);
7892
7892
  return ret;
7893
7893
  },
@@ -7707,22 +7707,22 @@ function __wbg_get_imports() {
7707
7707
  arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
7708
7708
  }, arguments); },
7709
7709
  __wbindgen_generic_0000000000000001: function(arg0, arg1) {
7710
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3961, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7710
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3962, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7711
7711
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_b8d3fa9391980f8___convert__closures_____invoke___wasm_bindgen_b8d3fa9391980f8___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_b8d3fa9391980f8___JsError___true_);
7712
7712
  return ret;
7713
7713
  },
7714
7714
  __wbindgen_generic_0000000000000002: function(arg0, arg1) {
7715
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 1823, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7715
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 1824, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7716
7716
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_b8d3fa9391980f8___convert__closures_____invoke___wasm_bindgen_b8d3fa9391980f8___sys__JsNullable_wgpu_75f3f84ef81abc5a___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_b8d3fa9391980f8___JsError___true_);
7717
7717
  return ret;
7718
7718
  },
7719
7719
  __wbindgen_generic_0000000000000003: function(arg0, arg1) {
7720
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 1823, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7720
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 1824, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7721
7721
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_b8d3fa9391980f8___convert__closures_____invoke___wasm_bindgen_b8d3fa9391980f8___sys__JsNullable_wgpu_75f3f84ef81abc5a___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_b8d3fa9391980f8___JsError___true__333);
7722
7722
  return ret;
7723
7723
  },
7724
7724
  __wbindgen_generic_0000000000000004: function(arg0, arg1) {
7725
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 1823, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7725
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 1824, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7726
7726
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_b8d3fa9391980f8___convert__closures_____invoke___wasm_bindgen_b8d3fa9391980f8___sys__JsNullable_wgpu_75f3f84ef81abc5a___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_b8d3fa9391980f8___JsError___true__334);
7727
7727
  return ret;
7728
7728
  },
@@ -7862,7 +7862,7 @@ function __wbg_get_imports(memory) {
7862
7862
  arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
7863
7863
  }, arguments); },
7864
7864
  __wbindgen_generic_0000000000000001: function(arg0, arg1) {
7865
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1873, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
7865
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1872, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
7866
7866
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4274632476068e3f___convert__closures_____invoke___wasm_bindgen_4274632476068e3f___JsValue______true_);
7867
7867
  return ret;
7868
7868
  },
@@ -7877,17 +7877,17 @@ function __wbg_get_imports(memory) {
7877
7877
  return ret;
7878
7878
  },
7879
7879
  __wbindgen_generic_0000000000000004: function(arg0, arg1) {
7880
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 1871, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7880
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 1870, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7881
7881
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4274632476068e3f___convert__closures_____invoke___wasm_bindgen_4274632476068e3f___sys__JsNullable_wgpu_55e897b7c9dc4975___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f9975da687154ecd___result__Result_____wasm_bindgen_4274632476068e3f___JsError___true_);
7882
7882
  return ret;
7883
7883
  },
7884
7884
  __wbindgen_generic_0000000000000005: function(arg0, arg1) {
7885
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 1871, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7885
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 1870, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7886
7886
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4274632476068e3f___convert__closures_____invoke___wasm_bindgen_4274632476068e3f___sys__JsNullable_wgpu_55e897b7c9dc4975___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f9975da687154ecd___result__Result_____wasm_bindgen_4274632476068e3f___JsError___true__342);
7887
7887
  return ret;
7888
7888
  },
7889
7889
  __wbindgen_generic_0000000000000006: function(arg0, arg1) {
7890
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 1871, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7890
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 1870, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
7891
7891
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_4274632476068e3f___convert__closures_____invoke___wasm_bindgen_4274632476068e3f___sys__JsNullable_wgpu_55e897b7c9dc4975___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f9975da687154ecd___result__Result_____wasm_bindgen_4274632476068e3f___JsError___true__343);
7892
7892
  return ret;
7893
7893
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@origingame/engine-knowledge",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Origin Engine knowledge for agents: the API wiki generated from api.ogt, the ten og-* skills, the style catalogue and the project scaffold description, laid out for the OriginGame platform's knowledge packs. Not published on its own: @origingame/engine carries it as knowledge/ (docs/release.md §2).",
5
5
  "license": "MIT",
6
6
  "private": true,
@@ -4,13 +4,13 @@
4
4
  "substrate": "origin-engine-ts",
5
5
  "engine": {
6
6
  "package": "@origingame/engine",
7
- "version": "0.1.0",
7
+ "version": "0.1.1",
8
8
  "repository": "origingame/origin-engine"
9
9
  },
10
10
  "template": {
11
11
  "source": "templates/game",
12
12
  "create": "@origingame/create-game",
13
- "version": "0.1.0"
13
+ "version": "0.1.1"
14
14
  },
15
15
  "probe": {
16
16
  "protocol": 5,
@@ -0,0 +1,8 @@
1
+ # og cook output: rebuilt from assets/, never committed.
2
+ cooked/
3
+ # og build output.
4
+ dist/
5
+ # og run and og test output, and og's bundled entry.
6
+ og-out/
7
+ .og/
8
+ node_modules/
@@ -13,6 +13,6 @@
13
13
  "test": "og test ."
14
14
  },
15
15
  "dependencies": {
16
- "@origingame/engine": "0.1.0"
16
+ "@origingame/engine": "0.1.1"
17
17
  }
18
18
  }
@@ -7,7 +7,7 @@ version 1
7
7
  name "Origin Game"
8
8
  id "origin-game"
9
9
  # The engine this game is written against (design §9: upgrades are explicit).
10
- engine "0.1.0"
10
+ engine "0.1.1"
11
11
  entry "src/main.ts"
12
12
  # 2d (orthographic camera, sprites, 2D physics) or 3d.
13
13
  profile "3d"
@@ -90,7 +90,11 @@ export const TEMPLATE_SKIP: ReadonlySet<string> = new Set(["cooked", "dist", "og
90
90
  * overlay as `.gitattributes`, which in the engine repository would route
91
91
  * the template's plain-blob media through LFS.
92
92
  */
93
- export const TEMPLATE_RENAMED: ReadonlyMap<string, string> = new Map([["gitattributes", ".gitattributes"]]);
93
+ export const TEMPLATE_RENAMED: ReadonlyMap<string, string> = new Map([
94
+ ["gitattributes", ".gitattributes"],
95
+ // npm drops .gitignore from a tarball: the published scaffold/template carries it as `gitignore` (scripts/pack.ts).
96
+ ["gitignore", ".gitignore"],
97
+ ]);
94
98
 
95
99
  const fatal = new TextDecoder("utf-8", { fatal: true, ignoreBOM: true });
96
100
 
@@ -16,7 +16,8 @@ rmSync(target, { recursive: true, force: true });
16
16
  let n = 0;
17
17
  for (const full of walk(source, TEMPLATE_SKIP)) {
18
18
  if (!isText(new Uint8Array(readFileSync(full)))) continue;
19
- const to = join(target, relative(source, full));
19
+ // npm drops .gitignore from a tarball; TEMPLATE_RENAMED maps it back at mount.
20
+ const to = join(target, relative(source, full) === ".gitignore" ? "gitignore" : relative(source, full));
20
21
  mkdirSync(dirname(to), { recursive: true });
21
22
  cpSync(full, to);
22
23
  n++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@origingame/engine",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Origin Engine: the TypeScript API, generated from crates/og-api/api.ogt, its runtime on the web (wasm in a Worker) and native (napi addon) hosts, the player shell, and the agents' knowledge (skills, wiki, style catalogue) in knowledge/.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -51,8 +51,8 @@
51
51
  "bun": ">=1.3"
52
52
  },
53
53
  "optionalDependencies": {
54
- "@origingame/engine-darwin-arm64": "0.1.0",
55
- "@origingame/engine-linux-x64": "0.1.0",
54
+ "@origingame/engine-darwin-arm64": "0.1.1",
55
+ "@origingame/engine-linux-x64": "0.1.1",
56
56
  "@tsrs/darwin-arm64": "0.18.0-ts7.1.0-dev.20260929",
57
57
  "@tsrs/linux-arm64-gnu": "0.18.0-ts7.1.0-dev.20260929",
58
58
  "@tsrs/linux-arm64-musl": "0.18.0-ts7.1.0-dev.20260929",