rig-parts 1.5.3 → 1.5.4

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/NOTICE.md CHANGED
@@ -69,7 +69,7 @@ only as a development dependency, and an install of rig-c gates a build with
69
69
  its own validator. rig-parts does not install it either; it is this repository's
70
70
  development dependency, at the version rig-c develops against, for the round
71
71
  trip in the selftest and CI and the selftest's posing oracle.
72
- rig-c's [NOTICE.md](https://github.com/firejune/rigc/blob/main/NOTICE.md)
72
+ rig-c's [NOTICE.md](https://github.com/rig-c/core/blob/main/NOTICE.md)
73
73
  sets out the chain in full; briefly, as a restatement of Esoteric Software's
74
74
  terms and not a term of this project:
75
75
 
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  are written.** rig-parts takes a single character painting and the layers
5
5
  [See-through](https://github.com/shitagaki-lab/see-through) decomposed it into,
6
6
  merges them into measured rig-space parts, authors weighted meshes, bone chains
7
- and a looping idle over them in [rig-c](https://github.com/firejune/rigc)'s
7
+ and a looping idle over them in [rig-c](https://github.com/rig-c/core)'s
8
8
  spec, and hands that spec to rig-c to compile, gate, pack, render and check.
9
9
  It is built for agents that cannot see the image: every stage prints named,
10
10
  numeric findings, a refusal names the object, the value found and the value
@@ -14,12 +14,12 @@ input is silent.
14
14
  ## What you get
15
15
 
16
16
  <p align="center">
17
- <img src="https://raw.githubusercontent.com/firejune/rig-parts/main/assets/demo-source.png" alt="The demo painting: a generated full-body character in a white and pink frilled dress with long pink twin tails, standing with her hands clasped" height="420" />
18
- <img src="https://raw.githubusercontent.com/firejune/rig-parts/main/assets/demo-idle.png" alt="The same character rigged, breathing, blinking once and swaying her hair, sleeves and skirt in a four-second loop" height="420" />
17
+ <img src="https://raw.githubusercontent.com/rig-c/parts/main/assets/demo-source.png" alt="The demo painting: a generated full-body character in a white and pink frilled dress with long pink twin tails, standing with her hands clasped" height="420" />
18
+ <img src="https://raw.githubusercontent.com/rig-c/parts/main/assets/demo-idle.png" alt="The same character rigged, breathing, blinking once and swaying her hair, sleeves and skirt in a four-second loop" height="420" />
19
19
  </p>
20
20
 
21
21
  <p align="center">
22
- <img src="https://raw.githubusercontent.com/firejune/rig-parts/main/assets/demo-parts.png" alt="Contact sheet of the painting and the 22 assembled parts it was split into: hair, dress, sleeves, shoes, face, eyes, brows, mouth and ornaments" width="100%" />
22
+ <img src="https://raw.githubusercontent.com/rig-c/parts/main/assets/demo-parts.png" alt="Contact sheet of the painting and the 22 assembled parts it was split into: hair, dress, sleeves, shoes, face, eyes, brows, mouth and ornaments" width="100%" />
23
23
  </p>
24
24
 
25
25
  <p align="center"><em>
@@ -54,7 +54,7 @@ made the contact sheet.
54
54
  </em></p>
55
55
 
56
56
  <p align="center">
57
- <img src="https://raw.githubusercontent.com/firejune/rig-parts/main/assets/sample-parts.png" alt="Contact sheet of the sample character's painting and its 20 parts" width="560" />
57
+ <img src="https://raw.githubusercontent.com/rig-c/parts/main/assets/sample-parts.png" alt="Contact sheet of the sample character's painting and its 20 parts" width="560" />
58
58
  </p>
59
59
 
60
60
  <p align="center"><em>
@@ -148,9 +148,9 @@ atlas written by anything else would have no oracle behind it.
148
148
 
149
149
  | stage | tool | what it owns |
150
150
  | --- | --- | --- |
151
- | painting + See-through layers → parts and specs | **rig-parts** | the merge of two runs, the measurements, the rig spec and motion spec |
152
- | specs → Spine skeleton data | **[rig-c](https://github.com/firejune/rigc)** | compile, the gate (rigc's own validator in an install; the round trip through `spine-core` where the runtime is beside it, as in this repository's CI), the named assertions, the packer, the renderer |
153
- | skeleton data → a page | **[rig-play](https://github.com/firejune/rig-play)** (formerly spine-html), a sibling project | a DOM renderer; rigc's `spine-html` profile is its policy, and every build here is gated under that profile as well as under `spine` |
151
+ | painting + See-through layers → parts and specs | **rig-parts** (npm `@rig-c/parts`) | the merge of two runs, the measurements, the rig spec and motion spec |
152
+ | specs → Spine skeleton data | **[rig-c](https://github.com/rig-c/core)** (npm `rig-c`) | compile, the gate (rigc's own validator in an install; the round trip through `spine-core` where the runtime is beside it, as in this repository's CI), the named assertions, the packer, the renderer |
153
+ | skeleton data → a page | **[rig-play](https://github.com/rig-c/play)** (npm `@rig-c/play`; formerly spine-html), a sibling project | a DOM renderer; rigc's `spine-html` profile is its policy, and every build here is gated under that profile as well as under `spine` |
154
154
 
155
155
  rig-parts never writes Spine data itself. Everything on disk under `check/build/`
156
156
  was written by rig-c after its own gate passed.
@@ -388,15 +388,17 @@ before it, at v0.14.0).
388
388
 
389
389
  ## Requirements
390
390
 
391
- [Bun](https://bun.sh) 1.2 or later. `npm install -g rig-parts` installs the
392
- `rig-parts` command; it hands off to Bun and says so in one sentence if Bun is not
393
- on `PATH`. **`rig-parts` is the package's name; versions up to 0.16.0 were published
391
+ [Bun](https://bun.sh) 1.2 or later. `npm i -D @rig-c/parts` installs the
392
+ `rig-parts` command (`npm install -g @rig-c/parts` puts it on `PATH`); it hands off
393
+ to Bun and says so in one sentence if Bun is not on `PATH`. **`@rig-c/parts` is the
394
+ package's name; versions 1.0.0-rc.1 to 1.5.3 were published as `rig-parts`, and
395
+ versions up to 0.16.0
394
396
  as `spine-parts`, its former name**, and the install keeps a `spine-parts` command
395
397
  beside `rig-parts` for the transition, the same launcher under both names. On npm
396
- the alias `spine-parts` stays published beside `rig-parts` at every version,
398
+ both former names stay published beside `@rig-c/parts` at every version, as aliases
397
399
  carrying the same files with only the `name` in `package.json` changed, so a
398
- project that depends on the former name keeps receiving every release; a new
399
- install names `rig-parts` ([RELEASING.md](RELEASING.md), *The registry side*). rig-c
400
+ project that depends on either keeps receiving every release; a new
401
+ install names `@rig-c/parts` ([RELEASING.md](RELEASING.md), *The registry side*). rig-c
400
402
  comes with it as a dependency. No Spine runtime does: since
401
403
  rig-c 2.0 the installed `rigc` gates every build with its own validator over the
402
404
  compiled model document, and `rigc --version` says `entry: cli_core.ts —
package/docs/AUTHORING.md CHANGED
@@ -17,7 +17,7 @@ into `examples/sample/inputs/`.
17
17
 
18
18
  | what | why | how |
19
19
  | --- | --- | --- |
20
- | [Bun](https://bun.sh) 1.2 or later | rig-parts and rig-c are Bun programs | `npm install -g rig-parts` installs the command; it says so if Bun is missing |
20
+ | [Bun](https://bun.sh) 1.2 or later | rig-parts and rig-c are Bun programs | `npm install -g @rig-c/parts` installs the command; it says so if Bun is missing |
21
21
  | [rig-c](https://www.npmjs.com/package/rig-c) | compiles, gates, packs and renders every rig; rig-parts writes no Spine data itself | installed with rig-parts as a dependency (`node_modules/.bin/rigc`); with no Spine runtime beside it, it gates with its own validator, and `rigc --version` says `entry: cli_core.ts` |
22
22
  | [See-through](https://github.com/shitagaki-lab/see-through), somewhere | the layer decomposition is the input | any route in README *Getting See-through layers*; it runs twice per character, outside this tool |
23
23
  | a GPU, wherever See-through runs | See-through is a diffusion model | nothing in rig-parts itself uses a GPU |
package/docs/MIGRATION.md CHANGED
@@ -9,14 +9,14 @@ from the pull request that measured it.
9
9
 
10
10
  ## In one paragraph
11
11
 
12
- Install `rig-parts`. A config that built on 0.16.0 loads and builds unchanged: every
13
- config change since is a new, opt-in field inside a new mesh mode. The bytes a
14
- config without that mode builds moved once, by a declared exception (every mesh
15
- triangle's vertex order, #133); apart from it, each change since 0.16.0 that touched
16
- the code was measured against the tree before it on the three public examples'
17
- builds, and moved no byte of them. Inside the automatic mode, one change after the
18
- candidate moves declared bytes, named in *Since 1.0.0-rc.1*: the skinning envelope's
19
- reference (#169).
12
+ Install `@rig-c/parts` (the package's name after 1.5.3; *After 1.5.3* below). A
13
+ config that built on 0.16.0 loads and builds unchanged: every config change since is
14
+ a new, opt-in field inside a new mesh mode. The bytes a config without that mode
15
+ builds moved once, by a declared exception (every mesh triangle's vertex order,
16
+ #133); apart from it, each change since 0.16.0 that touched the code was measured
17
+ against the tree before it on the three public examples' builds, and moved no byte
18
+ of them. Inside the automatic mode, one change after the candidate moves declared
19
+ bytes, named in *Since 1.0.0-rc.1*: the skinning envelope's reference (#169).
20
20
 
21
21
  ## From 0.16.0 to 1.0.0-rc.1
22
22
 
@@ -31,7 +31,7 @@ reference (#169).
31
31
  | spec ids of the files authors write and this package writes | `spine-parts-requirements/1`, `spine-parts-scene/1`, `spine-parts-keypoints/1`, `spine-parts-bonemap/1`, `spine-parts-basis/1`, `spine-parts-scene-report/1` | unchanged: they name a file format, not the tool, so a file written before the rename still reads |
32
32
  | public examples repository | `spine-parts-examples` | unchanged (it keeps the name it was published under) |
33
33
 
34
- What to do: install with `npm install -g rig-parts` and write `rig-parts` in scripts.
34
+ What to do: install with `npm install -g @rig-c/parts` and write `rig-parts` in scripts.
35
35
  A script or a dependant that names the alias `spine-parts` keeps working and keeps
36
36
  receiving every release; how long the alias stays is RELEASING.md's *The alias stays
37
37
  until its retirement questions have written answers*. No build output carries the
@@ -135,3 +135,16 @@ What to do: nothing for a config without `auto`. A config under `auto` that decl
135
135
  `motion.residual` may write a different mesh than 1.0.0-rc.1 did, as above; a
136
136
  consumer that compares builds byte for byte with 1.0.0-rc.1 expects that move and
137
137
  nothing else.
138
+
139
+ ## After 1.5.3: the scoped name
140
+
141
+ | | 1.0.0 to 1.5.3 | after 1.5.3 |
142
+ | --- | --- | --- |
143
+ | npm package | `rig-parts` | `@rig-c/parts`; `rig-parts` and the alias `spine-parts` are published beside it at every version as aliases, the same files with only the `name` in `package.json` changed |
144
+ | command | `rig-parts`, and the alias `spine-parts` on the same launcher | unchanged |
145
+ | repository | `firejune/rig-parts` (GitHub redirects it) | `rig-c/parts`, beside `rig-c/core` (npm `rig-c`) and `rig-c/play` |
146
+ | spec ids, the config, the bytes a build writes | | unchanged |
147
+
148
+ What to do: install with `npm i -D @rig-c/parts` (or `npm install -g @rig-c/parts`);
149
+ command lines do not change. A dependant that names `rig-parts` keeps receiving
150
+ every release under it (#222).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rig-parts",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "AI-authored 2D character parts from one anime painting and its See-through layer decomposition: measured parts, weighted-mesh rig specs, verified through rig-c before anything is written. A CLI for agents that cannot see the image.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -14,10 +14,10 @@
14
14
  "author": "firejune",
15
15
  "repository": {
16
16
  "type": "git",
17
- "url": "https://github.com/firejune/rig-parts.git"
17
+ "url": "https://github.com/rig-c/parts.git"
18
18
  },
19
- "homepage": "https://github.com/firejune/rig-parts#readme",
20
- "bugs": "https://github.com/firejune/rig-parts/issues",
19
+ "homepage": "https://github.com/rig-c/parts#readme",
20
+ "bugs": "https://github.com/rig-c/parts/issues",
21
21
  "keywords": [
22
22
  "spine",
23
23
  "spine2d",
@@ -2,7 +2,7 @@
2
2
  name: rig-parts
3
3
  description: Turn one anime character painting and its See-through layer decomposition into a verified 2D character rig (Spine 4.3 skeleton data) — measured parts, weighted meshes, bone chains and a looping idle — with rig-parts, which gates everything through rig-c before it is written. Use for a request to rig or animate a single character painting, to run or read rig-parts layers, sheet, assemble, propose, rig, check, loop or build, or to write or fix a rig-parts config.json. Not for cutting art into parts by hand, for authoring a rig from loose PNGs (that is the rigc skill), for lip-sync or swapping a part's image, or for running See-through itself.
4
4
  license: MIT
5
- compatibility: Requires Bun 1.2 or later. The tool is the npm package rig-parts (bunx rig-parts, or bun add -d rig-parts); rig-c is installed with it. See-through is run separately.
5
+ compatibility: Requires Bun 1.2 or later. The tool is the npm package @rig-c/parts (npm i -D @rig-c/parts, or bun add -d @rig-c/parts), whose command is rig-parts; rig-c is installed with it. See-through is run separately.
6
6
  ---
7
7
 
8
8
  # rig-parts — a painting to a Spine rig, for agents
@@ -150,9 +150,9 @@ share is synthesis where the painting was there to be taken.
150
150
 
151
151
  ## Where to read next
152
152
 
153
- [docs/AUTHORING.md](https://github.com/firejune/rig-parts/blob/main/docs/AUTHORING.md)
153
+ [docs/AUTHORING.md](https://github.com/rig-c/parts/blob/main/docs/AUTHORING.md)
154
154
  first — every config field, the command order, what to read after each stage, every
155
- refusal. It is in the installed package at `node_modules/rig-parts/docs/AUTHORING.md`,
155
+ refusal. It is in the installed package at `node_modules/@rig-c/parts/docs/AUTHORING.md`,
156
156
  the copy that matches the version you run. Two recipes there cover what this package
157
157
  leaves to you:
158
158