@shumai-one/shumai-transcode 0.5.1 → 0.5.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shumai-one/shumai-transcode",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "Media transcoding worker for the shumai media workspace",
5
5
  "type": "module",
6
6
  "bin": {
@@ -28,12 +28,12 @@
28
28
  "exiftool-vendored": "38.1.0"
29
29
  },
30
30
  "optionalDependencies": {
31
- "@shumai-one/shumai-transcode-darwin-arm64": "0.5.1",
32
- "@shumai-one/shumai-transcode-darwin-x64": "0.5.1",
33
- "@shumai-one/shumai-transcode-linux-arm64": "0.5.1",
34
- "@shumai-one/shumai-transcode-linux-x64": "0.5.1",
35
- "@shumai-one/shumai-transcode-win32-arm64": "0.5.1",
36
- "@shumai-one/shumai-transcode-win32-x64": "0.5.1"
31
+ "@shumai-one/shumai-transcode-darwin-arm64": "0.5.3",
32
+ "@shumai-one/shumai-transcode-darwin-x64": "0.5.3",
33
+ "@shumai-one/shumai-transcode-linux-arm64": "0.5.3",
34
+ "@shumai-one/shumai-transcode-linux-x64": "0.5.3",
35
+ "@shumai-one/shumai-transcode-win32-arm64": "0.5.3",
36
+ "@shumai-one/shumai-transcode-win32-x64": "0.5.3"
37
37
  },
38
38
  "repository": {
39
39
  "type": "git",
@@ -0,0 +1,2 @@
1
+ -- AlterEnum
2
+ ALTER TYPE "WorkflowTaskType" ADD VALUE 'transcode_3d';
@@ -0,0 +1,8 @@
1
+ -- AlterTable
2
+ ALTER TABLE "asset_embeddings" ADD COLUMN "embedding_768" vector(768);
3
+
4
+ -- CreateIndex: HNSW index on asset_embeddings.embedding_768
5
+ CREATE INDEX "AssetEmbedding_embedding_768_idx"
6
+ ON "asset_embeddings"
7
+ USING hnsw (embedding_768 vector_cosine_ops)
8
+ WITH (m = 16, ef_construction = 64);
@@ -121,6 +121,7 @@ enum WorkflowTaskType {
121
121
  transcode_screenshot
122
122
  transcode_image_annotation
123
123
  transcode_watermark
124
+ transcode_3d
124
125
  ai_metadata_autofill
125
126
  chat
126
127
  ai_embedding
@@ -705,17 +706,19 @@ model AssetCommentReaction {
705
706
  }
706
707
 
707
708
  model AssetEmbedding {
708
- id String @id @default(ulid())
709
- embedding Unsupported("vector(1536)")?
710
- startTime Float? @map("start_time")
711
- endTime Float? @map("end_time")
712
- createdAt DateTime @default(now()) @map("created_at")
713
- updatedAt DateTime @updatedAt @map("updated_at")
709
+ id String @id @default(ulid())
710
+ embedding Unsupported("vector(1536)")?
711
+ embedding768 Unsupported("vector(768)")? @map("embedding_768")
712
+ startTime Float? @map("start_time")
713
+ endTime Float? @map("end_time")
714
+ createdAt DateTime @default(now()) @map("created_at")
715
+ updatedAt DateTime @updatedAt @map("updated_at")
714
716
 
715
- assetId String @map("asset_id")
716
- asset Asset @relation("AssetToEmbedding", fields: [assetId], references: [id], onDelete: Cascade)
717
+ assetId String @map("asset_id")
718
+ asset Asset @relation("AssetToEmbedding", fields: [assetId], references: [id], onDelete: Cascade)
717
719
 
718
720
  @@index([embedding], name: "AssetEmbedding_embedding_idx")
721
+ @@index([embedding768], name: "AssetEmbedding_embedding_768_idx")
719
722
  @@map("asset_embeddings")
720
723
  }
721
724
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes