@melite/models-h3 0.2.0-alpha → 0.2.3-rc.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/README.md +11 -16
- package/lib/actions.d.ts +10 -1
- package/lib/actions.js +455 -294
- package/lib/chainEdit.d.ts +106 -3
- package/lib/chainEdit.js +191 -16
- package/lib/chainUpscale.js +4 -1
- package/lib/edit.d.ts +103 -0
- package/lib/edit.js +645 -0
- package/lib/extend.d.ts +1 -0
- package/lib/extend.js +162 -36
- package/lib/filmMix.d.ts +29 -2
- package/lib/filmMix.js +93 -23
- package/lib/finalize.js +6 -1
- package/lib/index.d.ts +3 -2
- package/lib/index.js +78 -34
- package/lib/mods/loras.js +15 -1
- package/lib/refine.d.ts +151 -13
- package/lib/refine.js +626 -131
- package/lib/refmodBake.d.ts +29 -0
- package/lib/refmodBake.js +176 -0
- package/lib/repair.js +84 -77
- package/lib/reshoot.js +68 -16
- package/lib/schema.d.ts +44 -0
- package/lib/schema.js +155 -43
- package/lib/secondPass.d.ts +31 -0
- package/lib/secondPass.js +59 -0
- package/lib/swap.js +63 -34
- package/lib/timelineContract.d.ts +281 -5
- package/lib/timelineContract.js +394 -10
- package/package.json +24 -9
package/lib/index.js
CHANGED
|
@@ -68,13 +68,26 @@ export const DECL = {
|
|
|
68
68
|
"refmod_identity",
|
|
69
69
|
"refmod_save",
|
|
70
70
|
"loras",
|
|
71
|
-
// THE
|
|
71
|
+
// THE OPERATOR-AUTHORED MOD BAGS (the modleaf-add journey
|
|
72
72
|
|
|
73
|
+
// LIVES in the studio rail (ModifiersSection), and its only
|
|
73
74
|
|
|
74
|
-
//
|
|
75
|
-
//
|
|
76
|
-
//
|
|
77
|
-
//
|
|
75
|
+
// unification retired these seats saying "the studio projects
|
|
76
|
+
// but never authors the bag", which left the operator's Add
|
|
77
|
+
// press unwritable on BOTH planes (the serializer's vocabulary
|
|
78
|
+
// stripped it; this row refused it at the estate door). The
|
|
79
|
+
// studio now authors the modern bag keys; the legacy
|
|
80
|
+
// pre-collapse spellings (replace/repair/extend/refine/
|
|
81
|
+
// upscale) stay off this row by law — they ride the doc
|
|
82
|
+
// merge-patch preserved and the compose door translates them.
|
|
83
|
+
"edit",
|
|
84
|
+
"reshoot",
|
|
85
|
+
|
|
86
|
+
// the deliverable slug — served (group 'naming'), hydrated,
|
|
87
|
+
// emitted by the Layer-A generic loop, threaded by compose into
|
|
88
|
+
// every deliverable save prefix. The studio authors it; the
|
|
89
|
+
// A7 arm derives the account.
|
|
90
|
+
"output_name",
|
|
78
91
|
"document"
|
|
79
92
|
],
|
|
80
93
|
"kind": "custom",
|
|
@@ -182,11 +195,16 @@ export const DECL = {
|
|
|
182
195
|
]
|
|
183
196
|
},
|
|
184
197
|
|
|
185
|
-
//
|
|
186
|
-
//
|
|
187
|
-
//
|
|
188
|
-
//
|
|
189
|
-
//
|
|
198
|
+
// lora to the silveroxides merge" — SILVEROXIDES IS THE MERGE,
|
|
199
|
+
// LIGHTX2V IS NOT). The artifact is silveroxides' OFFICIAL
|
|
200
|
+
// `minimax_h3_fl2v_turbo_silver_dareties_comfy_pruned_v2.safetensors`
|
|
201
|
+
// (silver_official_releases/; catalog row h3_silver_dareties,
|
|
202
|
+
// labelled "Silveroxides DARE-TIES Merge", provisioned below
|
|
203
|
+
|
|
204
|
+
// experimental/ LightX2V-turbo × dareties file (row
|
|
205
|
+
// h3_lightx2v_turbo) as "the merge" — the F34b class again: a
|
|
206
|
+
// merge the catalog never held; that row stays PICK-ONLY under
|
|
207
|
+
// its honest experimental label.
|
|
190
208
|
|
|
191
209
|
|
|
192
210
|
|
|
@@ -202,33 +220,34 @@ export const DECL = {
|
|
|
202
220
|
// payload mirrors a hand pick exactly (declared keys only):
|
|
203
221
|
// SELECTION ONLY (#36). STEPS IS UNSTATED BY DESIGN — the row
|
|
204
222
|
// owns its married 8 (the marriage law: the bag resolves unstated
|
|
205
|
-
// steps, so the default run takes the
|
|
206
|
-
//
|
|
207
|
-
//
|
|
223
|
+
// steps, so the default run takes the merge's full 8-step count,
|
|
224
|
+
// the designed 6–8 band's top — the dareties settings thread);
|
|
225
|
+
// stamping steps would hard-pin what the bag resolves. The
|
|
226
|
+
// file's door is the lane gate (lane_inputs loras +
|
|
208
227
|
// the provision row below): absent on disk, the run refuses with
|
|
209
228
|
// the fetch hint — the web popup's install button and the agent
|
|
210
229
|
// seat both ride that one refusal.
|
|
211
230
|
{
|
|
212
231
|
"id": "standard",
|
|
213
232
|
"label": "Standard",
|
|
214
|
-
"hint": "The default — the
|
|
233
|
+
"hint": "The default — the Silveroxides DARE-TIES Merge at the calibrated 1344×768. Steps derive from the lora marriage (8).",
|
|
215
234
|
"group": "Recipe",
|
|
216
235
|
"wire_defaults": {
|
|
217
|
-
"loras": [{ "id": "
|
|
236
|
+
"loras": [{ "id": "h3_silver_dareties" }],
|
|
218
237
|
},
|
|
219
238
|
"cells": [],
|
|
220
239
|
},
|
|
221
240
|
// DRAFT (operator, this session: "for low resolution, that is
|
|
222
241
|
// good for the draft recipe"): the fast iteration tier — the
|
|
223
|
-
// same
|
|
242
|
+
// same merge bag at draft geometry 768×448. Steps stay
|
|
224
243
|
// unstated (the marriage law).
|
|
225
244
|
{
|
|
226
245
|
"id": "draft",
|
|
227
246
|
"label": "Draft",
|
|
228
|
-
"hint": "Fast iteration — the same merge bag at draft geometry (768×448). Steps derive from the lora marriage (8).",
|
|
247
|
+
"hint": "Fast iteration — the same Silveroxides merge bag at draft geometry (768×448). Steps derive from the lora marriage (8).",
|
|
229
248
|
"group": "Recipe",
|
|
230
249
|
"wire_defaults": {
|
|
231
|
-
"loras": [{ "id": "
|
|
250
|
+
"loras": [{ "id": "h3_silver_dareties" }],
|
|
232
251
|
"width": 768,
|
|
233
252
|
"height": 448,
|
|
234
253
|
},
|
|
@@ -247,10 +266,10 @@ export const DECL = {
|
|
|
247
266
|
{
|
|
248
267
|
"id": "final",
|
|
249
268
|
"label": "Final Cut",
|
|
250
|
-
"hint": "The finishing pass — the merge bag plus the spec's latent handoff: 2.0× 3D latent upscale with a 0.35 refine window on the un-distilled base. Pixel super-res and interpolation stay explicit picks.",
|
|
269
|
+
"hint": "The finishing pass — the Silveroxides merge bag plus the spec's latent handoff: 2.0× 3D latent upscale with a 0.35 refine window on the un-distilled base. Pixel super-res and interpolation stay explicit picks.",
|
|
251
270
|
"group": "Recipe",
|
|
252
271
|
"wire_defaults": {
|
|
253
|
-
"loras": [{ "id": "
|
|
272
|
+
"loras": [{ "id": "h3_silver_dareties" }],
|
|
254
273
|
"second_pass_enabled": true,
|
|
255
274
|
"upscale_route": "latent_2x",
|
|
256
275
|
},
|
|
@@ -286,12 +305,16 @@ export const DECL = {
|
|
|
286
305
|
|
|
287
306
|
|
|
288
307
|
|
|
289
|
-
|
|
290
|
-
//
|
|
291
|
-
//
|
|
308
|
+
|
|
309
|
+
// DEFAULT: the operator's order "switch the default lora to the
|
|
310
|
+
// silveroxides merge" — the official silver_official_releases
|
|
311
|
+
// DARE-TIES merge, not the experimental/ LightX2V file that row
|
|
312
|
+
// named): a run without the file refuses through the lane gate
|
|
313
|
+
// — the web popup's install button and the agent seat both key
|
|
314
|
+
// on that one refusal; "that is how it works".
|
|
292
315
|
// BARE NAME: the gate probes the provision row's own folder
|
|
293
316
|
// (loras/h3) as its last leg; the row below is the fetch truth.
|
|
294
|
-
"loras": "
|
|
317
|
+
"loras": "minimax_h3_fl2v_turbo_silver_dareties_comfy_pruned_v2.safetensors",
|
|
295
318
|
},
|
|
296
319
|
// THE LANE SURFACE (the z-image precedent): exactly the knobs the
|
|
297
320
|
// h3-timeline card serves — the window inputs, the shared render
|
|
@@ -301,13 +324,14 @@ export const DECL = {
|
|
|
301
324
|
// schema.ts and this surface drops it with it, else the claim law
|
|
302
325
|
// names a dead declaration the card cannot carry).
|
|
303
326
|
|
|
304
|
-
|
|
305
|
-
// contract module (one owner —
|
|
306
|
-
//
|
|
307
|
-
// the agreement). The
|
|
308
|
-
//
|
|
309
|
-
//
|
|
310
|
-
// the
|
|
327
|
+
|
|
328
|
+
// spelling, verbatim off the contract module (one owner —
|
|
329
|
+
// FAMILY_LAW IS the data deriveWindowFamily walks; the served
|
|
330
|
+
// copy cannot drift, the contract wall pins the agreement). The
|
|
331
|
+
// lanes still label the studio's family readouts; deadKeys is
|
|
332
|
+
// EMPTY since the t4r arm gained the post chain — no finish key
|
|
333
|
+
// is lane-dead, so the generic composeValidate clause admits
|
|
334
|
+
// every key on every lane.
|
|
311
335
|
"familyLaw": FAMILY_LAW,
|
|
312
336
|
|
|
313
337
|
// the round-48 sampler five): every row below either rides a graph
|
|
@@ -321,7 +345,7 @@ export const DECL = {
|
|
|
321
345
|
// sla_switch is NOT retired — the t4r arm reads it at the pick (31).
|
|
322
346
|
// attention_backend → ModelAttentionBackend (16). interp/sr → the
|
|
323
347
|
// FILM + SeedVR2 pairs behind the second-pass master (17);
|
|
324
|
-
// sharpen_* → the ImageSharpenKJ
|
|
348
|
+
// sharpen_* → the ImageSharpenKJ V3 combo wires (18 + U2 ARMs 48-50). refine_* → the
|
|
325
349
|
// rider loader/scheduler (4/4b/7). Media/refmod/duck/image_name →
|
|
326
350
|
// 19/20/22. k → the window save name (21); noise_seed → RandomNoise
|
|
327
351
|
// per stanza (2/34). STAND-DOWNS, named: fps_seconds is INTERNAL —
|
|
@@ -362,6 +386,11 @@ export const DECL = {
|
|
|
362
386
|
|
|
363
387
|
// knob→seat map mirrors DECL params, and the bag's law is
|
|
364
388
|
// witnessed by tests/reshoot.spec.ts, not by this census.
|
|
389
|
+
|
|
390
|
+
// the family declares the deliverable-naming stem — consumed at
|
|
391
|
+
// the DELIVERABLE save prefixes (film/extend/re-shoot plates via
|
|
392
|
+
// outputNameTailOf, schema.ts), witnessed by tests/output-name.spec.ts.
|
|
393
|
+
"output_name",
|
|
365
394
|
],
|
|
366
395
|
"provisions": [
|
|
367
396
|
{
|
|
@@ -408,6 +437,20 @@ export const DECL = {
|
|
|
408
437
|
"sha256": "7c1f131492e7eddacaac9069a61b81bdd39de5cc96561e677c5eab1cdce5e522",
|
|
409
438
|
"size_bytes": 5207808496
|
|
410
439
|
},
|
|
440
|
+
|
|
441
|
+
// lora to the silveroxides merge" — the OFFICIAL
|
|
442
|
+
// silver_official_releases DARE-TIES merge, pruned v2; the
|
|
443
|
+
// operator named this exact file: "pruned. That one is the same
|
|
444
|
+
// and less file size"). Digest + size: downloaded and
|
|
445
|
+
// sha256-verified against the HF tree API's xet lfs oid
|
|
446
|
+
// (d90eed1d…) — the landed bytes in both trees ARE this pin.
|
|
447
|
+
{
|
|
448
|
+
"name": "minimax_h3_fl2v_turbo_silver_dareties_comfy_pruned_v2.safetensors",
|
|
449
|
+
"url": "https://huggingface.co/silveroxides/MiniMax-H3_tests/resolve/main/silver_official_releases/minimax_h3_fl2v_turbo_silver_dareties_comfy_pruned_v2.safetensors",
|
|
450
|
+
"folder": "loras/h3",
|
|
451
|
+
"sha256": "d90eed1d6b29c78851a8a9332c2581fa90cd2b10b46972a2a20e817f4180dbe9",
|
|
452
|
+
"size_bytes": 765591085
|
|
453
|
+
},
|
|
411
454
|
{
|
|
412
455
|
"name": "minimax_h3_fl2v_lightx2v_v0.1_dareties_v4_step600_comfy_fro.safetensors",
|
|
413
456
|
"url": "https://huggingface.co/silveroxides/MiniMax-H3_tests/resolve/main/minimax_h3_fl2v_lightx2v_v0.1_dareties_v4_step600_comfy_fro.safetensors",
|
|
@@ -559,8 +602,9 @@ export const family = {
|
|
|
559
602
|
export { finalizeH3, H3_T4_STRIP } from "./finalize.js";
|
|
560
603
|
export { renderH3Swap } from "./swap.js";
|
|
561
604
|
export { renderH3Repair } from "./repair.js";
|
|
562
|
-
export {
|
|
563
|
-
export {
|
|
605
|
+
export { renderH3Edit, EDIT_IDENTITY_BOIL_FLOOR, } from "./edit.js";
|
|
606
|
+
export { renderH3Extend, LAST_FRAME_BATCH_INDEX } from "./extend.js";
|
|
607
|
+
export { refineArmed, renderH3Refine, renderH3RefineBag, renderH3RefineCarry, renderH3RefineWindow, renderH3RefineWindows, refineWindowCount, refineWindowStarts, tokenExactCarry, nextTokenExact, lawfulCarryStart, REFINE_UPSCALE_MODEL, REFINE_2X_OOM_FRAMES, REFINE_DEFAULT_CLIP_SECONDS, REFINE_DEFAULT_OVERLAP_FRAMES, REFINE_WORKAROUND_WIDE_FRAMES } from "./refine.js";
|
|
564
608
|
export { refinePlaneSchema, REFINE_PLANE_KEYS } from "./schema.js";
|
|
565
609
|
export { MAX_COMPOSED_WINDOWS, SEAM_OVERLAP_FRAMES } from "./timelineContract.js";
|
|
566
610
|
export { H3_DEFAULT_LORA_ID, h3DefaultLoraEntry } from "./actions.js";
|
package/lib/mods/loras.js
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
export const inject = ['comfyui'];
|
|
2
2
|
export const H3_LORA_ROWS = [
|
|
3
|
+
|
|
4
|
+
// silveroxides merge"; file named by the operator: the pruned v2,
|
|
5
|
+
// "That one is the same and less file size"): silveroxides'
|
|
6
|
+
// OFFICIAL silver_official_releases DARE-TIES merge — the v2
|
|
7
|
+
// attention-config build (his README: the v2 layers are optimized
|
|
8
|
+
// for inference, no attention backend patcher needed). 766 MB
|
|
9
|
+
// class (765,591,085 bytes), sha256 pinned in the provisions
|
|
10
|
+
// table (src/index.ts) — the two trees' bytes verified against
|
|
11
|
+
// the HF xet lfs oid. ──
|
|
12
|
+
{ id: 'h3_silver_dareties', filename: 'h3/minimax_h3_fl2v_turbo_silver_dareties_comfy_pruned_v2.safetensors', source_url: 'https://huggingface.co/silveroxides/MiniMax-H3_tests/resolve/main/silver_official_releases/minimax_h3_fl2v_turbo_silver_dareties_comfy_pruned_v2.safetensors', label: 'Silveroxides DARE-TIES Merge', category: 'distill', default_strength: 0.8, steps: 8, steps_min: 4, steps_max: 8, shift_video: 8 },
|
|
3
13
|
// ── THE MARRIED SHIFT COLUMN (SOTA limb 2, H3_TIMELINE_RESERACH
|
|
4
14
|
|
|
5
15
|
// training contract — the 8-step LightX2V variants and every
|
|
@@ -12,7 +22,11 @@ export const H3_LORA_ROWS = [
|
|
|
12
22
|
// native/default. shift_audio is 3.0 across every source — the
|
|
13
23
|
// schema's own declared default already speaks it (no column). ──
|
|
14
24
|
{ id: 'h3_lightx2v_dareties', filename: 'h3/minimax_h3_fl2v_lightx2v_v0.1_dareties_v4_step600_comfy_fro.safetensors', source_url: 'https://huggingface.co/silveroxides/MiniMax-H3_tests/resolve/main/minimax_h3_fl2v_lightx2v_v0.1_dareties_v4_step600_comfy_fro.safetensors', label: 'LightX2V dareties v4', category: 'distill', default_strength: 0.8, steps: 4, steps_min: 4, steps_max: 4, shift_video: 6 },
|
|
15
|
-
|
|
25
|
+
|
|
26
|
+
// this is silveroxides' EXPERIMENTAL/ LightX2V-turbo × dareties
|
|
27
|
+
// file — the label names it honestly; it is NOT the official
|
|
28
|
+
// silver_dareties merge the default seat holds.
|
|
29
|
+
{ id: 'h3_lightx2v_turbo', filename: 'h3/minimax_h3_fl2v_lightx2v_turbo_4to8step_v0.1-v1.0_768p_v4_step600_dareties.safetensors', source_url: 'https://huggingface.co/silveroxides/MiniMax-H3_tests/resolve/main/experimental/minimax_h3_fl2v_lightx2v_turbo_4to8step_v0.1-v1.0_768p_v4_step600_dareties.safetensors', label: 'LightX2V Turbo × Dareties (silveroxides experimental)', category: 'distill', default_strength: 0.6, steps: 8, steps_min: 4, steps_max: 8, shift_video: 12 },
|
|
16
30
|
{ id: 'h3_turbo4_v1', filename: 'h3/minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_bf16.safetensors', source_url: 'https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_bf16.safetensors', label: 'LightX2V Turbo 4-Step v1.0 (768p)', category: 'distill', default_strength: 1, steps: 4, steps_min: 4, steps_max: 4, shift_video: 6 },
|
|
17
31
|
{ id: 'h3_turbo8_v1', filename: 'h3/minimax_h3_fl2v_turbo_8step_v1.0_comfyui_bf16.safetensors', source_url: 'https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_fl2v_turbo_8step_v1.0_comfyui_bf16.safetensors', label: 'LightX2V Turbo 8-Step v1.0', category: 'distill', default_strength: 1, steps: 8, steps_min: 8, steps_max: 8, shift_video: 12 },
|
|
18
32
|
{ id: 'h3_ref2v_turbo4', filename: 'h3/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors', source_url: 'https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors', label: 'LightX2V Ref Turbo 4-Step v0.1', category: 'distill', default_strength: 1, steps: 4, steps_min: 4, steps_max: 4, shift_video: 12 },
|
package/lib/refine.d.ts
CHANGED
|
@@ -5,19 +5,57 @@ import type { H3Facts } from './actions.js';
|
|
|
5
5
|
* seat carries this same single option — one file, one spelling, no
|
|
6
6
|
* hand-spelled alternatives). */
|
|
7
7
|
export declare const REFINE_UPSCALE_MODEL = "minimax_h3_latent_upscaler_3d_bf16.safetensors";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
15
18
|
export declare const REFINE_2X_OOM_FRAMES = 141;
|
|
16
19
|
|
|
17
20
|
|
|
18
21
|
|
|
19
22
|
|
|
20
|
-
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const REFINE_DEFAULT_CLIP_SECONDS = 2.33;
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
export declare const REGION_REPAIR_GREEN_FRAMES = 362;
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
export declare const REFINE_WORKAROUND_WIDE_FRAMES = 90;
|
|
50
|
+
/** The refine auto-tile's default carried overlap, in frames at the
|
|
51
|
+
* film clock — the film's own seam (SEAM_OVERLAP_FRAMES), which is
|
|
52
|
+
* also token-exact (5, 22, 39 …), so the default auto-tile takes the
|
|
53
|
+
* carry face: the windows chain through the film's own latent
|
|
54
|
+
* continuation across every join. Imported, never hand-typed
|
|
55
|
+
* (refine-window audit D1: the card must never carry a hand-typed
|
|
56
|
+
* copy of a measured constant — and the overlap that matches the
|
|
57
|
+
* generation seam grid is the family contract's own number). */
|
|
58
|
+
export declare const REFINE_DEFAULT_OVERLAP_FRAMES = 22;
|
|
21
59
|
/** The arm predicate: BAG PRESENCE — the same law as the
|
|
22
60
|
* replace/repair/extend/reshoot arms (a commission is armed when
|
|
23
61
|
* its bag is a NON-EMPTY ARRAY). Absent or empty bag = the compose
|
|
@@ -38,9 +76,17 @@ export interface RefineWindowSeat {
|
|
|
38
76
|
/** this window's SaveVideo prefix (the run tree's own spelling) */
|
|
39
77
|
prefix: string;
|
|
40
78
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
79
|
+
/** THE FAMILY PLANE, the five seats every refine window rides: the
|
|
80
|
+
* film's own masked-edit plane (one unet stack with the lora bag,
|
|
81
|
+
* one clip, the two VAEs). The carry face composes it ONCE for the
|
|
82
|
+
* whole film; a standalone window builds its own. */
|
|
83
|
+
export interface RefinePlane {
|
|
84
|
+
readonly sigmaModel: OutputHandle;
|
|
85
|
+
readonly samplerSel: OutputHandle;
|
|
86
|
+
readonly clip: OutputHandle;
|
|
87
|
+
readonly vaeVideo: OutputHandle;
|
|
88
|
+
readonly vaeAudio: OutputHandle;
|
|
89
|
+
}
|
|
44
90
|
|
|
45
91
|
|
|
46
92
|
|
|
@@ -66,8 +112,27 @@ export declare function renderH3RefineWindow(entry: Record<string, unknown>, p:
|
|
|
66
112
|
* — the family plane this refine renders under)
|
|
67
113
|
* @param facts the family's lane facts (unet off the DECL row)
|
|
68
114
|
* @param g the run's graph builder
|
|
69
|
-
* @param runId the run tree's id (the refine filename rides it)
|
|
70
|
-
|
|
115
|
+
* @param runId the run tree's id (the refine filename rides it)
|
|
116
|
+
* @returns the window's SaveVideo passthrough (the bag carrier's
|
|
117
|
+
* N=1 delegate returns the same handle; statement callers ignore it) */
|
|
118
|
+
export declare function renderH3Refine(entry: Record<string, unknown>, p: Record<string, unknown>, facts: H3Facts, g: GraphBuilder, runId: string): OutputHandle;
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
71
136
|
|
|
72
137
|
|
|
73
138
|
|
|
@@ -96,6 +161,79 @@ export declare function renderH3Refine(entry: Record<string, unknown>, p: Record
|
|
|
96
161
|
|
|
97
162
|
|
|
98
163
|
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
export declare const tokenExactCarry: (frames: number) => boolean;
|
|
196
|
+
/** The next token-exact carry at or above a measured span — the rung
|
|
197
|
+
* a refusal names so the fix is a stated number, not a search.
|
|
198
|
+
* @param frames the measured carry in frames
|
|
199
|
+
* @returns the smallest token-exact carry ≥ `frames` */
|
|
200
|
+
export declare const nextTokenExact: (frames: number) => number;
|
|
201
|
+
/** The most truthful start for the next window: the film's own 22 f
|
|
202
|
+
* seam when the previous window can hold it, else the largest
|
|
203
|
+
* token-exact carry the window can still advance from. The refusal
|
|
204
|
+
* names this frame, so the fix is one edited Start seconds.
|
|
205
|
+
* @param prev the previous window's origin (cap + skip at the film clock)
|
|
206
|
+
* @returns the next window's start frame, or null when the window is
|
|
207
|
+
* too short for any carried join */
|
|
208
|
+
export declare const lawfulCarryStart: (prev: {
|
|
209
|
+
cap: number;
|
|
210
|
+
skip: number;
|
|
211
|
+
}) => number | null;
|
|
212
|
+
export declare function renderH3RefineCarry(entries: ReadonlyArray<Record<string, unknown>>, p: Record<string, unknown>, facts: H3Facts, g: GraphBuilder, windows: ReadonlyArray<{
|
|
213
|
+
cap: number;
|
|
214
|
+
skip: number;
|
|
215
|
+
}>, carries: readonly number[], runId: string): OutputHandle;
|
|
216
|
+
export declare function renderH3RefineBag(bag: Array<Record<string, unknown>>, p: Record<string, unknown>, facts: H3Facts, g: GraphBuilder, runId: string): OutputHandle;
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
99
237
|
|
|
100
238
|
|
|
101
239
|
|