@nodaro/prompts 1.54.0 → 1.56.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/{catalog-packs-DeMcSVCR.d.cts → catalog-packs-Bw7OpufR.d.cts} +1 -1
- package/dist/{catalog-packs-DjqvicAR.d.ts → catalog-packs-CyS8NdLM.d.ts} +1 -1
- package/dist/{chunk-HOZPYHRA.js → chunk-242NZ6SI.js} +5 -5
- package/dist/{chunk-HOZPYHRA.js.map → chunk-242NZ6SI.js.map} +1 -1
- package/dist/{chunk-56HWABF5.cjs → chunk-2LWYFWZL.cjs} +478 -2
- package/dist/chunk-2LWYFWZL.cjs.map +1 -0
- package/dist/{chunk-P4BXE4OA.cjs → chunk-2MTFPGQC.cjs} +13 -13
- package/dist/{chunk-P4BXE4OA.cjs.map → chunk-2MTFPGQC.cjs.map} +1 -1
- package/dist/{chunk-IVRSNUYX.js → chunk-4MCK7Y6C.js} +477 -3
- package/dist/chunk-4MCK7Y6C.js.map +1 -0
- package/dist/{chunk-FFPFBNXH.cjs → chunk-7ZWWJY24.cjs} +8 -2
- package/dist/chunk-7ZWWJY24.cjs.map +1 -0
- package/dist/{chunk-F22GZF7T.cjs → chunk-AMUXCE7X.cjs} +8 -8
- package/dist/{chunk-F22GZF7T.cjs.map → chunk-AMUXCE7X.cjs.map} +1 -1
- package/dist/{chunk-OQ3J7OGR.cjs → chunk-BHBZN2AP.cjs} +49 -49
- package/dist/{chunk-OQ3J7OGR.cjs.map → chunk-BHBZN2AP.cjs.map} +1 -1
- package/dist/{chunk-YAIPYPMM.js → chunk-BJGD4DBP.js} +4 -4
- package/dist/{chunk-YAIPYPMM.js.map → chunk-BJGD4DBP.js.map} +1 -1
- package/dist/{chunk-ZRORO6OM.js → chunk-CYYHQNW3.js} +4 -4
- package/dist/{chunk-ZRORO6OM.js.map → chunk-CYYHQNW3.js.map} +1 -1
- package/dist/{chunk-YDG3KMCN.js → chunk-DOGFC7LK.js} +13 -5
- package/dist/chunk-DOGFC7LK.js.map +1 -0
- package/dist/{chunk-Z4KWM6DV.js → chunk-EUA5AGXE.js} +9 -7
- package/dist/chunk-EUA5AGXE.js.map +1 -0
- package/dist/{chunk-E5EKWWOO.cjs → chunk-FEHXLXAV.cjs} +8 -7
- package/dist/chunk-FEHXLXAV.cjs.map +1 -0
- package/dist/{chunk-5XPELUES.js → chunk-GJX5N63V.js} +8 -2
- package/dist/chunk-GJX5N63V.js.map +1 -0
- package/dist/{chunk-OMRFKG4M.js → chunk-KBWUO4P7.js} +3 -3
- package/dist/{chunk-OMRFKG4M.js.map → chunk-KBWUO4P7.js.map} +1 -1
- package/dist/{chunk-NUC5RV4P.cjs → chunk-NDKJW7RP.cjs} +4 -4
- package/dist/{chunk-NUC5RV4P.cjs.map → chunk-NDKJW7RP.cjs.map} +1 -1
- package/dist/{chunk-CDNW7O7H.cjs → chunk-O4CRTEBB.cjs} +42 -40
- package/dist/chunk-O4CRTEBB.cjs.map +1 -0
- package/dist/{chunk-ED47NNIN.js → chunk-OXNJVQ2V.js} +3 -3
- package/dist/{chunk-ED47NNIN.js.map → chunk-OXNJVQ2V.js.map} +1 -1
- package/dist/{chunk-PWYASBX2.cjs → chunk-P5HAPDV3.cjs} +18 -18
- package/dist/{chunk-PWYASBX2.cjs.map → chunk-P5HAPDV3.cjs.map} +1 -1
- package/dist/{chunk-XUMEDRML.cjs → chunk-SJVJAEDE.cjs} +13 -5
- package/dist/chunk-SJVJAEDE.cjs.map +1 -0
- package/dist/{chunk-EUU5W7XR.js → chunk-TMYYALRF.js} +4 -4
- package/dist/{chunk-EUU5W7XR.js.map → chunk-TMYYALRF.js.map} +1 -1
- package/dist/{chunk-H322GC7M.js → chunk-VX3BIUGY.js} +5 -4
- package/dist/chunk-VX3BIUGY.js.map +1 -0
- package/dist/{chunk-VBCVQPQ4.js → chunk-WDKQQ7WL.js} +3 -3
- package/dist/{chunk-VBCVQPQ4.js.map → chunk-WDKQQ7WL.js.map} +1 -1
- package/dist/{chunk-KTNCB2IE.cjs → chunk-XMRDZRGV.cjs} +35 -35
- package/dist/{chunk-KTNCB2IE.cjs.map → chunk-XMRDZRGV.cjs.map} +1 -1
- package/dist/{chunk-7BWDATUZ.cjs → chunk-Y3TSRO3S.cjs} +125 -125
- package/dist/{chunk-7BWDATUZ.cjs.map → chunk-Y3TSRO3S.cjs.map} +1 -1
- package/dist/entries/assembly.cjs +29 -29
- package/dist/entries/assembly.d.cts +8 -0
- package/dist/entries/assembly.d.ts +8 -0
- package/dist/entries/assembly.js +6 -6
- package/dist/entries/catalog-packs.d.cts +4 -4
- package/dist/entries/catalog-packs.d.ts +4 -4
- package/dist/entries/doctrine.cjs +46 -46
- package/dist/entries/doctrine.js +1 -1
- package/dist/entries/person.d.cts +3 -3
- package/dist/entries/person.d.ts +3 -3
- package/dist/entries/picker-art.cjs +22 -22
- package/dist/entries/picker-art.d.cts +1 -1
- package/dist/entries/picker-art.d.ts +1 -1
- package/dist/entries/picker-art.js +2 -2
- package/dist/entries/picker-catalogs.cjs +57 -57
- package/dist/entries/picker-catalogs.d.cts +3 -3
- package/dist/entries/picker-catalogs.d.ts +3 -3
- package/dist/entries/picker-catalogs.js +5 -5
- package/dist/entries/pickers.cjs +383 -383
- package/dist/entries/pickers.js +3 -3
- package/dist/entries/presets.cjs +46 -38
- package/dist/entries/presets.d.cts +13 -1
- package/dist/entries/presets.d.ts +13 -1
- package/dist/entries/presets.js +1 -1
- package/dist/entries/prompt-builder.cjs +76 -76
- package/dist/entries/prompt-builder.js +5 -5
- package/dist/{images-ChAOLY5V.d.cts → images-BQ1jUWyZ.d.cts} +32 -3
- package/dist/{images-ChAOLY5V.d.ts → images-BQ1jUWyZ.d.ts} +32 -3
- package/dist/index.cjs +648 -640
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +12 -12
- package/dist/{picker-catalogs-DzLCu6qQ.d.cts → picker-catalogs-BuMGOVWC.d.cts} +1 -1
- package/dist/{picker-catalogs-SDSWrufc.d.ts → picker-catalogs-CVQopXwp.d.ts} +1 -1
- package/package.json +2 -2
- package/src/__tests__/assemble-image-input-style-references.test.ts +24 -0
- package/src/__tests__/doctrine-roster-completeness.test.ts +3 -0
- package/src/__tests__/factory-preset-previews.test.ts +38 -0
- package/src/__tests__/picker-art-images.test.ts +54 -0
- package/src/__tests__/seedance-extend.test.ts +46 -0
- package/src/assemble-image-input.ts +11 -1
- package/src/factory-presets/index.ts +2 -0
- package/src/factory-presets/preview-files.generated.ts +472 -0
- package/src/factory-presets/previews.ts +17 -2
- package/src/picker-art/images.ts +39 -2
- package/src/picker-catalogs.ts +4 -2
- package/src/prompt-wizard-categories.ts +8 -0
- package/dist/chunk-56HWABF5.cjs.map +0 -1
- package/dist/chunk-5XPELUES.js.map +0 -1
- package/dist/chunk-CDNW7O7H.cjs.map +0 -1
- package/dist/chunk-E5EKWWOO.cjs.map +0 -1
- package/dist/chunk-FFPFBNXH.cjs.map +0 -1
- package/dist/chunk-H322GC7M.js.map +0 -1
- package/dist/chunk-IVRSNUYX.js.map +0 -1
- package/dist/chunk-XUMEDRML.cjs.map +0 -1
- package/dist/chunk-YDG3KMCN.js.map +0 -1
- package/dist/chunk-Z4KWM6DV.js.map +0 -1
|
@@ -1,303 +1,303 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk2MTFPGQC_cjs = require('../chunk-2MTFPGQC.cjs');
|
|
4
|
+
var chunkP5HAPDV3_cjs = require('../chunk-P5HAPDV3.cjs');
|
|
5
5
|
require('../chunk-4GKTOVFM.cjs');
|
|
6
6
|
require('../chunk-UXDKZVNN.cjs');
|
|
7
7
|
require('../chunk-2NJTFCKQ.cjs');
|
|
8
|
-
var
|
|
9
|
-
require('../chunk-
|
|
8
|
+
var chunkXMRDZRGV_cjs = require('../chunk-XMRDZRGV.cjs');
|
|
9
|
+
require('../chunk-FEHXLXAV.cjs');
|
|
10
10
|
require('../chunk-3UEA3UHQ.cjs');
|
|
11
11
|
require('../chunk-K6NT635Z.cjs');
|
|
12
12
|
require('../chunk-FY4AMIDB.cjs');
|
|
13
|
-
require('../chunk-
|
|
13
|
+
require('../chunk-7ZWWJY24.cjs');
|
|
14
14
|
require('../chunk-Q7SFCCGT.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "readDirectionFields", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk2MTFPGQC_cjs.readDirectionFields; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "readStructuredFields", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk2MTFPGQC_cjs.readStructuredFields; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "readSubjectFields", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunk2MTFPGQC_cjs.readSubjectFields; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "ANGLE_LABELS", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkP5HAPDV3_cjs.ANGLE_LABELS; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "ASPECT_RATIO_LABELS", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkP5HAPDV3_cjs.ASPECT_RATIO_LABELS; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "MAX_SUBJECT_KEYS", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkP5HAPDV3_cjs.MAX_SUBJECT_KEYS; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "MOVEMENT_LABELS", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkP5HAPDV3_cjs.MOVEMENT_LABELS; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "SCENE_PROMPT_MAX_LENGTH", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkP5HAPDV3_cjs.SCENE_PROMPT_MAX_LENGTH; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "SHOT_LABELS", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkP5HAPDV3_cjs.SHOT_LABELS; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "STYLE_SECTION_GAP", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkP5HAPDV3_cjs.STYLE_SECTION_GAP; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "STYLE_SECTION_HEADER", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkP5HAPDV3_cjs.STYLE_SECTION_HEADER; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "SUBJECT_ARRAY_CEILING", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkP5HAPDV3_cjs.SUBJECT_ARRAY_CEILING; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "SUBJECT_CUSTOM_AGE_KEY", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkP5HAPDV3_cjs.SUBJECT_CUSTOM_AGE_KEY; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "SUBJECT_FIELDS", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkP5HAPDV3_cjs.SUBJECT_FIELDS; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "SUBJECT_FOLD_KEYS", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkP5HAPDV3_cjs.SUBJECT_FOLD_KEYS; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "SUBJECT_ID_MAX_CHARS", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkP5HAPDV3_cjs.SUBJECT_ID_MAX_CHARS; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "SUBJECT_IMAGE_HINT_MODE_DEFAULT", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkP5HAPDV3_cjs.SUBJECT_IMAGE_HINT_MODE_DEFAULT; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "SUBJECT_KEYS", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkP5HAPDV3_cjs.SUBJECT_KEYS; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "SUBJECT_KEY_MAX_CHARS", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkP5HAPDV3_cjs.SUBJECT_KEY_MAX_CHARS; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "SUBJECT_VIDEO_HINT_MODE_DEFAULT", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkP5HAPDV3_cjs.SUBJECT_VIDEO_HINT_MODE_DEFAULT; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "appendReferenceLines", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkP5HAPDV3_cjs.appendReferenceLines; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "applyReferenceOrderToVideo", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkP5HAPDV3_cjs.applyReferenceOrderToVideo; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "asBodyClauses", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkP5HAPDV3_cjs.asBodyClauses; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "buildIdentityDirectives", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkP5HAPDV3_cjs.buildIdentityDirectives; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "buildImagePrompt", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkP5HAPDV3_cjs.buildImagePrompt; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "buildImagePromptSegments", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkP5HAPDV3_cjs.buildImagePromptSegments; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "buildImagePromptWithOverflow", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkP5HAPDV3_cjs.buildImagePromptWithOverflow; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "buildReferenceBlocks", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkP5HAPDV3_cjs.buildReferenceBlocks; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "buildScenePrompt", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkP5HAPDV3_cjs.buildScenePrompt; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "composeSectionedPrompt", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkP5HAPDV3_cjs.composeSectionedPrompt; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "endsInsideStyleSection", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkP5HAPDV3_cjs.endsInsideStyleSection; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "expandImagePositionRefs", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkP5HAPDV3_cjs.expandImagePositionRefs; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "expandImageRefTokens", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkP5HAPDV3_cjs.expandImageRefTokens; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "getRegisteredSubjectKeys", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkP5HAPDV3_cjs.getRegisteredSubjectKeys; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "insertBeforeStyleSection", {
|
|
155
155
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkP5HAPDV3_cjs.insertBeforeStyleSection; }
|
|
157
157
|
});
|
|
158
158
|
Object.defineProperty(exports, "normalizeSubjectFields", {
|
|
159
159
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkP5HAPDV3_cjs.normalizeSubjectFields; }
|
|
161
161
|
});
|
|
162
162
|
Object.defineProperty(exports, "partitionStyleClauses", {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkP5HAPDV3_cjs.partitionStyleClauses; }
|
|
165
165
|
});
|
|
166
166
|
Object.defineProperty(exports, "referenceDescriptionLine", {
|
|
167
167
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkP5HAPDV3_cjs.referenceDescriptionLine; }
|
|
169
169
|
});
|
|
170
170
|
Object.defineProperty(exports, "renderDescribedReferenceLines", {
|
|
171
171
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkP5HAPDV3_cjs.renderDescribedReferenceLines; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "renderReferenceCaptionLines", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkP5HAPDV3_cjs.renderReferenceCaptionLines; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "renderStructuredFields", {
|
|
179
179
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkP5HAPDV3_cjs.renderStructuredFields; }
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "renderStyleSection", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkP5HAPDV3_cjs.renderStyleSection; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "renderSubjectHints", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkP5HAPDV3_cjs.renderSubjectHints; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "resolveCharacterMentions", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkP5HAPDV3_cjs.resolveCharacterMentions; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "resolveLocationMentions", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkP5HAPDV3_cjs.resolveLocationMentions; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "sectionedClauseCosts", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkP5HAPDV3_cjs.sectionedClauseCosts; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "splitStyleSection", {
|
|
203
203
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkP5HAPDV3_cjs.splitStyleSection; }
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "styleSectionFromClauses", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkP5HAPDV3_cjs.styleSectionFromClauses; }
|
|
209
209
|
});
|
|
210
210
|
Object.defineProperty(exports, "styleSlotFor", {
|
|
211
211
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkP5HAPDV3_cjs.styleSlotFor; }
|
|
213
213
|
});
|
|
214
214
|
Object.defineProperty(exports, "subjectFieldsForSurface", {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkP5HAPDV3_cjs.subjectFieldsForSurface; }
|
|
217
217
|
});
|
|
218
218
|
Object.defineProperty(exports, "truncateText", {
|
|
219
219
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkP5HAPDV3_cjs.truncateText; }
|
|
221
221
|
});
|
|
222
222
|
Object.defineProperty(exports, "DIRECTION_ARRAY_CEILING", {
|
|
223
223
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkXMRDZRGV_cjs.DIRECTION_ARRAY_CEILING; }
|
|
225
225
|
});
|
|
226
226
|
Object.defineProperty(exports, "DIRECTION_FIELDS", {
|
|
227
227
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkXMRDZRGV_cjs.DIRECTION_FIELDS; }
|
|
229
229
|
});
|
|
230
230
|
Object.defineProperty(exports, "DIRECTION_ID_MAX_CHARS", {
|
|
231
231
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkXMRDZRGV_cjs.DIRECTION_ID_MAX_CHARS; }
|
|
233
233
|
});
|
|
234
234
|
Object.defineProperty(exports, "DIRECTION_KEYS", {
|
|
235
235
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkXMRDZRGV_cjs.DIRECTION_KEYS; }
|
|
237
237
|
});
|
|
238
238
|
Object.defineProperty(exports, "FILM_STYLE_KEYS", {
|
|
239
239
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkXMRDZRGV_cjs.FILM_STYLE_KEYS; }
|
|
241
241
|
});
|
|
242
242
|
Object.defineProperty(exports, "IMAGE_HINT_MODE_DEFAULT", {
|
|
243
243
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkXMRDZRGV_cjs.IMAGE_HINT_MODE_DEFAULT; }
|
|
245
245
|
});
|
|
246
246
|
Object.defineProperty(exports, "USER_DIRECTION_REF_KINDS", {
|
|
247
247
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkXMRDZRGV_cjs.USER_DIRECTION_REF_KINDS; }
|
|
249
249
|
});
|
|
250
250
|
Object.defineProperty(exports, "VIDEO_HINT_MODE_DEFAULT", {
|
|
251
251
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkXMRDZRGV_cjs.VIDEO_HINT_MODE_DEFAULT; }
|
|
253
253
|
});
|
|
254
254
|
Object.defineProperty(exports, "directionFieldsForSurface", {
|
|
255
255
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkXMRDZRGV_cjs.directionFieldsForSurface; }
|
|
257
257
|
});
|
|
258
258
|
Object.defineProperty(exports, "directionKeyForUserRef", {
|
|
259
259
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkXMRDZRGV_cjs.directionKeyForUserRef; }
|
|
261
261
|
});
|
|
262
262
|
Object.defineProperty(exports, "modeForFamily", {
|
|
263
263
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkXMRDZRGV_cjs.modeForFamily; }
|
|
265
265
|
});
|
|
266
266
|
Object.defineProperty(exports, "nearestColorName", {
|
|
267
267
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkXMRDZRGV_cjs.nearestColorName; }
|
|
269
269
|
});
|
|
270
270
|
Object.defineProperty(exports, "parseUserDirectionRef", {
|
|
271
271
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkXMRDZRGV_cjs.parseUserDirectionRef; }
|
|
273
273
|
});
|
|
274
274
|
Object.defineProperty(exports, "renderDirectionHintClauses", {
|
|
275
275
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkXMRDZRGV_cjs.renderDirectionHintClauses; }
|
|
277
277
|
});
|
|
278
278
|
Object.defineProperty(exports, "renderDirectionHints", {
|
|
279
279
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkXMRDZRGV_cjs.renderDirectionHints; }
|
|
281
281
|
});
|
|
282
282
|
Object.defineProperty(exports, "renderMoodboardClause", {
|
|
283
283
|
enumerable: true,
|
|
284
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunkXMRDZRGV_cjs.renderMoodboardClause; }
|
|
285
285
|
});
|
|
286
286
|
Object.defineProperty(exports, "renderPaletteClause", {
|
|
287
287
|
enumerable: true,
|
|
288
|
-
get: function () { return
|
|
288
|
+
get: function () { return chunkXMRDZRGV_cjs.renderPaletteClause; }
|
|
289
289
|
});
|
|
290
290
|
Object.defineProperty(exports, "styleReferenceDescription", {
|
|
291
291
|
enumerable: true,
|
|
292
|
-
get: function () { return
|
|
292
|
+
get: function () { return chunkXMRDZRGV_cjs.styleReferenceDescription; }
|
|
293
293
|
});
|
|
294
294
|
Object.defineProperty(exports, "userDirectionRefValue", {
|
|
295
295
|
enumerable: true,
|
|
296
|
-
get: function () { return
|
|
296
|
+
get: function () { return chunkXMRDZRGV_cjs.userDirectionRefValue; }
|
|
297
297
|
});
|
|
298
298
|
Object.defineProperty(exports, "userRefKindOfDirectionKey", {
|
|
299
299
|
enumerable: true,
|
|
300
|
-
get: function () { return
|
|
300
|
+
get: function () { return chunkXMRDZRGV_cjs.userRefKindOfDirectionKey; }
|
|
301
301
|
});
|
|
302
302
|
//# sourceMappingURL=prompt-builder.cjs.map
|
|
303
303
|
//# sourceMappingURL=prompt-builder.cjs.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { readDirectionFields, readStructuredFields, readSubjectFields } from '../chunk-
|
|
2
|
-
export { ANGLE_LABELS, ASPECT_RATIO_LABELS, MAX_SUBJECT_KEYS, MOVEMENT_LABELS, SCENE_PROMPT_MAX_LENGTH, SHOT_LABELS, STYLE_SECTION_GAP, STYLE_SECTION_HEADER, SUBJECT_ARRAY_CEILING, SUBJECT_CUSTOM_AGE_KEY, SUBJECT_FIELDS, SUBJECT_FOLD_KEYS, SUBJECT_ID_MAX_CHARS, SUBJECT_IMAGE_HINT_MODE_DEFAULT, SUBJECT_KEYS, SUBJECT_KEY_MAX_CHARS, SUBJECT_VIDEO_HINT_MODE_DEFAULT, appendReferenceLines, applyReferenceOrderToVideo, asBodyClauses, buildIdentityDirectives, buildImagePrompt, buildImagePromptSegments, buildImagePromptWithOverflow, buildReferenceBlocks, buildScenePrompt, composeSectionedPrompt, endsInsideStyleSection, expandImagePositionRefs, expandImageRefTokens, getRegisteredSubjectKeys, insertBeforeStyleSection, normalizeSubjectFields, partitionStyleClauses, referenceDescriptionLine, renderDescribedReferenceLines, renderReferenceCaptionLines, renderStructuredFields, renderStyleSection, renderSubjectHints, resolveCharacterMentions, resolveLocationMentions, sectionedClauseCosts, splitStyleSection, styleSectionFromClauses, styleSlotFor, subjectFieldsForSurface, truncateText } from '../chunk-
|
|
1
|
+
export { readDirectionFields, readStructuredFields, readSubjectFields } from '../chunk-CYYHQNW3.js';
|
|
2
|
+
export { ANGLE_LABELS, ASPECT_RATIO_LABELS, MAX_SUBJECT_KEYS, MOVEMENT_LABELS, SCENE_PROMPT_MAX_LENGTH, SHOT_LABELS, STYLE_SECTION_GAP, STYLE_SECTION_HEADER, SUBJECT_ARRAY_CEILING, SUBJECT_CUSTOM_AGE_KEY, SUBJECT_FIELDS, SUBJECT_FOLD_KEYS, SUBJECT_ID_MAX_CHARS, SUBJECT_IMAGE_HINT_MODE_DEFAULT, SUBJECT_KEYS, SUBJECT_KEY_MAX_CHARS, SUBJECT_VIDEO_HINT_MODE_DEFAULT, appendReferenceLines, applyReferenceOrderToVideo, asBodyClauses, buildIdentityDirectives, buildImagePrompt, buildImagePromptSegments, buildImagePromptWithOverflow, buildReferenceBlocks, buildScenePrompt, composeSectionedPrompt, endsInsideStyleSection, expandImagePositionRefs, expandImageRefTokens, getRegisteredSubjectKeys, insertBeforeStyleSection, normalizeSubjectFields, partitionStyleClauses, referenceDescriptionLine, renderDescribedReferenceLines, renderReferenceCaptionLines, renderStructuredFields, renderStyleSection, renderSubjectHints, resolveCharacterMentions, resolveLocationMentions, sectionedClauseCosts, splitStyleSection, styleSectionFromClauses, styleSlotFor, subjectFieldsForSurface, truncateText } from '../chunk-BJGD4DBP.js';
|
|
3
3
|
import '../chunk-GILUVQQJ.js';
|
|
4
4
|
import '../chunk-35UHMDGS.js';
|
|
5
5
|
import '../chunk-BQWIPLLR.js';
|
|
6
|
-
export { DIRECTION_ARRAY_CEILING, DIRECTION_FIELDS, DIRECTION_ID_MAX_CHARS, DIRECTION_KEYS, FILM_STYLE_KEYS, IMAGE_HINT_MODE_DEFAULT, USER_DIRECTION_REF_KINDS, VIDEO_HINT_MODE_DEFAULT, directionFieldsForSurface, directionKeyForUserRef, modeForFamily, nearestColorName, parseUserDirectionRef, renderDirectionHintClauses, renderDirectionHints, renderMoodboardClause, renderPaletteClause, styleReferenceDescription, userDirectionRefValue, userRefKindOfDirectionKey } from '../chunk-
|
|
7
|
-
import '../chunk-
|
|
6
|
+
export { DIRECTION_ARRAY_CEILING, DIRECTION_FIELDS, DIRECTION_ID_MAX_CHARS, DIRECTION_KEYS, FILM_STYLE_KEYS, IMAGE_HINT_MODE_DEFAULT, USER_DIRECTION_REF_KINDS, VIDEO_HINT_MODE_DEFAULT, directionFieldsForSurface, directionKeyForUserRef, modeForFamily, nearestColorName, parseUserDirectionRef, renderDirectionHintClauses, renderDirectionHints, renderMoodboardClause, renderPaletteClause, styleReferenceDescription, userDirectionRefValue, userRefKindOfDirectionKey } from '../chunk-WDKQQ7WL.js';
|
|
7
|
+
import '../chunk-VX3BIUGY.js';
|
|
8
8
|
import '../chunk-DVP6ILDR.js';
|
|
9
9
|
import '../chunk-TDZFXOTE.js';
|
|
10
10
|
import '../chunk-XAMHEW76.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-GJX5N63V.js';
|
|
12
12
|
import '../chunk-PZ5AY32C.js';
|
|
13
13
|
//# sourceMappingURL=prompt-builder.js.map
|
|
14
14
|
//# sourceMappingURL=prompt-builder.js.map
|
|
@@ -19,6 +19,22 @@ interface PickerImageOptions {
|
|
|
19
19
|
* ask for it), and four URLs per option are dead weight to an agent (MCP).
|
|
20
20
|
*/
|
|
21
21
|
readonly srcSet?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* A deployment's own pictures, in place of the platform's. When set, an
|
|
24
|
+
* option is pictured by what this returns for it and by nothing else — no
|
|
25
|
+
* self-hosted photo, emoji or flag, no render — so an option it has nothing
|
|
26
|
+
* for has no picture, and no Person / Styling topic has one (a topic is not
|
|
27
|
+
* an option). `baseUrl` and `lookPreviews` are not read. The package names no
|
|
28
|
+
* deployment picture itself: the API passes what the deployment registered.
|
|
29
|
+
*/
|
|
30
|
+
readonly own?: (catalogId: string, optionId: string) => PickerOwnPicture | undefined;
|
|
31
|
+
}
|
|
32
|
+
/** A deployment's own picture for one picker option (`PickerImageOptions.own`). */
|
|
33
|
+
interface PickerOwnPicture {
|
|
34
|
+
/** Absolute URL of the picture. */
|
|
35
|
+
readonly url: string;
|
|
36
|
+
/** Absolute URL of its enlarged version, when the deployment gave one. */
|
|
37
|
+
readonly largeUrl?: string;
|
|
22
38
|
}
|
|
23
39
|
/**
|
|
24
40
|
* A still, 480px-wide picture of a rendered look preview: the image resized by
|
|
@@ -33,6 +49,12 @@ interface PickerOptionImage {
|
|
|
33
49
|
readonly url: string;
|
|
34
50
|
/** `<url> 240w, <url> 480w, …` — present only for a render the CDN resizes (Nodaro Cloud), when asked for (`srcSet: true`). */
|
|
35
51
|
readonly srcSet?: string;
|
|
52
|
+
/**
|
|
53
|
+
* The option's enlarged picture — present only for a deployment's own
|
|
54
|
+
* picture that has one (`PickerImageOptions.own`), when asked for
|
|
55
|
+
* (`srcSet: true`, the same request that asks for a srcset).
|
|
56
|
+
*/
|
|
57
|
+
readonly largeUrl?: string;
|
|
36
58
|
}
|
|
37
59
|
/**
|
|
38
60
|
* The widths a render is offered at — the same ladder the editor's tiles use
|
|
@@ -40,7 +62,10 @@ interface PickerOptionImage {
|
|
|
40
62
|
*/
|
|
41
63
|
declare const RENDER_WIDTH_LADDER: ReadonlyArray<number>;
|
|
42
64
|
/**
|
|
43
|
-
* The picture of one picker option, or undefined when it has none
|
|
65
|
+
* The picture of one picker option, or undefined when it has none.
|
|
66
|
+
*
|
|
67
|
+
* With `images.own` (a deployment's own pictures), what it returns for the
|
|
68
|
+
* option, and nothing else. Otherwise, the platform's:
|
|
44
69
|
*
|
|
45
70
|
* 1. the self-hosted character photos;
|
|
46
71
|
* 2. when renders are allowed (Nodaro Cloud), the music / voice pickers'
|
|
@@ -60,7 +85,11 @@ declare function pickerOptionImageUrl(catalog: {
|
|
|
60
85
|
readonly nodeType: string;
|
|
61
86
|
readonly catalogId: string;
|
|
62
87
|
}, field: string | undefined, id: string, images: PickerImageOptions): string | undefined;
|
|
63
|
-
/**
|
|
88
|
+
/**
|
|
89
|
+
* The absolute URL of a Person / Styling topic's round picture, or undefined —
|
|
90
|
+
* always, with a deployment's own pictures (`images.own`): a topic is not an
|
|
91
|
+
* option, so it has none of them.
|
|
92
|
+
*/
|
|
64
93
|
declare function pickerSectionImageUrl(sectionLabel: string, images: PickerImageOptions): string | undefined;
|
|
65
94
|
|
|
66
|
-
export { type PickerImageOptions as P, RENDER_WIDTH_LADDER as R, type PickerOptionImage as a,
|
|
95
|
+
export { type PickerImageOptions as P, RENDER_WIDTH_LADDER as R, type PickerOptionImage as a, type PickerOwnPicture as b, pickerOptionImageUrl as c, pickerSectionImageUrl as d, lookPreviewStillUrl as l, pickerOptionImage as p };
|
|
@@ -19,6 +19,22 @@ interface PickerImageOptions {
|
|
|
19
19
|
* ask for it), and four URLs per option are dead weight to an agent (MCP).
|
|
20
20
|
*/
|
|
21
21
|
readonly srcSet?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* A deployment's own pictures, in place of the platform's. When set, an
|
|
24
|
+
* option is pictured by what this returns for it and by nothing else — no
|
|
25
|
+
* self-hosted photo, emoji or flag, no render — so an option it has nothing
|
|
26
|
+
* for has no picture, and no Person / Styling topic has one (a topic is not
|
|
27
|
+
* an option). `baseUrl` and `lookPreviews` are not read. The package names no
|
|
28
|
+
* deployment picture itself: the API passes what the deployment registered.
|
|
29
|
+
*/
|
|
30
|
+
readonly own?: (catalogId: string, optionId: string) => PickerOwnPicture | undefined;
|
|
31
|
+
}
|
|
32
|
+
/** A deployment's own picture for one picker option (`PickerImageOptions.own`). */
|
|
33
|
+
interface PickerOwnPicture {
|
|
34
|
+
/** Absolute URL of the picture. */
|
|
35
|
+
readonly url: string;
|
|
36
|
+
/** Absolute URL of its enlarged version, when the deployment gave one. */
|
|
37
|
+
readonly largeUrl?: string;
|
|
22
38
|
}
|
|
23
39
|
/**
|
|
24
40
|
* A still, 480px-wide picture of a rendered look preview: the image resized by
|
|
@@ -33,6 +49,12 @@ interface PickerOptionImage {
|
|
|
33
49
|
readonly url: string;
|
|
34
50
|
/** `<url> 240w, <url> 480w, …` — present only for a render the CDN resizes (Nodaro Cloud), when asked for (`srcSet: true`). */
|
|
35
51
|
readonly srcSet?: string;
|
|
52
|
+
/**
|
|
53
|
+
* The option's enlarged picture — present only for a deployment's own
|
|
54
|
+
* picture that has one (`PickerImageOptions.own`), when asked for
|
|
55
|
+
* (`srcSet: true`, the same request that asks for a srcset).
|
|
56
|
+
*/
|
|
57
|
+
readonly largeUrl?: string;
|
|
36
58
|
}
|
|
37
59
|
/**
|
|
38
60
|
* The widths a render is offered at — the same ladder the editor's tiles use
|
|
@@ -40,7 +62,10 @@ interface PickerOptionImage {
|
|
|
40
62
|
*/
|
|
41
63
|
declare const RENDER_WIDTH_LADDER: ReadonlyArray<number>;
|
|
42
64
|
/**
|
|
43
|
-
* The picture of one picker option, or undefined when it has none
|
|
65
|
+
* The picture of one picker option, or undefined when it has none.
|
|
66
|
+
*
|
|
67
|
+
* With `images.own` (a deployment's own pictures), what it returns for the
|
|
68
|
+
* option, and nothing else. Otherwise, the platform's:
|
|
44
69
|
*
|
|
45
70
|
* 1. the self-hosted character photos;
|
|
46
71
|
* 2. when renders are allowed (Nodaro Cloud), the music / voice pickers'
|
|
@@ -60,7 +85,11 @@ declare function pickerOptionImageUrl(catalog: {
|
|
|
60
85
|
readonly nodeType: string;
|
|
61
86
|
readonly catalogId: string;
|
|
62
87
|
}, field: string | undefined, id: string, images: PickerImageOptions): string | undefined;
|
|
63
|
-
/**
|
|
88
|
+
/**
|
|
89
|
+
* The absolute URL of a Person / Styling topic's round picture, or undefined —
|
|
90
|
+
* always, with a deployment's own pictures (`images.own`): a topic is not an
|
|
91
|
+
* option, so it has none of them.
|
|
92
|
+
*/
|
|
64
93
|
declare function pickerSectionImageUrl(sectionLabel: string, images: PickerImageOptions): string | undefined;
|
|
65
94
|
|
|
66
|
-
export { type PickerImageOptions as P, RENDER_WIDTH_LADDER as R, type PickerOptionImage as a,
|
|
95
|
+
export { type PickerImageOptions as P, RENDER_WIDTH_LADDER as R, type PickerOptionImage as a, type PickerOwnPicture as b, pickerOptionImageUrl as c, pickerSectionImageUrl as d, lookPreviewStillUrl as l, pickerOptionImage as p };
|