vidgen 0.0.1 → 0.0.2

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/README.md CHANGED
@@ -20,7 +20,7 @@ $ npm install -g vidgen
20
20
  $ vidgen COMMAND
21
21
  running command...
22
22
  $ vidgen (--version)
23
- vidgen/0.0.1 darwin-x64 node-v24.1.0
23
+ vidgen/0.0.2 darwin-x64 node-v24.1.0
24
24
  $ vidgen --help [COMMAND]
25
25
  USAGE
26
26
  $ vidgen COMMAND
@@ -57,6 +57,7 @@ USAGE
57
57
  * [`vidgen segment delete ID`](#vidgen-segment-delete-id)
58
58
  * [`vidgen segment list PROJECTID`](#vidgen-segment-list-projectid)
59
59
  * [`vidgen segment update ID`](#vidgen-segment-update-id)
60
+ * [`vidgen storage upload`](#vidgen-storage-upload)
60
61
  * [`vidgen video caption`](#vidgen-video-caption)
61
62
  * [`vidgen video trim`](#vidgen-video-trim)
62
63
 
@@ -75,7 +76,7 @@ EXAMPLES
75
76
  $ vidgen db init
76
77
  ```
77
78
 
78
- _See code: [src/commands/db/init.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/db/init.ts)_
79
+ _See code: [src/commands/db/init.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/db/init.ts)_
79
80
 
80
81
  ## `vidgen generate stt`
81
82
 
@@ -100,7 +101,7 @@ EXAMPLES
100
101
  $ vidgen generate stt --audio https://storage.example.com/seg_001.mp3 --output ./captions/seg_001.json
101
102
  ```
102
103
 
103
- _See code: [src/commands/generate/stt.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/generate/stt.ts)_
104
+ _See code: [src/commands/generate/stt.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/generate/stt.ts)_
104
105
 
105
106
  ## `vidgen generate tts`
106
107
 
@@ -122,7 +123,7 @@ EXAMPLES
122
123
  $ vidgen generate tts --text "Blockchain is revolutionizing..." --voiceId en-US-1 --output ./audio/seg_001.mp3
123
124
  ```
124
125
 
125
- _See code: [src/commands/generate/tts.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/generate/tts.ts)_
126
+ _See code: [src/commands/generate/tts.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/generate/tts.ts)_
126
127
 
127
128
  ## `vidgen help [COMMAND]`
128
129
 
@@ -164,7 +165,7 @@ EXAMPLES
164
165
  $ vidgen index chunk --url ./video.mp4 --duration 5 --output ./chunks
165
166
  ```
166
167
 
167
- _See code: [src/commands/index/chunk.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/index/chunk.ts)_
168
+ _See code: [src/commands/index/chunk.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/index/chunk.ts)_
168
169
 
169
170
  ## `vidgen index describe`
170
171
 
@@ -186,7 +187,7 @@ EXAMPLES
186
187
  $ vidgen index describe --image ./chunks/frame_001.jpg --output ./descriptions/frame_001.json
187
188
  ```
188
189
 
189
- _See code: [src/commands/index/describe.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/index/describe.ts)_
190
+ _See code: [src/commands/index/describe.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/index/describe.ts)_
190
191
 
191
192
  ## `vidgen index embed`
192
193
 
@@ -208,7 +209,7 @@ EXAMPLES
208
209
  $ vidgen index embed --text "A bitcoin coin spinning on a blue background" --output ./embeddings/frame_001.json
209
210
  ```
210
211
 
211
- _See code: [src/commands/index/embed.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/index/embed.ts)_
212
+ _See code: [src/commands/index/embed.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/index/embed.ts)_
212
213
 
213
214
  ## `vidgen index save`
214
215
 
@@ -229,7 +230,7 @@ EXAMPLES
229
230
  $ vidgen index save --metadata ./chunk_001_meta.json --db postgresql://user:pass@localhost/db
230
231
  ```
231
232
 
232
- _See code: [src/commands/index/save.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/index/save.ts)_
233
+ _See code: [src/commands/index/save.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/index/save.ts)_
233
234
 
234
235
  ## `vidgen plugins`
235
236
 
@@ -542,7 +543,7 @@ EXAMPLES
542
543
  $ vidgen project create --title "Crypto Explainers" --aspectRatio 9:16
543
544
  ```
544
545
 
545
- _See code: [src/commands/project/create.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/project/create.ts)_
546
+ _See code: [src/commands/project/create.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/project/create.ts)_
546
547
 
547
548
  ## `vidgen project delete ID`
548
549
 
@@ -562,7 +563,7 @@ EXAMPLES
562
563
  $ vidgen project delete <project-id>
563
564
  ```
564
565
 
565
- _See code: [src/commands/project/delete.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/project/delete.ts)_
566
+ _See code: [src/commands/project/delete.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/project/delete.ts)_
566
567
 
567
568
  ## `vidgen project get ID`
568
569
 
@@ -582,7 +583,7 @@ EXAMPLES
582
583
  $ vidgen project get <project-id>
583
584
  ```
584
585
 
585
- _See code: [src/commands/project/get.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/project/get.ts)_
586
+ _See code: [src/commands/project/get.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/project/get.ts)_
586
587
 
587
588
  ## `vidgen project list`
588
589
 
@@ -599,7 +600,7 @@ EXAMPLES
599
600
  $ vidgen project list
600
601
  ```
601
602
 
602
- _See code: [src/commands/project/list.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/project/list.ts)_
603
+ _See code: [src/commands/project/list.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/project/list.ts)_
603
604
 
604
605
  ## `vidgen project validate`
605
606
 
@@ -622,7 +623,7 @@ EXAMPLES
622
623
  $ vidgen project validate --schema ./schema.json --strict
623
624
  ```
624
625
 
625
- _See code: [src/commands/project/validate.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/project/validate.ts)_
626
+ _See code: [src/commands/project/validate.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/project/validate.ts)_
626
627
 
627
628
  ## `vidgen search asset`
628
629
 
@@ -647,7 +648,7 @@ EXAMPLES
647
648
  $ vidgen search asset --query "bitcoin coin spinning on blue background" --db postgresql://user:pass@localhost/db --limit 3
648
649
  ```
649
650
 
650
- _See code: [src/commands/search/asset.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/search/asset.ts)_
651
+ _See code: [src/commands/search/asset.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/search/asset.ts)_
651
652
 
652
653
  ## `vidgen segment add`
653
654
 
@@ -669,7 +670,7 @@ EXAMPLES
669
670
  $ vidgen segment add --projectId <project-id> --data '{"title":"Scene 1","text":"Hello"}' --order 0
670
671
  ```
671
672
 
672
- _See code: [src/commands/segment/add.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/segment/add.ts)_
673
+ _See code: [src/commands/segment/add.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/segment/add.ts)_
673
674
 
674
675
  ## `vidgen segment delete ID`
675
676
 
@@ -689,7 +690,7 @@ EXAMPLES
689
690
  $ vidgen segment delete <segment-id>
690
691
  ```
691
692
 
692
- _See code: [src/commands/segment/delete.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/segment/delete.ts)_
693
+ _See code: [src/commands/segment/delete.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/segment/delete.ts)_
693
694
 
694
695
  ## `vidgen segment list PROJECTID`
695
696
 
@@ -709,7 +710,7 @@ EXAMPLES
709
710
  $ vidgen segment list <project-id>
710
711
  ```
711
712
 
712
- _See code: [src/commands/segment/list.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/segment/list.ts)_
713
+ _See code: [src/commands/segment/list.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/segment/list.ts)_
713
714
 
714
715
  ## `vidgen segment update ID`
715
716
 
@@ -733,7 +734,28 @@ EXAMPLES
733
734
  $ vidgen segment update <segment-id> --data '{"title":"New Title"}'
734
735
  ```
735
736
 
736
- _See code: [src/commands/segment/update.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/segment/update.ts)_
737
+ _See code: [src/commands/segment/update.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/segment/update.ts)_
738
+
739
+ ## `vidgen storage upload`
740
+
741
+ Upload a file to R2 storage.
742
+
743
+ ```
744
+ USAGE
745
+ $ vidgen storage upload -f <value> [-n <value>]
746
+
747
+ FLAGS
748
+ -f, --file=<value> (required) Local path to the file to upload
749
+ -n, --name=<value> Remote name for the file (defaults to local filename)
750
+
751
+ DESCRIPTION
752
+ Upload a file to R2 storage.
753
+
754
+ EXAMPLES
755
+ $ vidgen storage upload --file ./video.mp4 --name final_video.mp4
756
+ ```
757
+
758
+ _See code: [src/commands/storage/upload.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/storage/upload.ts)_
737
759
 
738
760
  ## `vidgen video caption`
739
761
 
@@ -753,7 +775,7 @@ DESCRIPTION
753
775
  Generate SRT captions from a JSON transcript and optionally embed them into a video.
754
776
  ```
755
777
 
756
- _See code: [src/commands/video/caption.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/video/caption.ts)_
778
+ _See code: [src/commands/video/caption.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/video/caption.ts)_
757
779
 
758
780
  ## `vidgen video trim`
759
781
 
@@ -777,5 +799,5 @@ EXAMPLES
777
799
  $ vidgen video trim --input input.mp4 --start 00:00:10 --end 00:00:20 --output trimmed.mp4
778
800
  ```
779
801
 
780
- _See code: [src/commands/video/trim.ts](https://github.com/xo-o/vidgen/blob/v0.0.1/src/commands/video/trim.ts)_
802
+ _See code: [src/commands/video/trim.ts](https://github.com/xo-o/vidgen/blob/v0.0.2/src/commands/video/trim.ts)_
781
803
  <!-- commandsstop -->
@@ -0,0 +1,10 @@
1
+ import { Command } from '@oclif/core';
2
+ export default class StorageUpload extends Command {
3
+ static description: string;
4
+ static examples: string[];
5
+ static flags: {
6
+ file: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
7
+ name: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
+ };
9
+ run(): Promise<void>;
10
+ }
@@ -0,0 +1,49 @@
1
+ import { Command, Flags } from '@oclif/core';
2
+ import * as fs from 'node:fs/promises';
3
+ import { R2StorageService } from '../../lib/r2-storage.js';
4
+ export default class StorageUpload extends Command {
5
+ static description = 'Upload a file to R2 storage.';
6
+ static examples = [
7
+ '<%= config.bin %> <%= command.id %> --file ./video.mp4 --name final_video.mp4',
8
+ ];
9
+ static flags = {
10
+ file: Flags.string({
11
+ char: 'f',
12
+ description: 'Local path to the file to upload',
13
+ required: true,
14
+ }),
15
+ name: Flags.string({
16
+ char: 'n',
17
+ description: 'Remote name for the file (defaults to local filename)',
18
+ }),
19
+ };
20
+ async run() {
21
+ const { flags } = await this.parse(StorageUpload);
22
+ const bucketName = process.env.R2_BUCKET_NAME;
23
+ const accessKeyId = process.env.R2_ACCESS_KEY_ID;
24
+ const secretAccessKey = process.env.R2_SECRET_ACCESS_KEY;
25
+ const accountId = process.env.R2_ACCOUNT_ID;
26
+ const cdn = process.env.R2_CDN;
27
+ if (!bucketName || !accessKeyId || !secretAccessKey || !accountId || !cdn) {
28
+ this.error('Missing R2 environment variables. Please set R2_BUCKET_NAME, R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY, R2_ACCOUNT_ID, and R2_CDN.');
29
+ }
30
+ const storage = new R2StorageService({
31
+ accessKeyId,
32
+ accountId,
33
+ bucketName,
34
+ cdn,
35
+ secretAccessKey,
36
+ });
37
+ this.log(`[storage:upload] Uploading ${flags.file}...`);
38
+ try {
39
+ const fileData = await fs.readFile(flags.file);
40
+ const fileName = flags.name || flags.file.split('/').pop() || 'upload';
41
+ const url = await storage.uploadData(fileName, fileData);
42
+ this.log(`[storage:upload] Success! URL: ${url}`);
43
+ this.log(JSON.stringify({ url }));
44
+ }
45
+ catch (error) {
46
+ this.error(`Upload failed: ${error instanceof Error ? error.message : error}`);
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,30 @@
1
+ interface r2Params {
2
+ bucketName: string;
3
+ accessKeyId: string;
4
+ secretAccessKey: string;
5
+ accountId: string;
6
+ cdn: string;
7
+ }
8
+ interface PresignedUrlOptions {
9
+ expiresIn?: number;
10
+ contentType?: string;
11
+ }
12
+ export interface PresignedUpload {
13
+ fileName: string;
14
+ filePath: string;
15
+ contentType: string;
16
+ presignedUrl: string;
17
+ url: string;
18
+ }
19
+ export declare class R2StorageService {
20
+ private client;
21
+ private bucketName;
22
+ private accountId;
23
+ private cdn;
24
+ constructor(params: r2Params);
25
+ uploadData(fileName: string, data: Buffer | string, contentType?: string): Promise<string>;
26
+ uploadJson(fileName: string, data: any): Promise<string>;
27
+ createPresignedUpload(filePath: string, options?: PresignedUrlOptions): Promise<PresignedUpload>;
28
+ getUrl(fileName: string): string;
29
+ }
30
+ export {};
@@ -0,0 +1,70 @@
1
+ import { S3Client, PutObjectCommand } from '@aws-sdk/client-s3';
2
+ import { getSignedUrl } from '@aws-sdk/s3-request-presigner';
3
+ import mime from 'mime/lite';
4
+ export class R2StorageService {
5
+ client;
6
+ bucketName;
7
+ accountId;
8
+ cdn;
9
+ constructor(params) {
10
+ this.bucketName = params.bucketName;
11
+ this.accountId = params.accountId;
12
+ this.cdn = params.cdn;
13
+ this.client = new S3Client({
14
+ region: 'auto',
15
+ endpoint: `https://${params.accountId}.r2.cloudflarestorage.com`,
16
+ credentials: {
17
+ accessKeyId: params.accessKeyId,
18
+ secretAccessKey: params.secretAccessKey,
19
+ },
20
+ });
21
+ }
22
+ async uploadData(fileName, data, contentType = 'application/octet-stream') {
23
+ try {
24
+ const type = mime.getType(fileName) || contentType;
25
+ await this.client.send(new PutObjectCommand({
26
+ Bucket: this.bucketName,
27
+ Key: fileName,
28
+ Body: data,
29
+ ContentType: type,
30
+ }));
31
+ const url = this.getUrl(fileName);
32
+ //console.log("[R2] Upload complete. URL:", url);
33
+ return url;
34
+ }
35
+ catch (error) {
36
+ console.error('[R2] Failed to upload file:', fileName);
37
+ console.error('[R2] Error stack:', error instanceof Error ? error.stack : error);
38
+ throw new Error('Failed to upload to R2');
39
+ }
40
+ }
41
+ async uploadJson(fileName, data) {
42
+ const content = JSON.stringify(data);
43
+ return this.uploadData(fileName, content, 'application/json');
44
+ }
45
+ async createPresignedUpload(filePath, options = {}) {
46
+ const inferredType = options.contentType ||
47
+ mime.getType(filePath) ||
48
+ 'application/octet-stream';
49
+ const command = new PutObjectCommand({
50
+ Bucket: this.bucketName,
51
+ Key: filePath,
52
+ ContentType: inferredType,
53
+ });
54
+ const presignedUrl = await getSignedUrl(this.client, command, {
55
+ expiresIn: options.expiresIn ?? 3600,
56
+ });
57
+ return {
58
+ fileName: filePath.split('/').pop() || filePath,
59
+ filePath,
60
+ contentType: inferredType,
61
+ presignedUrl,
62
+ url: this.getUrl(filePath),
63
+ };
64
+ }
65
+ getUrl(fileName) {
66
+ //return `https://${this.bucketName}.${this.accountId}.r2.cloudflarestorage.com/${fileName}`;
67
+ //return `https://subgen-storage.${this.accountId}.r2.cloudflarestorage.com/${fileName}`
68
+ return `${this.cdn}/${fileName}`;
69
+ }
70
+ }
@@ -343,70 +343,6 @@
343
343
  "save.js"
344
344
  ]
345
345
  },
346
- "search:asset": {
347
- "aliases": [],
348
- "args": {},
349
- "description": "Semantically search the video RAG database for the best matching clip for a given query. Returns matching VisualBroll / Clip metadata.",
350
- "examples": [
351
- "<%= config.bin %> <%= command.id %> --query \"bitcoin coin spinning on blue background\" --db postgresql://user:pass@localhost/db --limit 3"
352
- ],
353
- "flags": {
354
- "db": {
355
- "char": "d",
356
- "description": "Database connection string",
357
- "name": "db",
358
- "required": true,
359
- "hasDynamicHelp": false,
360
- "multiple": false,
361
- "type": "option"
362
- },
363
- "limit": {
364
- "char": "l",
365
- "description": "Maximum number of results to return",
366
- "name": "limit",
367
- "default": 1,
368
- "hasDynamicHelp": false,
369
- "multiple": false,
370
- "type": "option"
371
- },
372
- "query": {
373
- "char": "q",
374
- "description": "The natural language search query (e.g. comes from a Segment's searchQuery field)",
375
- "name": "query",
376
- "required": true,
377
- "hasDynamicHelp": false,
378
- "multiple": false,
379
- "type": "option"
380
- },
381
- "type": {
382
- "char": "t",
383
- "description": "Filter results by asset type",
384
- "name": "type",
385
- "hasDynamicHelp": false,
386
- "multiple": false,
387
- "options": [
388
- "video",
389
- "image"
390
- ],
391
- "type": "option"
392
- }
393
- },
394
- "hasDynamicHelp": false,
395
- "hiddenAliases": [],
396
- "id": "search:asset",
397
- "pluginAlias": "vidgen",
398
- "pluginName": "vidgen",
399
- "pluginType": "core",
400
- "strict": true,
401
- "enableJsonFlag": false,
402
- "isESM": true,
403
- "relativePath": [
404
- "dist",
405
- "commands",
406
- "search",
407
- "asset.js"
408
- ]
409
- },
410
346
  "project:create": {
411
347
  "aliases": [],
412
348
  "args": {},
@@ -590,6 +526,70 @@
590
526
  "validate.js"
591
527
  ]
592
528
  },
529
+ "search:asset": {
530
+ "aliases": [],
531
+ "args": {},
532
+ "description": "Semantically search the video RAG database for the best matching clip for a given query. Returns matching VisualBroll / Clip metadata.",
533
+ "examples": [
534
+ "<%= config.bin %> <%= command.id %> --query \"bitcoin coin spinning on blue background\" --db postgresql://user:pass@localhost/db --limit 3"
535
+ ],
536
+ "flags": {
537
+ "db": {
538
+ "char": "d",
539
+ "description": "Database connection string",
540
+ "name": "db",
541
+ "required": true,
542
+ "hasDynamicHelp": false,
543
+ "multiple": false,
544
+ "type": "option"
545
+ },
546
+ "limit": {
547
+ "char": "l",
548
+ "description": "Maximum number of results to return",
549
+ "name": "limit",
550
+ "default": 1,
551
+ "hasDynamicHelp": false,
552
+ "multiple": false,
553
+ "type": "option"
554
+ },
555
+ "query": {
556
+ "char": "q",
557
+ "description": "The natural language search query (e.g. comes from a Segment's searchQuery field)",
558
+ "name": "query",
559
+ "required": true,
560
+ "hasDynamicHelp": false,
561
+ "multiple": false,
562
+ "type": "option"
563
+ },
564
+ "type": {
565
+ "char": "t",
566
+ "description": "Filter results by asset type",
567
+ "name": "type",
568
+ "hasDynamicHelp": false,
569
+ "multiple": false,
570
+ "options": [
571
+ "video",
572
+ "image"
573
+ ],
574
+ "type": "option"
575
+ }
576
+ },
577
+ "hasDynamicHelp": false,
578
+ "hiddenAliases": [],
579
+ "id": "search:asset",
580
+ "pluginAlias": "vidgen",
581
+ "pluginName": "vidgen",
582
+ "pluginType": "core",
583
+ "strict": true,
584
+ "enableJsonFlag": false,
585
+ "isESM": true,
586
+ "relativePath": [
587
+ "dist",
588
+ "commands",
589
+ "search",
590
+ "asset.js"
591
+ ]
592
+ },
593
593
  "video:caption": {
594
594
  "aliases": [],
595
595
  "args": {},
@@ -709,6 +709,48 @@
709
709
  "trim.js"
710
710
  ]
711
711
  },
712
+ "storage:upload": {
713
+ "aliases": [],
714
+ "args": {},
715
+ "description": "Upload a file to R2 storage.",
716
+ "examples": [
717
+ "<%= config.bin %> <%= command.id %> --file ./video.mp4 --name final_video.mp4"
718
+ ],
719
+ "flags": {
720
+ "file": {
721
+ "char": "f",
722
+ "description": "Local path to the file to upload",
723
+ "name": "file",
724
+ "required": true,
725
+ "hasDynamicHelp": false,
726
+ "multiple": false,
727
+ "type": "option"
728
+ },
729
+ "name": {
730
+ "char": "n",
731
+ "description": "Remote name for the file (defaults to local filename)",
732
+ "name": "name",
733
+ "hasDynamicHelp": false,
734
+ "multiple": false,
735
+ "type": "option"
736
+ }
737
+ },
738
+ "hasDynamicHelp": false,
739
+ "hiddenAliases": [],
740
+ "id": "storage:upload",
741
+ "pluginAlias": "vidgen",
742
+ "pluginName": "vidgen",
743
+ "pluginType": "core",
744
+ "strict": true,
745
+ "enableJsonFlag": false,
746
+ "isESM": true,
747
+ "relativePath": [
748
+ "dist",
749
+ "commands",
750
+ "storage",
751
+ "upload.js"
752
+ ]
753
+ },
712
754
  "segment:add": {
713
755
  "aliases": [],
714
756
  "args": {},
@@ -870,5 +912,5 @@
870
912
  ]
871
913
  }
872
914
  },
873
- "version": "0.0.1"
915
+ "version": "0.0.2"
874
916
  }
package/package.json CHANGED
@@ -1,18 +1,21 @@
1
1
  {
2
2
  "name": "vidgen",
3
3
  "description": "A CLI for all video tasks",
4
- "version": "0.0.1",
4
+ "version": "0.0.2",
5
5
  "author": "Dany Boza",
6
6
  "bin": {
7
7
  "vidgen": "./bin/run.js"
8
8
  },
9
9
  "bugs": "https://github.com/xo-o/vidgen/issues",
10
10
  "dependencies": {
11
+ "@aws-sdk/client-s3": "^3.967.0",
12
+ "@aws-sdk/s3-request-presigner": "^3.967.0",
11
13
  "@deepgram/sdk": "^4.11.2",
12
14
  "@libsql/client": "^0.17.0",
13
15
  "@oclif/core": "^4",
14
16
  "@oclif/plugin-help": "^6",
15
17
  "@oclif/plugin-plugins": "^5",
18
+ "mime": "^4.1.0",
16
19
  "tinyld": "^1.3.4",
17
20
  "uuid": "^13.0.0"
18
21
  },