@melite/models-gem-soma 0.2.0-alpha → 0.2.2-alpha

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/README.md CHANGED
@@ -1,13 +1,8 @@
1
- ---
2
- description: SOMA family, GEM-X pose estimation and retargeting bound as the rig card's auto mode.
3
- kind: package-library
4
- ---
5
-
6
1
  # @melite/models-gem-soma
7
2
 
8
3
  The SOMA family — GEM-X SOMA pose estimation and retargeting, form_edit, genre other, declared unoffered on the comfyui engine (no served catalog row). Source points at `nvidia/soma-x`. The DECL declares no defaults: the declared-plane door's catch (2026-10-12) — the t2i transcription block (scheduler, width, height, steps, sampler, cfg) composed nothing on this mesh family, and the SOMA lane owns its own sampler truth.
9
4
 
10
- The rig card binds the rig action for its `auto` mode: the SOMA-77 weight transfer. The lane is weightless — the template's hand-painted weights ship in the vendored autorig pack `melite-autorig-nodes`, so nothing downloads on the family's account. The build composes `KimodoExportFBX`: `mesh_glb` in, `file_format` glb or fbx (anything else rides glb; the card's vocabulary gates it), `preserve_texture`, `decimate_ratio` (0–1). The fbx arm converts through headless Blender — the Unity import door.
5
+ The rig card binds the rig action for its `auto` mode: the SOMA-77 weight transfer. The lane is weightless — the template's hand-painted weights ship in the vendored autorig pack `melite-autorig-nodes`, so nothing downloads on the family's account. The build composes `KimodoExportFBX`: `mesh_glb` in, `preserve_texture` — the node writes the rigged GLB itself (the file_format glb|fbx knob and decimate_ratio died with the blender lane, 2026-11-01; GLB is the node's only output format).
11
6
 
12
7
  ## Declaration
13
8
 
@@ -31,4 +26,4 @@ Independent — the package contributes no persistent prompt prefix, so register
31
26
 
32
27
  - **Unoffered** — the family serves no catalog row; it is the rig card's `auto` binding, resolved by route.
33
28
  - **No defaults** — the transcription block composed nothing here, so callers state what they need instead of inheriting a landing.
34
- - **The fbx arm converts through headless Blender** — the Unity import door; the conversion is the node's dependency, not this package's.
29
+ - **GLB is the only export format** — the fbx arm (headless Blender, the Unity import door) died with the blender lane (operator 2026-11-01: melite carries no blender).
package/lib/actions.d.ts CHANGED
@@ -9,8 +9,6 @@ export type SomaRigFacts = Record<string, never>;
9
9
  export interface SomaRigParams {
10
10
  mesh_glb: string;
11
11
  preserve_texture?: boolean;
12
- decimate_ratio: number;
13
- file_format?: string;
14
12
  }
15
13
  /** The weightless door: the family declares no lane_inputs, so there
16
14
  * is nothing to parse and nothing that can drift.
package/lib/actions.js CHANGED
@@ -1,7 +1,3 @@
1
- // fps is LANE-INTERNAL (the node's own declared default 30 — the
2
- // card vocabulary has no fps param and the engine refuses the
3
- // prompt without the required input).
4
- const EXPORT_FPS = 30;
5
1
  /** The weightless door: the family declares no lane_inputs, so there
6
2
  * is nothing to parse and nothing that can drift.
7
3
  * @param _raw the resolved lane_inputs (empty for this family)
@@ -18,27 +14,18 @@ export const rig = {
18
14
  // THE DECLARED SURFACE (the write plane, phase 2): the rig
19
15
  // card schema's own types and bounds — the family door judges
20
16
  // defaults and variant presets against this row. The auto lane's
21
- // rows only: the mesh, the file format, and the two KimodoExportFBX knobs.
17
+ // rows only: the mesh and the KimodoExportFBX texture knob. (The
18
+ // file_format and decimate_ratio rows died with the blender lane.)
22
19
  params: [
23
20
  { name: "mesh_glb", type: "string" },
24
21
  { name: "preserve_texture", type: "boolean" },
25
- { name: "decimate_ratio", type: "number", bounds: [0, 1] },
26
- { name: "file_format", type: "enum", options: ["glb", "fbx"] },
27
22
  ],
28
23
  facts: parseSomaRigFacts,
29
24
  build({ p, g }) {
30
25
  const source = g.node("PrimitiveString", { value: p.mesh_glb }).out();
31
- const empty = g.node("PrimitiveString", { value: "" }).out();
32
26
  return g.node("KimodoExportFBX", {
33
- rigged_path: empty,
34
27
  source_glb: source,
35
- // CLOSED (the preserve_texture precedent): the card's
36
- // vocabulary gates glb|fbx, and anything else rides glb —
37
- // the node never receives a format it cannot spell.
38
- file_format: p.file_format === "fbx" ? "fbx" : "glb",
39
28
  preserve_texture: p.preserve_texture === true,
40
- decimate_ratio: p.decimate_ratio,
41
- fps: EXPORT_FPS,
42
29
  }).out();
43
30
  },
44
31
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melite/models-gem-soma",
3
- "version": "0.2.0-alpha",
3
+ "version": "0.2.2-alpha",
4
4
  "license": "AGPL-3.0-or-later",
5
5
  "type": "module",
6
6
  "exports": {
@@ -11,12 +11,7 @@
11
11
  "./package.json": "./package.json"
12
12
  },
13
13
  "dependencies": {
14
- "@melite/comfyui-card-kit": "0.2.0-alpha"
15
- },
16
- "devDependencies": {
17
- "@types/node": "^22.20.0",
18
- "typescript": "^5.9.3",
19
- "@deepseek-ai/cordis": "^4.0.5"
14
+ "@melite/comfyui-card-kit": "0.2.2-alpha"
20
15
  },
21
16
  "files": [
22
17
  "lib/index.js",
@@ -26,10 +21,27 @@
26
21
  "peerDependencies": {
27
22
  "@deepseek-ai/cordis": "^4.0.5"
28
23
  },
24
+ "description": "SOMA family, GEM-X pose estimation and retargeting bound as the rig card's auto mode.",
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://github.com/JayDataEngineer/melite.git",
28
+ "directory": "packages/models/gem-soma"
29
+ },
30
+ "keywords": [
31
+ "melite",
32
+ "comfyui",
33
+ "cordis",
34
+ "agent",
35
+ "media-generation",
36
+ "library"
37
+ ],
29
38
  "scripts": {
30
39
  "build": "tsc -p tsconfig.build.json",
31
40
  "typecheck": "tsc --noEmit"
32
41
  },
42
+ "engines": {
43
+ "node": ">=22.18.0"
44
+ },
33
45
  "publishConfig": {
34
46
  "access": "public"
35
47
  }