rig-c 2.33.0 → 2.34.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.
- package/package.json +2 -1
- package/src/core/entry.ts +33 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rig-c",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.34.0",
|
|
4
4
|
"description": "AI-authored Spine 2D rigging and animation, verified before it is written. rigc compiles a rig spec into Spine 4.3 skeleton data, gates it with named assertions held to a spine-core round trip's verdicts, and emits nothing that fails. Output imports into the Spine editor. Ships as an agent skill.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"./mesh": "./src/mesh.ts",
|
|
18
18
|
"./errors": "./src/errors.ts",
|
|
19
19
|
"./meshcompare": "./src/meshcompare.ts",
|
|
20
|
+
"./core": "./src/core/entry.ts",
|
|
20
21
|
"./cli": "./cli.ts",
|
|
21
22
|
"./package.json": "./package.json",
|
|
22
23
|
"./*.ts": "./*.ts",
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `rig-c/core` — the named entry a player with no Spine runtime poses the
|
|
3
|
+
* model document through (issue #1275).
|
|
4
|
+
*
|
|
5
|
+
* A dependant was observed importing these symbols from the core's own files
|
|
6
|
+
* through the pattern courtesy (`rig-c/src/core/raw`), which RELEASING.md
|
|
7
|
+
* *The import surface* says is not promised. This module re-exports exactly
|
|
8
|
+
* the observed list, so the core's files keep their names and may move: the
|
|
9
|
+
* entry moves with them, and a symbol leaves only as a breaking change.
|
|
10
|
+
*
|
|
11
|
+
* 🔒 It re-exports and does nothing else. What it reaches by value is the
|
|
12
|
+
* core and nothing outside `src/core/` — the core links no `node:` module and
|
|
13
|
+
* no runtime, and its imports of `../model.ts` are type imports — so a bundler
|
|
14
|
+
* targeting a browser takes this entry's closure without a node polyfill.
|
|
15
|
+
* `CUR123` holds the closure, by name; the install smoke bundles it for a
|
|
16
|
+
* browser and holds the bundle to zero `node:` strings.
|
|
17
|
+
*
|
|
18
|
+
* ⚠️ A symbol is listed here only because a dependant was seen using it.
|
|
19
|
+
* The list is `scripts/install_smoke.ts`'s `OBSERVED_SYMBOLS` row for
|
|
20
|
+
* `./core`, and a symbol added here and not there is not promised.
|
|
21
|
+
*/
|
|
22
|
+
export { readModel, underSkin, underNoSkin, CoreInputError, CORE_DOCUMENT_SPEC, CORE_DOCUMENT_SPECS, CORE_BLEND_MODES, activeBones } from './index.ts';
|
|
23
|
+
export type { CompiledDocument, CoreSlotRow, CoreBlendMode } from './index.ts';
|
|
24
|
+
export { poseRawSetup, poseRawAnimation, poseRawAnimationEach, loopedTime, setupBounds } from './raw.ts';
|
|
25
|
+
export type { RawPose, RawBone, RawDrawn, RawClip, RawClipped, RawEvent, RawReset } from './raw.ts';
|
|
26
|
+
export { poseWalkSetup, poseLoopingWalk } from './walk.ts';
|
|
27
|
+
export type { WalkPose } from './walk.ts';
|
|
28
|
+
export { documentPageLookup, drawnRegions, regionPageUvs, meshPageUvs, readUvSequences } from './uvs.ts';
|
|
29
|
+
export type { DrawnRegion, UvPage, UvRegion, UvSource } from './uvs.ts';
|
|
30
|
+
export { clipThrough, clipShapeOf, convexWhy, REGION_UVS, REGION_TRIANGLES } from './clipping.ts';
|
|
31
|
+
export type { ClipShape, ClipResult } from './clipping.ts';
|
|
32
|
+
export { eventsFired } from './events.ts';
|
|
33
|
+
export type { ModelPage, ModelPageRegion } from '../model.ts';
|