@happyvertical/smrt-video 0.49.2 → 0.49.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.
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/smrt-video",
6
- "packageVersion": "0.49.2",
6
+ "packageVersion": "0.49.4",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "a00c3a0473019fe10985bdd6dd97a50275f62c04439ed0a93f71b9dfd76c19f7",
11
- "packageJson": "33ec4dd74953a3b58e0feff03d6996f0b4861464bf7412c3d51ddc28b3c11e4f",
10
+ "manifest": "3eaadbc123d38d4ea6b99301fec60b5016265c25191cee2a6fc2125b03d46409",
11
+ "packageJson": "09f4199003c6a9e112d5122442e88411b6be3c6465e5c6c7e091032917bb1917",
12
12
  "agents": "01c6489f21d949868550deecb68d3a1e264b9dee396ef437330aa3eb81c6a0c9"
13
13
  },
14
14
  "exports": [
@@ -1181,7 +1181,7 @@
1181
1181
  "name": "CharacterCollection",
1182
1182
  "qualifiedName": "@happyvertical/smrt-video:CharacterCollection",
1183
1183
  "collection": "characters",
1184
- "tableName": "character_collections",
1184
+ "tableName": "characters",
1185
1185
  "packageName": "@happyvertical/smrt-video",
1186
1186
  "extends": "SmrtCollection",
1187
1187
  "fields": [],
@@ -9247,7 +9247,7 @@
9247
9247
  "name": "VideoShotCharacterCollection",
9248
9248
  "qualifiedName": "@happyvertical/smrt-video:VideoShotCharacterCollection",
9249
9249
  "collection": "videoshotcharacters",
9250
- "tableName": "video_shot_character_collections",
9250
+ "tableName": "video_shot_characters",
9251
9251
  "packageName": "@happyvertical/smrt-video",
9252
9252
  "extends": "SmrtCollection",
9253
9253
  "fields": [],
@@ -14761,7 +14761,7 @@
14761
14761
  "junctionCollections": 3,
14762
14762
  "hierarchicalObjects": 0,
14763
14763
  "polymorphicAssociations": 0,
14764
- "uuidColumns": 146
14764
+ "uuidColumns": 189
14765
14765
  },
14766
14766
  "agentDoc": "# @happyvertical/smrt-video\n\nAI video production pipeline: characters, performers, scenes, shots, sequences, compositions, and ComfyUI workflow integration.\n\n## Models\n\n- **Character** (renamed from PersonalityProfile): visual + voice identity. `imageAssetId`, `voiceProfileId` FK, branding config (logo, colors, fonts, lower-thirds). Scene-specific position/scale configs.\n- **Performer**: physical likeness for IP-Adapter FaceID. `faceEmbedding` (512-dim), `referenceAssetIds`, `ipAdapterWeight`.\n- **Scene**: virtual background. `sourceType` (image/video/panorama_360/panorama_180), `projection`, `viewpoints` array (pan/tilt/fov), `lightingProfile`, `anchorPoints`.\n- **VideoShot** (extends Content): atomic generation unit. `durationInFrames`, `scriptText`, `scriptWordCount`. Estimated duration: `scriptWordCount / 2.7` words/sec (±15% tolerance). `videoMetadata` includes `wordTimings` for lip-sync.\n- **VideoSequence** (extends Content): thematic section with `transitionType` (none/fade/slide/wipe), position ordering.\n- **VideoComposition** (extends Content): top-level container — `fps`, `width`, `height`, `durationInFrames`, `renderStatus`/`renderProgress`.\n- **VideoShotCharacter**: junction (shot ↔ character) with role (primary/secondary/background), position, duration.\n- **VideoWorkflow**: ComfyUI template. `workflowJson`, `nodeMapping` (maps semantic names → node IDs), `workflowType` (prebake/broadcast/lipsync/postprod/custom). `injectParameters()` deep-clones workflow + overwrites `node.inputs`.\n\n## Design Principles\n\n- **Store frames, compute seconds**: `durationInFrames` everywhere; seconds = frames / fps\n- **Content inheritance**: VideoShot, VideoSequence, VideoComposition all extend Content from smrt-content\n- **Hierarchy**: Composition → Sequence → Shot → ShotCharacter\n- **Owned asset normalization**: `CharacterOwnedAsset`, `PerformerOwnedAsset`, and `SceneOwnedAsset` are canonical noun joins; `VideoShot`/`VideoSequence`/`VideoComposition` use inherited `content_assets`\n\n## Gotchas\n\n- **PersonalityProfile → Character rename**: old name still exported for backwards compatibility\n- **Legacy video STI asset rows**: reads still union canonical joins with legacy STI asset records during migration, but new writes go through the model helpers / join tables\n- **Schema rollout**: run `smrt db:migrate` before relying on `character_assets` / `performer_assets` / `scene_assets` writes; reads still tolerate those tables being absent during migration\n- **ComfyUI injectParameters()**: assumes `node.inputs` exists; warnings logged in dev mode\n- **Frame arithmetic**: `trimBeforeFrames`/`trimAfterFrames` require manual effective frame calculation\n- **Word timings from external TTS**: `wordTimings` array not generated by framework — requires external provider\n- **IP-Adapter weights**: `faceEmbedding` upload not handled; weight is metadata-only (0.5-1.0)\n- **Optional tenancy** on all core models\n"
14767
14767
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-video",
3
- "version": "0.49.2",
3
+ "version": "0.49.4",
4
4
  "type": "module",
5
5
  "description": "Video content management for AI-powered video production in the SMRT ecosystem",
6
6
  "author": "HappyVertical",
@@ -30,17 +30,17 @@
30
30
  ],
31
31
  "dependencies": {
32
32
  "@happyvertical/logger": "^0.89.6",
33
- "@happyvertical/smrt-assets": "0.49.2",
34
- "@happyvertical/smrt-config": "0.49.2",
35
- "@happyvertical/smrt-content": "0.49.2",
36
- "@happyvertical/smrt-core": "0.49.2",
37
- "@happyvertical/smrt-profiles": "0.49.2",
38
- "@happyvertical/smrt-tenancy": "0.49.2",
39
- "@happyvertical/smrt-voice": "0.49.2",
33
+ "@happyvertical/smrt-assets": "0.49.4",
34
+ "@happyvertical/smrt-config": "0.49.4",
35
+ "@happyvertical/smrt-content": "0.49.4",
36
+ "@happyvertical/smrt-core": "0.49.4",
37
+ "@happyvertical/smrt-profiles": "0.49.4",
38
+ "@happyvertical/smrt-tenancy": "0.49.4",
39
+ "@happyvertical/smrt-voice": "0.49.4",
40
40
  "@happyvertical/utils": "^0.89.6"
41
41
  },
42
42
  "devDependencies": {
43
- "@happyvertical/smrt-vitest": "0.49.2",
43
+ "@happyvertical/smrt-vitest": "0.49.4",
44
44
  "@happyvertical/sql": "^0.89.6",
45
45
  "@types/node": "24.13.2",
46
46
  "typescript": "5.9.3",