@nodaro/shared 3.61.0 → 3.62.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/dist/{chunk-IVXSNW2B.cjs → chunk-2D5LQFV4.cjs} +18 -332
- package/dist/chunk-2D5LQFV4.cjs.map +1 -0
- package/dist/{chunk-XUJC6GHE.cjs → chunk-2HZGDZZN.cjs} +6 -6
- package/dist/{chunk-XUJC6GHE.cjs.map → chunk-2HZGDZZN.cjs.map} +1 -1
- package/dist/{chunk-43TGSZRJ.js → chunk-2QKF7M2Z.js} +3 -3
- package/dist/{chunk-43TGSZRJ.js.map → chunk-2QKF7M2Z.js.map} +1 -1
- package/dist/{chunk-7ARKVJTN.cjs → chunk-2W745U4A.cjs} +228 -355
- package/dist/chunk-2W745U4A.cjs.map +1 -0
- package/dist/{chunk-673E4KYC.js → chunk-3OYO3XCC.js} +70 -6
- package/dist/chunk-3OYO3XCC.js.map +1 -0
- package/dist/{chunk-FMXFHJWX.cjs → chunk-4ZEFP2FQ.cjs} +4 -4
- package/dist/{chunk-FMXFHJWX.cjs.map → chunk-4ZEFP2FQ.cjs.map} +1 -1
- package/dist/{chunk-A3FHTSLB.js → chunk-5YYN5X57.js} +302 -27
- package/dist/chunk-5YYN5X57.js.map +1 -0
- package/dist/{chunk-4KYLNTR7.cjs → chunk-6CSXMWL4.cjs} +4 -4
- package/dist/{chunk-4KYLNTR7.cjs.map → chunk-6CSXMWL4.cjs.map} +1 -1
- package/dist/{chunk-M3SXUUWC.cjs → chunk-6FQBKI2A.cjs} +4 -11
- package/dist/chunk-6FQBKI2A.cjs.map +1 -0
- package/dist/{chunk-G4XWVWRI.js → chunk-6G7NN4S4.js} +5 -4
- package/dist/chunk-6G7NN4S4.js.map +1 -0
- package/dist/{chunk-ZFJN23V4.cjs → chunk-A2PX5IRC.cjs} +4 -4
- package/dist/{chunk-ZFJN23V4.cjs.map → chunk-A2PX5IRC.cjs.map} +1 -1
- package/dist/{chunk-JHTT2V4A.cjs → chunk-AFYTX4AI.cjs} +52 -43
- package/dist/chunk-AFYTX4AI.cjs.map +1 -0
- package/dist/chunk-ALRXY4QH.cjs +13 -0
- package/dist/chunk-ALRXY4QH.cjs.map +1 -0
- package/dist/chunk-AOJ6B7K4.cjs +351 -0
- package/dist/chunk-AOJ6B7K4.cjs.map +1 -0
- package/dist/{chunk-ZDBPQBAA.js → chunk-C7POAYFE.js} +3 -3
- package/dist/{chunk-ZDBPQBAA.js.map → chunk-C7POAYFE.js.map} +1 -1
- package/dist/{chunk-B6BG3LV2.js → chunk-CC4V2B7S.js} +3 -3
- package/dist/{chunk-B6BG3LV2.js.map → chunk-CC4V2B7S.js.map} +1 -1
- package/dist/{chunk-XZKFZMRT.cjs → chunk-CIPPPT7E.cjs} +6 -6
- package/dist/{chunk-XZKFZMRT.cjs.map → chunk-CIPPPT7E.cjs.map} +1 -1
- package/dist/{chunk-6XVHYD5R.js → chunk-CLAKSLXF.js} +4 -9
- package/dist/chunk-CLAKSLXF.js.map +1 -0
- package/dist/chunk-CTANEPMY.js +61 -0
- package/dist/chunk-CTANEPMY.js.map +1 -0
- package/dist/{chunk-WGKAOUEQ.cjs → chunk-D34K455O.cjs} +3 -2
- package/dist/chunk-D34K455O.cjs.map +1 -0
- package/dist/chunk-E2HZTGYX.js +331 -0
- package/dist/chunk-E2HZTGYX.js.map +1 -0
- package/dist/{chunk-RQ4F3AJH.cjs → chunk-G3KVK7OU.cjs} +21 -21
- package/dist/{chunk-RQ4F3AJH.cjs.map → chunk-G3KVK7OU.cjs.map} +1 -1
- package/dist/chunk-G4U3HW6W.js +453 -0
- package/dist/chunk-G4U3HW6W.js.map +1 -0
- package/dist/{chunk-IRQ3SPX7.js → chunk-GSFB537T.js} +3 -3
- package/dist/{chunk-IRQ3SPX7.js.map → chunk-GSFB537T.js.map} +1 -1
- package/dist/chunk-HRY7KGAE.cjs +506 -0
- package/dist/chunk-HRY7KGAE.cjs.map +1 -0
- package/dist/{chunk-VOWJCUMR.js → chunk-I2RQB7VG.js} +3 -3
- package/dist/{chunk-VOWJCUMR.js.map → chunk-I2RQB7VG.js.map} +1 -1
- package/dist/chunk-IDTKF5EX.cjs +48 -0
- package/dist/chunk-IDTKF5EX.cjs.map +1 -0
- package/dist/{chunk-5XRRENHD.cjs → chunk-IWWVPR3W.cjs} +88 -11
- package/dist/chunk-IWWVPR3W.cjs.map +1 -0
- package/dist/{chunk-SCMTN57Y.js → chunk-JJNNM23P.js} +3 -3
- package/dist/{chunk-SCMTN57Y.js.map → chunk-JJNNM23P.js.map} +1 -1
- package/dist/{chunk-ZZGQRRN7.js → chunk-JZGZ26YB.js} +6 -306
- package/dist/chunk-JZGZ26YB.js.map +1 -0
- package/dist/{chunk-XROE3CAS.cjs → chunk-KHH54GRP.cjs} +120 -79
- package/dist/chunk-KHH54GRP.cjs.map +1 -0
- package/dist/{chunk-NJVOJXBS.cjs → chunk-KJSRPHJ2.cjs} +48 -47
- package/dist/chunk-KJSRPHJ2.cjs.map +1 -0
- package/dist/{chunk-FVVD6XY2.js → chunk-KL6GAYTT.js} +13 -4
- package/dist/chunk-KL6GAYTT.js.map +1 -0
- package/dist/{chunk-AFQFGZN7.cjs → chunk-KYMHFVAZ.cjs} +8 -6
- package/dist/chunk-KYMHFVAZ.cjs.map +1 -0
- package/dist/{chunk-F5YEMSNK.cjs → chunk-MYJQELFN.cjs} +320 -26
- package/dist/chunk-MYJQELFN.cjs.map +1 -0
- package/dist/chunk-N5HH46JF.cjs +68 -0
- package/dist/chunk-N5HH46JF.cjs.map +1 -0
- package/dist/{chunk-MQZRQ5LM.cjs → chunk-N7OUQK7E.cjs} +8 -8
- package/dist/{chunk-MQZRQ5LM.cjs.map → chunk-N7OUQK7E.cjs.map} +1 -1
- package/dist/{chunk-UARGJ5IZ.js → chunk-NGKKNSK6.js} +30 -7
- package/dist/chunk-NGKKNSK6.js.map +1 -0
- package/dist/{chunk-SWVGHAYO.js → chunk-O7RZRUMZ.js} +110 -74
- package/dist/chunk-O7RZRUMZ.js.map +1 -0
- package/dist/{chunk-C77F4ZTL.js → chunk-PTD6EDUU.js} +3 -3
- package/dist/{chunk-C77F4ZTL.js.map → chunk-PTD6EDUU.js.map} +1 -1
- package/dist/{chunk-ZNM2LW3D.cjs → chunk-QWYFHQYK.cjs} +78 -53
- package/dist/chunk-QWYFHQYK.cjs.map +1 -0
- package/dist/{chunk-VB2ARGQ6.js → chunk-RGNHHIMN.js} +3 -3
- package/dist/chunk-RGNHHIMN.js.map +1 -0
- package/dist/{chunk-MOMFX32D.js → chunk-S24ZBUB4.js} +194 -299
- package/dist/chunk-S24ZBUB4.js.map +1 -0
- package/dist/{chunk-EWS2VFO4.js → chunk-S5TMRJMX.js} +4 -4
- package/dist/{chunk-EWS2VFO4.js.map → chunk-S5TMRJMX.js.map} +1 -1
- package/dist/chunk-SMOO5FAH.js +10 -0
- package/dist/chunk-SMOO5FAH.js.map +1 -0
- package/dist/{chunk-RUHKBEFF.js → chunk-SYWR5G3T.js} +16 -7
- package/dist/chunk-SYWR5G3T.js.map +1 -0
- package/dist/{chunk-FQXRYPCX.cjs → chunk-TRVWMKNE.cjs} +337 -52
- package/dist/chunk-TRVWMKNE.cjs.map +1 -0
- package/dist/{chunk-LLOIAGFB.js → chunk-UDDVDQMF.js} +292 -35
- package/dist/chunk-UDDVDQMF.js.map +1 -0
- package/dist/{chunk-PONP5J5E.cjs → chunk-V24EPI5N.cjs} +13 -3
- package/dist/chunk-V24EPI5N.cjs.map +1 -0
- package/dist/{chunk-5I4T4QR5.cjs → chunk-VACPZPUA.cjs} +5 -5
- package/dist/{chunk-5I4T4QR5.cjs.map → chunk-VACPZPUA.cjs.map} +1 -1
- package/dist/{chunk-HGI2VKIV.js → chunk-Y6X7UJSD.js} +10 -9
- package/dist/chunk-Y6X7UJSD.js.map +1 -0
- package/dist/chunk-YCXRSWCQ.js +42 -0
- package/dist/chunk-YCXRSWCQ.js.map +1 -0
- package/dist/entries/apps.cjs +44 -44
- package/dist/entries/apps.js +9 -9
- package/dist/entries/credits.cjs +217 -152
- package/dist/entries/credits.d.cts +105 -3
- package/dist/entries/credits.d.ts +105 -3
- package/dist/entries/credits.js +13 -8
- package/dist/entries/entities.cjs +188 -143
- package/dist/entries/entities.d.cts +122 -1
- package/dist/entries/entities.d.ts +122 -1
- package/dist/entries/entities.js +2 -1
- package/dist/entries/llm-models.d.cts +2 -1
- package/dist/entries/llm-models.d.ts +2 -1
- package/dist/entries/media.cjs +92 -87
- package/dist/entries/media.d.cts +11 -1
- package/dist/entries/media.d.ts +11 -1
- package/dist/entries/media.js +3 -2
- package/dist/entries/model-catalog.cjs +195 -103
- package/dist/entries/model-catalog.d.cts +90 -4
- package/dist/entries/model-catalog.d.ts +90 -4
- package/dist/entries/model-catalog.js +5 -5
- package/dist/entries/models.cjs +407 -294
- package/dist/entries/models.d.cts +4 -3
- package/dist/entries/models.d.ts +4 -3
- package/dist/entries/models.js +6 -5
- package/dist/entries/nodes.cjs +241 -233
- package/dist/entries/nodes.d.cts +15 -2
- package/dist/entries/nodes.d.ts +15 -2
- package/dist/entries/nodes.js +10 -10
- package/dist/entries/pipeline.cjs +152 -152
- package/dist/entries/pipeline.d.cts +2 -1
- package/dist/entries/pipeline.d.ts +2 -1
- package/dist/entries/pipeline.js +3 -3
- package/dist/entries/ugc.cjs +71 -71
- package/dist/entries/ugc.js +4 -4
- package/dist/entries/video.cjs +308 -204
- package/dist/entries/video.d.cts +480 -98
- package/dist/entries/video.d.ts +480 -98
- package/dist/entries/video.js +8 -4
- package/dist/entries/workflow.cjs +102 -102
- package/dist/entries/workflow.d.cts +5 -4
- package/dist/entries/workflow.d.ts +5 -4
- package/dist/entries/workflow.js +2 -2
- package/dist/{gpt-image-2-6-BeZdT-pW.d.cts → gpt-image-2-6-jIRQBRag.d.cts} +6 -0
- package/dist/{gpt-image-2-6-BeZdT-pW.d.ts → gpt-image-2-6-jIRQBRag.d.ts} +6 -0
- package/dist/index.cjs +2309 -1886
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +26 -23
- package/dist/{model-catalog-BgSvskgY.d.cts → model-catalog-CCEcv08q.d.cts} +128 -14
- package/dist/{model-catalog-BgSvskgY.d.ts → model-catalog-CCEcv08q.d.ts} +128 -14
- package/dist/{model-constants-DHd9jwQ7.d.ts → model-constants-B88p6XR0.d.ts} +299 -19
- package/dist/{model-constants-DHd9jwQ7.d.cts → model-constants-Cf3zaITt.d.cts} +299 -19
- package/package.json +1 -1
- package/src/__tests__/extend-providers.test.ts +114 -0
- package/src/__tests__/fixtures/mask-composite-quote-parity.json +118 -0
- package/src/__tests__/fixtures/root-exports.baseline.json +68 -0
- package/src/__tests__/gpt-image-2-6-formats.test.ts +4 -1
- package/src/__tests__/grok-video-15-catalog.test.ts +189 -0
- package/src/__tests__/gvp-supported-providers.test.ts +5 -2
- package/src/__tests__/minimax-h3-image.test.ts +140 -0
- package/src/__tests__/model-makers.test.ts +49 -11
- package/src/__tests__/model-tree.test.ts +13 -0
- package/src/__tests__/retired-video-provider.test.ts +15 -5
- package/src/__tests__/seedance-25-catalog-modes.test.ts +1 -1
- package/src/__tests__/seedance-task-type.test.ts +178 -0
- package/src/__tests__/seedream-5-5.test.ts +117 -0
- package/src/__tests__/unit-contract-compose.test.ts +27 -1
- package/src/__tests__/unit-contracts.test.ts +20 -6
- package/src/__tests__/upscale-factors.test.ts +107 -0
- package/src/__tests__/video-character-refs.test.ts +20 -2
- package/src/__tests__/video-collapse-parity.test.ts +19 -0
- package/src/__tests__/video-overlay-geometry.test.ts +68 -0
- package/src/__tests__/video-overlay-layer-plan.test.ts +3 -4
- package/src/__tests__/video-overlay-layouts.test.ts +529 -0
- package/src/__tests__/video-overlay-pricing.test.ts +61 -0
- package/src/__tests__/video-overlay-validate.test.ts +128 -0
- package/src/__tests__/video-overlay-wired-kind.test.ts +207 -0
- package/src/__tests__/video-overlay.test.ts +280 -194
- package/src/__tests__/video-ref-limits.test.ts +2 -1
- package/src/__tests__/video-reference-only.test.ts +6 -2
- package/src/__tests__/video-start-frame-only.test.ts +98 -0
- package/src/__tests__/wired-character-names.test.ts +220 -0
- package/src/credit-estimators/index.ts +8 -0
- package/src/credit-estimators/video-overlay.ts +70 -0
- package/src/credit-identifiers.ts +94 -1
- package/src/entity-image-url.ts +21 -0
- package/src/entries/credits.ts +14 -0
- package/src/entries/entities.ts +14 -0
- package/src/entries/model-catalog.ts +35 -1
- package/src/entries/models.ts +34 -0
- package/src/entries/nodes.ts +2 -0
- package/src/entries/video.ts +6 -0
- package/src/generated/unit-contracts.ts +8 -1
- package/src/gpt-image-2-6.ts +6 -0
- package/src/input-image-pricing.ts +76 -0
- package/src/mask-composite.ts +11 -0
- package/src/minimax-h3-image.ts +61 -0
- package/src/model-catalog.ts +355 -37
- package/src/model-constants.ts +590 -32
- package/src/node-default-mappings.ts +12 -2
- package/src/node-execution-state.ts +4 -3
- package/src/producer-types.ts +23 -1
- package/src/seedance-task-type.ts +37 -0
- package/src/seedream-5-5.ts +45 -0
- package/src/unit-contract-compose.ts +4 -1
- package/src/upscale-factors.ts +111 -0
- package/src/video-character-refs.ts +7 -4
- package/src/video-overlay-geometry.ts +99 -0
- package/src/video-overlay-input.ts +25 -0
- package/src/video-overlay-layout-ids.ts +48 -0
- package/src/video-overlay-layouts.ts +315 -0
- package/src/video-overlay-validate.ts +223 -0
- package/src/video-overlay-video-layers.ts +304 -0
- package/src/video-overlay.ts +165 -297
- package/src/video-ui-defaults.ts +8 -6
- package/src/wired-character-names.ts +202 -0
- package/dist/chunk-5XRRENHD.cjs.map +0 -1
- package/dist/chunk-673E4KYC.js.map +0 -1
- package/dist/chunk-6XVHYD5R.js.map +0 -1
- package/dist/chunk-7ARKVJTN.cjs.map +0 -1
- package/dist/chunk-7WGKP3EU.js +0 -23
- package/dist/chunk-7WGKP3EU.js.map +0 -1
- package/dist/chunk-A3FHTSLB.js.map +0 -1
- package/dist/chunk-AFQFGZN7.cjs.map +0 -1
- package/dist/chunk-F5YEMSNK.cjs.map +0 -1
- package/dist/chunk-FQXRYPCX.cjs.map +0 -1
- package/dist/chunk-FVVD6XY2.js.map +0 -1
- package/dist/chunk-G4XWVWRI.js.map +0 -1
- package/dist/chunk-HGI2VKIV.js.map +0 -1
- package/dist/chunk-IVXSNW2B.cjs.map +0 -1
- package/dist/chunk-JHTT2V4A.cjs.map +0 -1
- package/dist/chunk-KHZAQGRP.js +0 -17
- package/dist/chunk-KHZAQGRP.js.map +0 -1
- package/dist/chunk-LLOIAGFB.js.map +0 -1
- package/dist/chunk-M3SXUUWC.cjs.map +0 -1
- package/dist/chunk-MOMFX32D.js.map +0 -1
- package/dist/chunk-NCOGGRRP.cjs +0 -27
- package/dist/chunk-NCOGGRRP.cjs.map +0 -1
- package/dist/chunk-NJVOJXBS.cjs.map +0 -1
- package/dist/chunk-PONP5J5E.cjs.map +0 -1
- package/dist/chunk-RUHKBEFF.js.map +0 -1
- package/dist/chunk-SWVGHAYO.js.map +0 -1
- package/dist/chunk-UARGJ5IZ.js.map +0 -1
- package/dist/chunk-VB2ARGQ6.js.map +0 -1
- package/dist/chunk-WGKAOUEQ.cjs.map +0 -1
- package/dist/chunk-XROE3CAS.cjs.map +0 -1
- package/dist/chunk-ZLDFPVVI.cjs +0 -19
- package/dist/chunk-ZLDFPVVI.cjs.map +0 -1
- package/dist/chunk-ZNM2LW3D.cjs.map +0 -1
- package/dist/chunk-ZZGQRRN7.js.map +0 -1
|
@@ -278,6 +278,127 @@ declare function parseCharacterMentionToken(text: string, _knownCharacterSlugs?:
|
|
|
278
278
|
/** Find all @-mentions in a prompt that match a known character slug. */
|
|
279
279
|
declare function findCharacterMentionTokens(prompt: string, knownCharacterSlugs: readonly string[]): CharacterMentionTokenInfo[];
|
|
280
280
|
|
|
281
|
+
/**
|
|
282
|
+
* The label a new Character node is created with (its node definition's
|
|
283
|
+
* `label` and `defaultData.label` read this constant). It is the node's TYPE
|
|
284
|
+
* name, not a character's name: a node still carrying it is unnamed.
|
|
285
|
+
*/
|
|
286
|
+
declare const CHARACTER_NODE_DEFAULT_LABEL = "Character Asset";
|
|
287
|
+
/**
|
|
288
|
+
* Earlier defaults a Character node was created with, also read as "unnamed".
|
|
289
|
+
* "Character" was the default label from 2026-02-03 until 2026-06-21, so the
|
|
290
|
+
* graphs saved in that window carry it on every node nobody named.
|
|
291
|
+
*/
|
|
292
|
+
declare const CHARACTER_NODE_RETIRED_DEFAULT_LABELS: readonly string[];
|
|
293
|
+
/** An unnamed wired character is called this, then its number: "Character 1". */
|
|
294
|
+
declare const UNNAMED_CHARACTER_NAME_PREFIX = "Character";
|
|
295
|
+
/**
|
|
296
|
+
* The name a Character node was GIVEN: its `characterName`, else a label
|
|
297
|
+
* someone typed, trimmed. A label equal to the default (or a retired default)
|
|
298
|
+
* is no name, and neither is a value of only spaces, so an unnamed node
|
|
299
|
+
* returns "". Never use it alone to name a WIRED character: two unnamed nodes
|
|
300
|
+
* would both be "" — read {@link wiredCharacterNames} instead.
|
|
301
|
+
*/
|
|
302
|
+
declare function characterOwnName(data: unknown): string;
|
|
303
|
+
/** One wire into the consuming node, as {@link wiredCharacterNames} reads it. */
|
|
304
|
+
interface WiredCharacterSource {
|
|
305
|
+
/** The source node's id (the key of the returned map). */
|
|
306
|
+
readonly key: string;
|
|
307
|
+
readonly type: string | null | undefined;
|
|
308
|
+
readonly sourceHandle?: string | null;
|
|
309
|
+
readonly data: unknown;
|
|
310
|
+
}
|
|
311
|
+
/** What a wired Character node is called by the node it feeds. */
|
|
312
|
+
interface WiredCharacterName {
|
|
313
|
+
/** The name the model reads (the identity bullet, the subject's name). */
|
|
314
|
+
readonly name: string;
|
|
315
|
+
/**
|
|
316
|
+
* Its @-mention slug, never empty: the name slugified, or `character-N` for
|
|
317
|
+
* a node numbered in the unnamed sequence (an unnamed node, or a typed name
|
|
318
|
+
* with no Latin letter or digit such as "マヤ").
|
|
319
|
+
*/
|
|
320
|
+
readonly slug: string;
|
|
321
|
+
/** True when the node had no name of its own (its name is "Character N"). */
|
|
322
|
+
readonly unnamed: boolean;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* The name and slug of every Character node wired into ONE consuming node, by
|
|
326
|
+
* source key — the one rule the editor's Run, the workflow run and the editor's
|
|
327
|
+
* panels all read, so they name the same characters the same way.
|
|
328
|
+
*
|
|
329
|
+
* - Only a wire that delivers a character counts (a Character node wired by
|
|
330
|
+
* its plain `image` pip is an image, not a character); a node wired twice
|
|
331
|
+
* counts once, at its first wire.
|
|
332
|
+
* - A node with a name of its own ({@link characterOwnName}) keeps it. Two
|
|
333
|
+
* nodes with the same typed name are the same character, as before.
|
|
334
|
+
* - Each unnamed node is its OWN character, numbered in wire order among the
|
|
335
|
+
* unnamed ones: "Character 1", "Character 2", …, skipping a number whose
|
|
336
|
+
* name (by slug) another wired character already has. Unnamed nodes are
|
|
337
|
+
* never merged.
|
|
338
|
+
* - A typed name the slug cannot spell ("マヤ", "מאיה", "마야" — no Latin
|
|
339
|
+
* letter or digit) is a real name: the model reads it as typed, and the node
|
|
340
|
+
* takes the next number of the same sequence as its key (`character-N`), so
|
|
341
|
+
* it is included on every path and no two keys collide.
|
|
342
|
+
*
|
|
343
|
+
* `sources` are the consuming node's incoming wires in edge-array order.
|
|
344
|
+
*/
|
|
345
|
+
declare function wiredCharacterNames(sources: readonly WiredCharacterSource[]): Map<string, WiredCharacterName>;
|
|
346
|
+
/**
|
|
347
|
+
* The slugs an unnamed character's mentions were written with before it was
|
|
348
|
+
* numbered: its default label's ("Character Asset") and the retired default's
|
|
349
|
+
* ("Character").
|
|
350
|
+
*/
|
|
351
|
+
declare const RETIRED_CHARACTER_MENTION_SLUGS: readonly string[];
|
|
352
|
+
/**
|
|
353
|
+
* A mention saved before unnamed characters were numbered — `@character-asset:1`,
|
|
354
|
+
* `@character:2:smile`, any index, variant, mode or lock — read as the ONE
|
|
355
|
+
* unnamed character wired into the node: its slug replaces the old one. With
|
|
356
|
+
* no unnamed character, or two or more, the text is left as it is (it stays
|
|
357
|
+
* plain text, as nothing resolves it), and so is a retired slug a wired
|
|
358
|
+
* character really goes by. Both run paths apply it to the prompt before they
|
|
359
|
+
* resolve its mentions.
|
|
360
|
+
*/
|
|
361
|
+
declare function aliasRetiredCharacterMentions<T extends string | undefined>(text: T, names: ReadonlyMap<string, WiredCharacterName>): T;
|
|
362
|
+
/**
|
|
363
|
+
* {@link wiredCharacterNames} over a graph: the Character nodes wired into
|
|
364
|
+
* `consumerId`, keyed by node id. Pass the edges the run reads (a wire leaving
|
|
365
|
+
* a Teleport already re-pointed at its origin, as both run paths do).
|
|
366
|
+
*/
|
|
367
|
+
declare function wiredCharacterNamesOf(consumerId: string, nodes: ReadonlyArray<{
|
|
368
|
+
readonly id: string;
|
|
369
|
+
readonly type?: string | null;
|
|
370
|
+
readonly data?: unknown;
|
|
371
|
+
}>, edges: ReadonlyArray<{
|
|
372
|
+
readonly source: string;
|
|
373
|
+
readonly target: string;
|
|
374
|
+
readonly sourceHandle?: string | null;
|
|
375
|
+
}>): Map<string, WiredCharacterName>;
|
|
376
|
+
/**
|
|
377
|
+
* The key a Character node's OWN elements (held prop, styling, …) are filed
|
|
378
|
+
* under for the node it feeds, so they land on that character's identity
|
|
379
|
+
* bullet: its slug in `names`; else — a node wired only by its plain `image`
|
|
380
|
+
* pip, which `names` leaves out — its own name's slug (the same typed name is
|
|
381
|
+
* the same character); else a key of its own that no character carries, so an
|
|
382
|
+
* unnamed node's elements are never merged into another character's.
|
|
383
|
+
*/
|
|
384
|
+
declare function wiredCharacterKey(names: ReadonlyMap<string, WiredCharacterName>, nodeId: string, data: unknown): string;
|
|
385
|
+
/** The wired character whose slug is `slug`, if any (first in wire order). */
|
|
386
|
+
declare function wiredCharacterBySlug(names: ReadonlyMap<string, WiredCharacterName>, slug: string): {
|
|
387
|
+
readonly key: string;
|
|
388
|
+
readonly named: WiredCharacterName;
|
|
389
|
+
} | undefined;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* The image an entity node (character / face / object / creature / location)
|
|
393
|
+
* gives out: the asset the user starred as its default, else its active
|
|
394
|
+
* generated result, else its source image — the image its card shows. It is
|
|
395
|
+
* the node's output on both run paths, and it is a wired Character's portrait
|
|
396
|
+
* (its identity reference, a Kling subject's first image), so the character
|
|
397
|
+
* and its output are one image and one image goes out. `||`, so an empty
|
|
398
|
+
* string falls through.
|
|
399
|
+
*/
|
|
400
|
+
declare function entityImageUrl(data: unknown): string | undefined;
|
|
401
|
+
|
|
281
402
|
/**
|
|
282
403
|
* Single source of truth for a character's `{name, url}[]` variant-asset buckets
|
|
283
404
|
* — the image/video variants that are expandable into connected references and
|
|
@@ -1380,4 +1501,4 @@ declare function entityHydrationColumns(kind: EntityNodeKind): string[];
|
|
|
1380
1501
|
/** Every scalar `kind` actually has, shared plus its own. */
|
|
1381
1502
|
declare function entityScalarFields(kind: EntityNodeKind): ReadonlyArray<readonly [string, string]>;
|
|
1382
1503
|
|
|
1383
|
-
export { AGGREGATE_LANE_SOURCE_TYPES, ALA_CARTE_BOARDS, type AlaCarteBoard, BOARD_TO_ASSET_TYPE, BOARD_TO_COLUMN, BOARD_VARIANTS, type BoardEntityKind, type BoardPromptContext, type BoardTemplate, CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_PICKER_DISPLAY_ORDER, CHARACTER_VARIANT_ASSET_BUCKETS, type CharacterAspectRatio, type CharacterAssetTypeForAspect, type CharacterMentionTokenInfo, type CharacterVariantAssetBucket, type CharacterVariantAssetItem, type CustomEntry, DEFAULT_CARRIED_FRACTION, DEFAULT_LOCATION_USAGE_MODE, DEFAULT_PANEL_COUNT, DEFAULT_SECTIONS, DETAIL_VARIANTS, ENTITY_ASPECT_DEFAULTS, ENTITY_BUCKET_FIELDS, ENTITY_DB_ID_FIELD, ENTITY_IMAGE_HANDLE_TYPES, ENTITY_KIND_SCALAR_FIELDS, ENTITY_NAME_FIELD, ENTITY_NODE_KINDS, ENTITY_SCALAR_FIELDS, ENTITY_SECTIONS, ENTITY_TABLE, type EntityKind, type EntityMentionTokenInfo, type EntityNodeKind, type EntityReferenceInput, type EntityStudioKind, type ExtraRefCharacterContext, type ExtraRefInput, FEATURED_ENTITIES, type FeaturedEntity, IMAGE_REF_TYPES, type ImageMentionTokenInfo, KEEPER_CATALOG_CATEGORY_MAX, KEEPER_CATALOG_SORT_MAX, LOCATION_USAGE_MODES, type LocationMentionTokenInfo, type LocationUsageMode, MAX_CUSTOM_ENTRIES_PER_BOARD, MAX_PANELS_PER_SHEET, MOTION_COLUMN, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OUTPUT_FORMATS, OUTPUT_PIP_EFFECTIVE_TYPES, type ObjectAspectRatio, type ObjectAssetTypeForAspect, type OutputFormat, PASSTHROUGH_TYPES, PRESET_LABELS, type PanelGenRequest, type PanelRequest, type PanelSource, type PresetEntry, REFERENCE_BOARD_PROVIDERS, REFERENCE_BOARD_TEMPLATES, REFERENCE_ROLE_PRESETS, type ReferenceBoardProvider, type ReferenceSheet, type ResolveCharacterAspectOptions, type ResolveObjectAspectOptions, SECTION_BOARD, SECTION_KINDS, SHEET_ASPECTS, SHEET_BACKGROUNDS, SHEET_PRESETS, SHEET_SKINS, SHEET_TYPES, STRUCTURAL_SECTIONS, SURROUND_DIRECTIONS, type SectionKind, type SheetAspect, type SheetBackground, type SheetCostEstimate, type SheetEntry, type SheetFlavour, type SheetGenerationPlan, type SheetPreset, type SheetPresetId, type SheetSection, type SheetSkin, type SheetTextData, type SheetType, type SurroundDirection, type Swatch, TILT_CARRIED_FRACTION, UsageMode, WARDROBE_VARIANTS, aspectRatioToNumber, buildBoardPrompt, buildPanelPrompt, characterBoardItems, characterBucketDisplayRank, characterMentionSlug, characterMentionableAssetArrays, characterSheetRefItems, characterVariantAssetArrays, collectAncestorRefs, defaultCarriedFraction, defaultRoleForSource, entityHydrationColumns, entityMentionSlug, entityMentionSlugForRef, entityScalarFields, estimateSheetCost, expandExtraRefsToConnectedReferences, findCharacterMentionTokens, findEntityMentionTokens, findImageMentionTokens, findLocationMentionTokens, firstSightExtraRole, getFeaturedEntities, imageMentionSlug, imageMentionSlugForRef, isCharacterAspectRatio, isLocationUsageMode, isObjectAspectRatio, isTiltDirection, knownEntitySlugsFromRefs, knownImageSlugsFromRefs, listBoardTemplates, locationMentionSlug, locationUsageModeLabel, matchVariant, normalizeRoleSlug, outputPipSourceType, parseCharacterMentionToken, parseEntityMentionToken, parseImageMentionToken, parseLocationMentionToken, planSheetGeneration, planSheetPanels, presetEntries, referenceSheetCreditId, resolveCharacterAspectRatio, resolveDefaultRole, resolveEffectiveSourceType, resolveEntityAspect, resolveObjectAspectRatio, resolveSheetSections, roleToPhrase, sanitizeRole, sortCharacterEntriesForDisplay, sourceRefKey, toConnectedReference, toConnectedReferences };
|
|
1504
|
+
export { AGGREGATE_LANE_SOURCE_TYPES, ALA_CARTE_BOARDS, type AlaCarteBoard, BOARD_TO_ASSET_TYPE, BOARD_TO_COLUMN, BOARD_VARIANTS, type BoardEntityKind, type BoardPromptContext, type BoardTemplate, CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_NODE_DEFAULT_LABEL, CHARACTER_NODE_RETIRED_DEFAULT_LABELS, CHARACTER_PICKER_DISPLAY_ORDER, CHARACTER_VARIANT_ASSET_BUCKETS, type CharacterAspectRatio, type CharacterAssetTypeForAspect, type CharacterMentionTokenInfo, type CharacterVariantAssetBucket, type CharacterVariantAssetItem, type CustomEntry, DEFAULT_CARRIED_FRACTION, DEFAULT_LOCATION_USAGE_MODE, DEFAULT_PANEL_COUNT, DEFAULT_SECTIONS, DETAIL_VARIANTS, ENTITY_ASPECT_DEFAULTS, ENTITY_BUCKET_FIELDS, ENTITY_DB_ID_FIELD, ENTITY_IMAGE_HANDLE_TYPES, ENTITY_KIND_SCALAR_FIELDS, ENTITY_NAME_FIELD, ENTITY_NODE_KINDS, ENTITY_SCALAR_FIELDS, ENTITY_SECTIONS, ENTITY_TABLE, type EntityKind, type EntityMentionTokenInfo, type EntityNodeKind, type EntityReferenceInput, type EntityStudioKind, type ExtraRefCharacterContext, type ExtraRefInput, FEATURED_ENTITIES, type FeaturedEntity, IMAGE_REF_TYPES, type ImageMentionTokenInfo, KEEPER_CATALOG_CATEGORY_MAX, KEEPER_CATALOG_SORT_MAX, LOCATION_USAGE_MODES, type LocationMentionTokenInfo, type LocationUsageMode, MAX_CUSTOM_ENTRIES_PER_BOARD, MAX_PANELS_PER_SHEET, MOTION_COLUMN, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OUTPUT_FORMATS, OUTPUT_PIP_EFFECTIVE_TYPES, type ObjectAspectRatio, type ObjectAssetTypeForAspect, type OutputFormat, PASSTHROUGH_TYPES, PRESET_LABELS, type PanelGenRequest, type PanelRequest, type PanelSource, type PresetEntry, REFERENCE_BOARD_PROVIDERS, REFERENCE_BOARD_TEMPLATES, REFERENCE_ROLE_PRESETS, RETIRED_CHARACTER_MENTION_SLUGS, type ReferenceBoardProvider, type ReferenceSheet, type ResolveCharacterAspectOptions, type ResolveObjectAspectOptions, SECTION_BOARD, SECTION_KINDS, SHEET_ASPECTS, SHEET_BACKGROUNDS, SHEET_PRESETS, SHEET_SKINS, SHEET_TYPES, STRUCTURAL_SECTIONS, SURROUND_DIRECTIONS, type SectionKind, type SheetAspect, type SheetBackground, type SheetCostEstimate, type SheetEntry, type SheetFlavour, type SheetGenerationPlan, type SheetPreset, type SheetPresetId, type SheetSection, type SheetSkin, type SheetTextData, type SheetType, type SurroundDirection, type Swatch, TILT_CARRIED_FRACTION, UNNAMED_CHARACTER_NAME_PREFIX, UsageMode, WARDROBE_VARIANTS, type WiredCharacterName, type WiredCharacterSource, aliasRetiredCharacterMentions, aspectRatioToNumber, buildBoardPrompt, buildPanelPrompt, characterBoardItems, characterBucketDisplayRank, characterMentionSlug, characterMentionableAssetArrays, characterOwnName, characterSheetRefItems, characterVariantAssetArrays, collectAncestorRefs, defaultCarriedFraction, defaultRoleForSource, entityHydrationColumns, entityImageUrl, entityMentionSlug, entityMentionSlugForRef, entityScalarFields, estimateSheetCost, expandExtraRefsToConnectedReferences, findCharacterMentionTokens, findEntityMentionTokens, findImageMentionTokens, findLocationMentionTokens, firstSightExtraRole, getFeaturedEntities, imageMentionSlug, imageMentionSlugForRef, isCharacterAspectRatio, isLocationUsageMode, isObjectAspectRatio, isTiltDirection, knownEntitySlugsFromRefs, knownImageSlugsFromRefs, listBoardTemplates, locationMentionSlug, locationUsageModeLabel, matchVariant, normalizeRoleSlug, outputPipSourceType, parseCharacterMentionToken, parseEntityMentionToken, parseImageMentionToken, parseLocationMentionToken, planSheetGeneration, planSheetPanels, presetEntries, referenceSheetCreditId, resolveCharacterAspectRatio, resolveDefaultRole, resolveEffectiveSourceType, resolveEntityAspect, resolveObjectAspectRatio, resolveSheetSections, roleToPhrase, sanitizeRole, sortCharacterEntriesForDisplay, sourceRefKey, toConnectedReference, toConnectedReferences, wiredCharacterBySlug, wiredCharacterKey, wiredCharacterNames, wiredCharacterNamesOf };
|
|
@@ -278,6 +278,127 @@ declare function parseCharacterMentionToken(text: string, _knownCharacterSlugs?:
|
|
|
278
278
|
/** Find all @-mentions in a prompt that match a known character slug. */
|
|
279
279
|
declare function findCharacterMentionTokens(prompt: string, knownCharacterSlugs: readonly string[]): CharacterMentionTokenInfo[];
|
|
280
280
|
|
|
281
|
+
/**
|
|
282
|
+
* The label a new Character node is created with (its node definition's
|
|
283
|
+
* `label` and `defaultData.label` read this constant). It is the node's TYPE
|
|
284
|
+
* name, not a character's name: a node still carrying it is unnamed.
|
|
285
|
+
*/
|
|
286
|
+
declare const CHARACTER_NODE_DEFAULT_LABEL = "Character Asset";
|
|
287
|
+
/**
|
|
288
|
+
* Earlier defaults a Character node was created with, also read as "unnamed".
|
|
289
|
+
* "Character" was the default label from 2026-02-03 until 2026-06-21, so the
|
|
290
|
+
* graphs saved in that window carry it on every node nobody named.
|
|
291
|
+
*/
|
|
292
|
+
declare const CHARACTER_NODE_RETIRED_DEFAULT_LABELS: readonly string[];
|
|
293
|
+
/** An unnamed wired character is called this, then its number: "Character 1". */
|
|
294
|
+
declare const UNNAMED_CHARACTER_NAME_PREFIX = "Character";
|
|
295
|
+
/**
|
|
296
|
+
* The name a Character node was GIVEN: its `characterName`, else a label
|
|
297
|
+
* someone typed, trimmed. A label equal to the default (or a retired default)
|
|
298
|
+
* is no name, and neither is a value of only spaces, so an unnamed node
|
|
299
|
+
* returns "". Never use it alone to name a WIRED character: two unnamed nodes
|
|
300
|
+
* would both be "" — read {@link wiredCharacterNames} instead.
|
|
301
|
+
*/
|
|
302
|
+
declare function characterOwnName(data: unknown): string;
|
|
303
|
+
/** One wire into the consuming node, as {@link wiredCharacterNames} reads it. */
|
|
304
|
+
interface WiredCharacterSource {
|
|
305
|
+
/** The source node's id (the key of the returned map). */
|
|
306
|
+
readonly key: string;
|
|
307
|
+
readonly type: string | null | undefined;
|
|
308
|
+
readonly sourceHandle?: string | null;
|
|
309
|
+
readonly data: unknown;
|
|
310
|
+
}
|
|
311
|
+
/** What a wired Character node is called by the node it feeds. */
|
|
312
|
+
interface WiredCharacterName {
|
|
313
|
+
/** The name the model reads (the identity bullet, the subject's name). */
|
|
314
|
+
readonly name: string;
|
|
315
|
+
/**
|
|
316
|
+
* Its @-mention slug, never empty: the name slugified, or `character-N` for
|
|
317
|
+
* a node numbered in the unnamed sequence (an unnamed node, or a typed name
|
|
318
|
+
* with no Latin letter or digit such as "マヤ").
|
|
319
|
+
*/
|
|
320
|
+
readonly slug: string;
|
|
321
|
+
/** True when the node had no name of its own (its name is "Character N"). */
|
|
322
|
+
readonly unnamed: boolean;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* The name and slug of every Character node wired into ONE consuming node, by
|
|
326
|
+
* source key — the one rule the editor's Run, the workflow run and the editor's
|
|
327
|
+
* panels all read, so they name the same characters the same way.
|
|
328
|
+
*
|
|
329
|
+
* - Only a wire that delivers a character counts (a Character node wired by
|
|
330
|
+
* its plain `image` pip is an image, not a character); a node wired twice
|
|
331
|
+
* counts once, at its first wire.
|
|
332
|
+
* - A node with a name of its own ({@link characterOwnName}) keeps it. Two
|
|
333
|
+
* nodes with the same typed name are the same character, as before.
|
|
334
|
+
* - Each unnamed node is its OWN character, numbered in wire order among the
|
|
335
|
+
* unnamed ones: "Character 1", "Character 2", …, skipping a number whose
|
|
336
|
+
* name (by slug) another wired character already has. Unnamed nodes are
|
|
337
|
+
* never merged.
|
|
338
|
+
* - A typed name the slug cannot spell ("マヤ", "מאיה", "마야" — no Latin
|
|
339
|
+
* letter or digit) is a real name: the model reads it as typed, and the node
|
|
340
|
+
* takes the next number of the same sequence as its key (`character-N`), so
|
|
341
|
+
* it is included on every path and no two keys collide.
|
|
342
|
+
*
|
|
343
|
+
* `sources` are the consuming node's incoming wires in edge-array order.
|
|
344
|
+
*/
|
|
345
|
+
declare function wiredCharacterNames(sources: readonly WiredCharacterSource[]): Map<string, WiredCharacterName>;
|
|
346
|
+
/**
|
|
347
|
+
* The slugs an unnamed character's mentions were written with before it was
|
|
348
|
+
* numbered: its default label's ("Character Asset") and the retired default's
|
|
349
|
+
* ("Character").
|
|
350
|
+
*/
|
|
351
|
+
declare const RETIRED_CHARACTER_MENTION_SLUGS: readonly string[];
|
|
352
|
+
/**
|
|
353
|
+
* A mention saved before unnamed characters were numbered — `@character-asset:1`,
|
|
354
|
+
* `@character:2:smile`, any index, variant, mode or lock — read as the ONE
|
|
355
|
+
* unnamed character wired into the node: its slug replaces the old one. With
|
|
356
|
+
* no unnamed character, or two or more, the text is left as it is (it stays
|
|
357
|
+
* plain text, as nothing resolves it), and so is a retired slug a wired
|
|
358
|
+
* character really goes by. Both run paths apply it to the prompt before they
|
|
359
|
+
* resolve its mentions.
|
|
360
|
+
*/
|
|
361
|
+
declare function aliasRetiredCharacterMentions<T extends string | undefined>(text: T, names: ReadonlyMap<string, WiredCharacterName>): T;
|
|
362
|
+
/**
|
|
363
|
+
* {@link wiredCharacterNames} over a graph: the Character nodes wired into
|
|
364
|
+
* `consumerId`, keyed by node id. Pass the edges the run reads (a wire leaving
|
|
365
|
+
* a Teleport already re-pointed at its origin, as both run paths do).
|
|
366
|
+
*/
|
|
367
|
+
declare function wiredCharacterNamesOf(consumerId: string, nodes: ReadonlyArray<{
|
|
368
|
+
readonly id: string;
|
|
369
|
+
readonly type?: string | null;
|
|
370
|
+
readonly data?: unknown;
|
|
371
|
+
}>, edges: ReadonlyArray<{
|
|
372
|
+
readonly source: string;
|
|
373
|
+
readonly target: string;
|
|
374
|
+
readonly sourceHandle?: string | null;
|
|
375
|
+
}>): Map<string, WiredCharacterName>;
|
|
376
|
+
/**
|
|
377
|
+
* The key a Character node's OWN elements (held prop, styling, …) are filed
|
|
378
|
+
* under for the node it feeds, so they land on that character's identity
|
|
379
|
+
* bullet: its slug in `names`; else — a node wired only by its plain `image`
|
|
380
|
+
* pip, which `names` leaves out — its own name's slug (the same typed name is
|
|
381
|
+
* the same character); else a key of its own that no character carries, so an
|
|
382
|
+
* unnamed node's elements are never merged into another character's.
|
|
383
|
+
*/
|
|
384
|
+
declare function wiredCharacterKey(names: ReadonlyMap<string, WiredCharacterName>, nodeId: string, data: unknown): string;
|
|
385
|
+
/** The wired character whose slug is `slug`, if any (first in wire order). */
|
|
386
|
+
declare function wiredCharacterBySlug(names: ReadonlyMap<string, WiredCharacterName>, slug: string): {
|
|
387
|
+
readonly key: string;
|
|
388
|
+
readonly named: WiredCharacterName;
|
|
389
|
+
} | undefined;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* The image an entity node (character / face / object / creature / location)
|
|
393
|
+
* gives out: the asset the user starred as its default, else its active
|
|
394
|
+
* generated result, else its source image — the image its card shows. It is
|
|
395
|
+
* the node's output on both run paths, and it is a wired Character's portrait
|
|
396
|
+
* (its identity reference, a Kling subject's first image), so the character
|
|
397
|
+
* and its output are one image and one image goes out. `||`, so an empty
|
|
398
|
+
* string falls through.
|
|
399
|
+
*/
|
|
400
|
+
declare function entityImageUrl(data: unknown): string | undefined;
|
|
401
|
+
|
|
281
402
|
/**
|
|
282
403
|
* Single source of truth for a character's `{name, url}[]` variant-asset buckets
|
|
283
404
|
* — the image/video variants that are expandable into connected references and
|
|
@@ -1380,4 +1501,4 @@ declare function entityHydrationColumns(kind: EntityNodeKind): string[];
|
|
|
1380
1501
|
/** Every scalar `kind` actually has, shared plus its own. */
|
|
1381
1502
|
declare function entityScalarFields(kind: EntityNodeKind): ReadonlyArray<readonly [string, string]>;
|
|
1382
1503
|
|
|
1383
|
-
export { AGGREGATE_LANE_SOURCE_TYPES, ALA_CARTE_BOARDS, type AlaCarteBoard, BOARD_TO_ASSET_TYPE, BOARD_TO_COLUMN, BOARD_VARIANTS, type BoardEntityKind, type BoardPromptContext, type BoardTemplate, CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_PICKER_DISPLAY_ORDER, CHARACTER_VARIANT_ASSET_BUCKETS, type CharacterAspectRatio, type CharacterAssetTypeForAspect, type CharacterMentionTokenInfo, type CharacterVariantAssetBucket, type CharacterVariantAssetItem, type CustomEntry, DEFAULT_CARRIED_FRACTION, DEFAULT_LOCATION_USAGE_MODE, DEFAULT_PANEL_COUNT, DEFAULT_SECTIONS, DETAIL_VARIANTS, ENTITY_ASPECT_DEFAULTS, ENTITY_BUCKET_FIELDS, ENTITY_DB_ID_FIELD, ENTITY_IMAGE_HANDLE_TYPES, ENTITY_KIND_SCALAR_FIELDS, ENTITY_NAME_FIELD, ENTITY_NODE_KINDS, ENTITY_SCALAR_FIELDS, ENTITY_SECTIONS, ENTITY_TABLE, type EntityKind, type EntityMentionTokenInfo, type EntityNodeKind, type EntityReferenceInput, type EntityStudioKind, type ExtraRefCharacterContext, type ExtraRefInput, FEATURED_ENTITIES, type FeaturedEntity, IMAGE_REF_TYPES, type ImageMentionTokenInfo, KEEPER_CATALOG_CATEGORY_MAX, KEEPER_CATALOG_SORT_MAX, LOCATION_USAGE_MODES, type LocationMentionTokenInfo, type LocationUsageMode, MAX_CUSTOM_ENTRIES_PER_BOARD, MAX_PANELS_PER_SHEET, MOTION_COLUMN, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OUTPUT_FORMATS, OUTPUT_PIP_EFFECTIVE_TYPES, type ObjectAspectRatio, type ObjectAssetTypeForAspect, type OutputFormat, PASSTHROUGH_TYPES, PRESET_LABELS, type PanelGenRequest, type PanelRequest, type PanelSource, type PresetEntry, REFERENCE_BOARD_PROVIDERS, REFERENCE_BOARD_TEMPLATES, REFERENCE_ROLE_PRESETS, type ReferenceBoardProvider, type ReferenceSheet, type ResolveCharacterAspectOptions, type ResolveObjectAspectOptions, SECTION_BOARD, SECTION_KINDS, SHEET_ASPECTS, SHEET_BACKGROUNDS, SHEET_PRESETS, SHEET_SKINS, SHEET_TYPES, STRUCTURAL_SECTIONS, SURROUND_DIRECTIONS, type SectionKind, type SheetAspect, type SheetBackground, type SheetCostEstimate, type SheetEntry, type SheetFlavour, type SheetGenerationPlan, type SheetPreset, type SheetPresetId, type SheetSection, type SheetSkin, type SheetTextData, type SheetType, type SurroundDirection, type Swatch, TILT_CARRIED_FRACTION, UsageMode, WARDROBE_VARIANTS, aspectRatioToNumber, buildBoardPrompt, buildPanelPrompt, characterBoardItems, characterBucketDisplayRank, characterMentionSlug, characterMentionableAssetArrays, characterSheetRefItems, characterVariantAssetArrays, collectAncestorRefs, defaultCarriedFraction, defaultRoleForSource, entityHydrationColumns, entityMentionSlug, entityMentionSlugForRef, entityScalarFields, estimateSheetCost, expandExtraRefsToConnectedReferences, findCharacterMentionTokens, findEntityMentionTokens, findImageMentionTokens, findLocationMentionTokens, firstSightExtraRole, getFeaturedEntities, imageMentionSlug, imageMentionSlugForRef, isCharacterAspectRatio, isLocationUsageMode, isObjectAspectRatio, isTiltDirection, knownEntitySlugsFromRefs, knownImageSlugsFromRefs, listBoardTemplates, locationMentionSlug, locationUsageModeLabel, matchVariant, normalizeRoleSlug, outputPipSourceType, parseCharacterMentionToken, parseEntityMentionToken, parseImageMentionToken, parseLocationMentionToken, planSheetGeneration, planSheetPanels, presetEntries, referenceSheetCreditId, resolveCharacterAspectRatio, resolveDefaultRole, resolveEffectiveSourceType, resolveEntityAspect, resolveObjectAspectRatio, resolveSheetSections, roleToPhrase, sanitizeRole, sortCharacterEntriesForDisplay, sourceRefKey, toConnectedReference, toConnectedReferences };
|
|
1504
|
+
export { AGGREGATE_LANE_SOURCE_TYPES, ALA_CARTE_BOARDS, type AlaCarteBoard, BOARD_TO_ASSET_TYPE, BOARD_TO_COLUMN, BOARD_VARIANTS, type BoardEntityKind, type BoardPromptContext, type BoardTemplate, CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_NODE_DEFAULT_LABEL, CHARACTER_NODE_RETIRED_DEFAULT_LABELS, CHARACTER_PICKER_DISPLAY_ORDER, CHARACTER_VARIANT_ASSET_BUCKETS, type CharacterAspectRatio, type CharacterAssetTypeForAspect, type CharacterMentionTokenInfo, type CharacterVariantAssetBucket, type CharacterVariantAssetItem, type CustomEntry, DEFAULT_CARRIED_FRACTION, DEFAULT_LOCATION_USAGE_MODE, DEFAULT_PANEL_COUNT, DEFAULT_SECTIONS, DETAIL_VARIANTS, ENTITY_ASPECT_DEFAULTS, ENTITY_BUCKET_FIELDS, ENTITY_DB_ID_FIELD, ENTITY_IMAGE_HANDLE_TYPES, ENTITY_KIND_SCALAR_FIELDS, ENTITY_NAME_FIELD, ENTITY_NODE_KINDS, ENTITY_SCALAR_FIELDS, ENTITY_SECTIONS, ENTITY_TABLE, type EntityKind, type EntityMentionTokenInfo, type EntityNodeKind, type EntityReferenceInput, type EntityStudioKind, type ExtraRefCharacterContext, type ExtraRefInput, FEATURED_ENTITIES, type FeaturedEntity, IMAGE_REF_TYPES, type ImageMentionTokenInfo, KEEPER_CATALOG_CATEGORY_MAX, KEEPER_CATALOG_SORT_MAX, LOCATION_USAGE_MODES, type LocationMentionTokenInfo, type LocationUsageMode, MAX_CUSTOM_ENTRIES_PER_BOARD, MAX_PANELS_PER_SHEET, MOTION_COLUMN, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OUTPUT_FORMATS, OUTPUT_PIP_EFFECTIVE_TYPES, type ObjectAspectRatio, type ObjectAssetTypeForAspect, type OutputFormat, PASSTHROUGH_TYPES, PRESET_LABELS, type PanelGenRequest, type PanelRequest, type PanelSource, type PresetEntry, REFERENCE_BOARD_PROVIDERS, REFERENCE_BOARD_TEMPLATES, REFERENCE_ROLE_PRESETS, RETIRED_CHARACTER_MENTION_SLUGS, type ReferenceBoardProvider, type ReferenceSheet, type ResolveCharacterAspectOptions, type ResolveObjectAspectOptions, SECTION_BOARD, SECTION_KINDS, SHEET_ASPECTS, SHEET_BACKGROUNDS, SHEET_PRESETS, SHEET_SKINS, SHEET_TYPES, STRUCTURAL_SECTIONS, SURROUND_DIRECTIONS, type SectionKind, type SheetAspect, type SheetBackground, type SheetCostEstimate, type SheetEntry, type SheetFlavour, type SheetGenerationPlan, type SheetPreset, type SheetPresetId, type SheetSection, type SheetSkin, type SheetTextData, type SheetType, type SurroundDirection, type Swatch, TILT_CARRIED_FRACTION, UNNAMED_CHARACTER_NAME_PREFIX, UsageMode, WARDROBE_VARIANTS, type WiredCharacterName, type WiredCharacterSource, aliasRetiredCharacterMentions, aspectRatioToNumber, buildBoardPrompt, buildPanelPrompt, characterBoardItems, characterBucketDisplayRank, characterMentionSlug, characterMentionableAssetArrays, characterOwnName, characterSheetRefItems, characterVariantAssetArrays, collectAncestorRefs, defaultCarriedFraction, defaultRoleForSource, entityHydrationColumns, entityImageUrl, entityMentionSlug, entityMentionSlugForRef, entityScalarFields, estimateSheetCost, expandExtraRefsToConnectedReferences, findCharacterMentionTokens, findEntityMentionTokens, findImageMentionTokens, findLocationMentionTokens, firstSightExtraRole, getFeaturedEntities, imageMentionSlug, imageMentionSlugForRef, isCharacterAspectRatio, isLocationUsageMode, isObjectAspectRatio, isTiltDirection, knownEntitySlugsFromRefs, knownImageSlugsFromRefs, listBoardTemplates, locationMentionSlug, locationUsageModeLabel, matchVariant, normalizeRoleSlug, outputPipSourceType, parseCharacterMentionToken, parseEntityMentionToken, parseImageMentionToken, parseLocationMentionToken, planSheetGeneration, planSheetPanels, presetEntries, referenceSheetCreditId, resolveCharacterAspectRatio, resolveDefaultRole, resolveEffectiveSourceType, resolveEntityAspect, resolveObjectAspectRatio, resolveSheetSections, roleToPhrase, sanitizeRole, sortCharacterEntriesForDisplay, sourceRefKey, toConnectedReference, toConnectedReferences, wiredCharacterBySlug, wiredCharacterKey, wiredCharacterNames, wiredCharacterNamesOf };
|
package/dist/entries/entities.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ALA_CARTE_BOARDS, BOARD_TO_ASSET_TYPE, BOARD_TO_COLUMN, BOARD_VARIANTS, CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_ASSET_TYPES, CHARACTER_ASSET_VARIANTS, CHARACTER_ATTACH_COLUMNS, CHARACTER_NODE_DEFAULT_LABEL, CHARACTER_NODE_RETIRED_DEFAULT_LABELS, CHARACTER_PICKER_DISPLAY_ORDER, CHARACTER_REFERENCE_PHOTO_KINDS, CHARACTER_STYLES, CHARACTER_VARIANT_ASSET_BUCKETS, CREATURE_ATTACH_COLUMNS, DEFAULT_CARRIED_FRACTION, DEFAULT_LOCATION_USAGE_MODE, DEFAULT_PANEL_COUNT, DEFAULT_SECTIONS, DEFAULT_USAGE_MODE, DETAIL_VARIANTS, ENTITY_ASPECT_DEFAULTS, ENTITY_SECTIONS, FEATURED_ENTITIES, IMAGE_REF_TYPES, IMAGE_TO_IMAGE_ATTACH_COLUMNS, KEEPER_CATALOG_CATEGORY_MAX, KEEPER_CATALOG_SORT_MAX, LOCATION_ASSET_TYPES, LOCATION_ASSET_VARIANTS, LOCATION_ATTACH_COLUMNS, LOCATION_REFERENCE_PHOTO_KINDS, LOCATION_REFERENCE_PHOTO_KIND_LABELS, LOCATION_USAGE_MODES, MAX_CUSTOM_ENTRIES_PER_BOARD, MAX_PANELS_PER_SHEET, MOTION_COLUMN, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ASSET_VARIANTS, OBJECT_ATTACH_COLUMNS, OUTPUT_FORMATS, PASSTHROUGH_TYPES, PLACEHOLDER_CHARACTER_NAME, PRESET_LABELS, REFERENCE_BOARD_PROVIDERS, REFERENCE_BOARD_TEMPLATES, REFERENCE_ROLE_PRESETS, RETIRED_CHARACTER_MENTION_SLUGS, SECTION_BOARD, SECTION_KINDS, SHEET_ASPECTS, SHEET_BACKGROUNDS, SHEET_PRESETS, SHEET_SKINS, SHEET_TYPES, STRUCTURAL_SECTIONS, SURROUND_DIRECTIONS, TILT_CARRIED_FRACTION, UNNAMED_CHARACTER_NAME_PREFIX, USAGE_MODES, WARDROBE_VARIANTS, aliasRetiredCharacterMentions, aspectRatioToNumber, buildBoardPrompt, buildPanelPrompt, characterBoardItems, characterBucketDisplayRank, characterMentionSlug, characterMentionableAssetArrays, characterOwnName, characterSheetRefItems, characterVariantAssetArrays, collectAncestorRefs, defaultCarriedFraction, defaultRoleForSource, entityImageUrl, entityMentionSlug, entityMentionSlugForRef, estimateSheetCost, expandExtraRefsToConnectedReferences, findCharacterMentionTokens, findEntityMentionTokens, findImageMentionTokens, findLocationMentionTokens, firstSightExtraRole, getFeaturedEntities, imageMentionSlug, imageMentionSlugForRef, isCharacterAspectRatio, isLocationUsageMode, isObjectAspectRatio, isTiltDirection, isUsageMode, knownEntitySlugsFromRefs, knownImageSlugsFromRefs, listBoardTemplates, locationMentionSlug, locationReferencePhotoKindLabel, locationUsageModeLabel, matchVariant, normalizeRoleSlug, parseCharacterMentionToken, parseEntityMentionToken, parseImageMentionToken, parseLocationMentionToken, planSheetGeneration, planSheetPanels, presetEntries, referenceSheetCreditId, resolveCharacterAspectRatio, resolveDefaultRole, resolveEntityAspect, resolveObjectAspectRatio, resolveSheetSections, roleToPhrase, sanitizeRole, sortCharacterEntriesForDisplay, toConnectedReference, toConnectedReferences, usageModeDirective, usageModeIncludesName, usageModeLabel, wiredCharacterBySlug, wiredCharacterKey, wiredCharacterNames, wiredCharacterNamesOf } from '../chunk-O7RZRUMZ.js';
|
|
2
2
|
import '../chunk-5RU2HCW2.js';
|
|
3
3
|
export { ENTITY_BUCKET_FIELDS, ENTITY_DB_ID_FIELD, ENTITY_KIND_SCALAR_FIELDS, ENTITY_NAME_FIELD, ENTITY_NODE_KINDS, ENTITY_SCALAR_FIELDS, ENTITY_TABLE, entityHydrationColumns, entityScalarFields } from '../chunk-7G7G42KS.js';
|
|
4
|
+
export { AGGREGATE_LANE_SOURCE_TYPES, ENTITY_IMAGE_HANDLE_TYPES, OUTPUT_PIP_EFFECTIVE_TYPES, outputPipSourceType, resolveEffectiveSourceType, sourceRefKey } from '../chunk-CTANEPMY.js';
|
|
4
5
|
//# sourceMappingURL=entities.js.map
|
|
5
6
|
//# sourceMappingURL=entities.js.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { by as ScriptProvider } from '../model-constants-Cf3zaITt.cjs';
|
|
2
2
|
import 'zod';
|
|
3
|
+
import '../model-catalog-CCEcv08q.cjs';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* LLM Model Registry — shared between frontend and backend.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { by as ScriptProvider } from '../model-constants-B88p6XR0.js';
|
|
2
2
|
import 'zod';
|
|
3
|
+
import '../model-catalog-CCEcv08q.js';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* LLM Model Registry — shared between frontend and backend.
|