@slatesvideo/shared 0.6.5 → 0.6.6
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/manual/content.d.ts +1 -1
- package/dist/manual/content.js +1 -1
- package/dist/operations/index.d.ts +46 -7
- package/dist/operations/index.js +169 -50
- package/dist/prompts/character-sheet.js +10 -0
- package/dist/prompts/model-capabilities.js +52 -3
- package/dist/prompts/model-facts.js +12 -4
- package/dist/prompts/prompting-tips.js +9 -3
- package/dist/prompts/reference-composer.js +14 -0
- package/dist/prompts/shot-spec.d.ts +9 -2
- package/dist/prompts/shot-spec.js +17 -1
- package/dist/skills/content.js +8 -8
- package/exports/slates-prompt-builder/generated/reference-character.md +1 -1
- package/exports/slates-prompt-builder/generated/reference-seedance.md +3 -1
- package/exports/slates-prompt-builder/generated/slates-prompt-builder-manifest.json +10 -10
- package/exports/slates-prompt-builder/generated/slates-prompt-builder.skill +0 -0
- package/package.json +1 -1
- package/skills/slates-character-identity.md +1 -1
- package/skills/slates-model-selection.md +7 -5
- package/skills/slates-prompting-gpt-image-2-5.md +183 -0
- package/skills/slates-prompting-nano-banana-2.md +1 -1
- package/skills/slates-prompting-seedance-2-5.md +3 -1
- package/skills/slates-prompting-seedance.md +3 -1
- package/skills/slates-ugc-influencer-ad.md +5 -3
- package/skills/slates-vision-feedback-loop.md +2 -2
- package/skills/slates-prompting-gpt-image-2.md +0 -109
|
@@ -199,8 +199,24 @@ function readParams(v) {
|
|
|
199
199
|
b('multiShot');
|
|
200
200
|
b('audioLoop');
|
|
201
201
|
b('audioMultilingual');
|
|
202
|
-
|
|
202
|
+
// Shape validation only. The pre-2026-09-09 tier MIGRATION deliberately does
|
|
203
|
+
// NOT live here: this file is a dependency-free leaf, and the migration's
|
|
204
|
+
// SSOT is `migrateGptQuality` in slate/src/shared/pricing.ts, applied in
|
|
205
|
+
// `transform` (slate/src/main/storage/shots.ts) — the one place a DB row
|
|
206
|
+
// becomes a `Shot`. NOT in `resolveShotSpec`: by the time a spec reaches that
|
|
207
|
+
// function its gate value (`gpt-image-2`) has already been rewritten, so a
|
|
208
|
+
// copy there could never fire. A stored value outside the union is dropped
|
|
209
|
+
// exactly as before — it just has five legal names now instead of two.
|
|
210
|
+
if (raw.gptQuality === 'low' ||
|
|
211
|
+
raw.gptQuality === 'medium' ||
|
|
212
|
+
raw.gptQuality === 'high' ||
|
|
213
|
+
raw.gptQuality === 'xhigh' ||
|
|
214
|
+
raw.gptQuality === 'max') {
|
|
203
215
|
out.gptQuality = raw.gptQuality;
|
|
216
|
+
}
|
|
217
|
+
if (raw.gptBackground === 'auto' || raw.gptBackground === 'transparent' || raw.gptBackground === 'opaque') {
|
|
218
|
+
out.gptBackground = raw.gptBackground;
|
|
219
|
+
}
|
|
204
220
|
if (raw.gridMode === 'off' || raw.gridMode === '2x2' || raw.gridMode === '3x3')
|
|
205
221
|
out.gridMode = raw.gridMode;
|
|
206
222
|
if (Array.isArray(raw.multiShotSegments)) {
|