@hackbuild/humanoid 0.1.0 → 0.2.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hackbuild/humanoid",
3
- "version": "0.1.0",
4
- "description": "A physics humanoid in the page: MuJoCo (Google DeepMind's WebAssembly build, loaded at run time and never bundled) runs a robot from its MJCF files, holds joint targets with its position actuators, and gives the body's pose to a three.js view. Starts with the Unitree G1 from MuJoCo Menagerie, its files loaded at run time.",
3
+ "version": "0.2.1",
4
+ "description": "A physics humanoid in the page: MuJoCo (Google DeepMind's WebAssembly build, loaded at run time and never bundled) runs a robot from its MJCF files, holds joint targets with its position actuators, and gives the body's pose to a three.js view. Starts with the Unitree G1, and runs NVIDIA's GEAR-SONIC policy on it so it balances (weights and onnxruntime-web loaded at run time).",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "Moheeb Zara <hackbuildvideo@gmail.com>",
@@ -23,6 +23,10 @@
23
23
  "types": "./dist/three.d.ts",
24
24
  "import": "./dist/three.js"
25
25
  },
26
+ "./sonic": {
27
+ "types": "./dist/sonic.d.ts",
28
+ "import": "./dist/sonic.js"
29
+ },
26
30
  "./iife": "./dist/humanoid.iife.js"
27
31
  },
28
32
  "unpkg": "dist/humanoid.iife.js",
@@ -39,7 +43,8 @@
39
43
  },
40
44
  "peerDependencies": {
41
45
  "@mujoco/mujoco": ">=4.0.1",
42
- "three": ">=0.186.1"
46
+ "three": ">=0.186.1",
47
+ "onnxruntime-web": ">=1.23.2"
43
48
  },
44
49
  "peerDependenciesMeta": {
45
50
  "@mujoco/mujoco": {
@@ -47,6 +52,9 @@
47
52
  },
48
53
  "three": {
49
54
  "optional": true
55
+ },
56
+ "onnxruntime-web": {
57
+ "optional": true
50
58
  }
51
59
  }
52
60
  }