@melite/models-fit 0.1.4-alpha → 0.1.5-pre-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 +36 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.js +6 -1
- package/package.json +3 -4
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Fit family, the fit-seat verb's analytic bone-scale fitting node family.
|
|
3
|
+
kind: package-library
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# @melite/models-fit
|
|
7
|
+
|
|
8
|
+
The Fit family — analytic bone-scale fitting, the node family behind the fit-seat verb (the meld seat). Weightless by construction: FitRow and FitProp carry no checkpoint, so nothing downloads. No engine field is declared (the contract default reads comfyui) and the family is unoffered, so no served catalog row exists. The DECL carries no Recipe default row either — nothing pre-stamps a fit pick.
|
|
9
|
+
|
|
10
|
+
The seat action is the verb's backend: FitRow (the analytic fit row) then FitProp (the body union prop under the row), then a fixed 4-view proof sheet rendered at the verb's framing (768, framing 1.2, focal 50, samples 64, transparent). The flow row routes; this declaration owns the graph. Params are the two files the caller names — `body`, `prop` — plus `bone`, which is required and refuses empty: a bone names a bone in the body being fitted, the vendor's FitRow refuses an empty one, the flow declares it required at the door, and the engine judges existence against the SOMAX body. The node's other fields are pinned verbatim in FIT_ROW — the FitRow node's own declared defaults (model name, align socket, seat ratio 0.22, fit reference bones, finger and thumb bones, target width), named here once.
|
|
11
|
+
|
|
12
|
+
The 2026-09-16 retirement order killed the fit card; the family is the sanctioned seam — flows' family-action stages are the only riders.
|
|
13
|
+
|
|
14
|
+
## Declaration
|
|
15
|
+
|
|
16
|
+
`src/index.ts` declares the DECL and the `family-fit` plugin; `src/actions.ts` owns the seat segment and FIT_ROW.
|
|
17
|
+
|
|
18
|
+
## Model Experience
|
|
19
|
+
|
|
20
|
+
#### What the model sees
|
|
21
|
+
|
|
22
|
+
None — the package contributes no model-visible input. The DECL registers in the models registry only; the catalog emission serves it no row (only offered comfyui-engine families serve), and it registers no session events and writes no prompt segments.
|
|
23
|
+
|
|
24
|
+
#### Token effect
|
|
25
|
+
|
|
26
|
+
Zero-direct token effect — the package registers a model family and composes engine graphs; it writes no prompt text into any model request.
|
|
27
|
+
|
|
28
|
+
#### KV Cache effect
|
|
29
|
+
|
|
30
|
+
Independent — the package contributes no persistent prompt prefix, so registering or removing the family invalidates nothing cached.
|
|
31
|
+
|
|
32
|
+
## Known Limitations and Deferred Work
|
|
33
|
+
|
|
34
|
+
- **The fit card stays dead** — the 2026-09-16 retirement order keeps it killed; the family is reachable only through flows' family-action stages, never a bench card.
|
|
35
|
+
- **The bone is the caller's** — no constant can know it; an absent or empty bone refuses at the door, and a name the body does not contain earns the engine's own verdict.
|
|
36
|
+
- **No fresh-card landing** — the DECL declares no Recipe default row, so nothing pre-stamps fit picks for new cards.
|
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Plugin } from "@deepseek-ai/cordis";
|
|
2
|
-
import type { ModelDecl } from
|
|
2
|
+
import type { ModelDecl } from '@melite/comfyui-card-kit/model-contract';
|
|
3
3
|
export declare const DECL: ModelDecl;
|
|
4
4
|
export declare const family: Plugin;
|
|
5
5
|
export { seat } from "./actions.js";
|
|
6
|
+
export { family as default };
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.js
CHANGED
|
@@ -5,7 +5,7 @@ export const DECL = {
|
|
|
5
5
|
"description": "Analytic bone-scale fitting — the fit-seat verb's node family (weightless: no checkpoint loads).",
|
|
6
6
|
// no engine (absent = comfyui, the contract default); no form,
|
|
7
7
|
// unoffered: a verb family serves no bench surface (the
|
|
8
|
-
//
|
|
8
|
+
// weightless-verb precedent) — the flows' family-action stages are
|
|
9
9
|
// its only riders.
|
|
10
10
|
"unoffered": true,
|
|
11
11
|
"genre": "3d",
|
|
@@ -46,4 +46,9 @@ export const family = {
|
|
|
46
46
|
},
|
|
47
47
|
};
|
|
48
48
|
export { seat } from "./actions.js";
|
|
49
|
+
// The Loader-row face: DSH loads plugin rows by bare specifier and
|
|
50
|
+
// unwraps `exports.default ?? exports` (vendor/cordis_plugins/loader
|
|
51
|
+
// unwrapExports) — the default export IS the row-loadable plugin. The
|
|
52
|
+
// named `family` stays the library face (engine loadFamilies).
|
|
53
|
+
export { family as default };
|
|
49
54
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@melite/models-fit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5-pre-alpha",
|
|
4
4
|
"license": "SSPL-1.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -11,9 +11,8 @@
|
|
|
11
11
|
"./package.json": "./package.json"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@melite/
|
|
15
|
-
"@melite/comfyui-card-kit": "0.1.
|
|
16
|
-
"@melite/contracts": "0.1.4-alpha"
|
|
14
|
+
"@melite/contracts": "0.1.5-pre-alpha",
|
|
15
|
+
"@melite/comfyui-card-kit": "0.1.5-pre-alpha"
|
|
17
16
|
},
|
|
18
17
|
"devDependencies": {
|
|
19
18
|
"@types/node": "^22.20.0",
|