freebeat-mcp 0.2.0 → 0.2.1
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/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,11 @@ The format is based on Keep a Changelog, and this project follows Semantic Versi
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.2.1] - 2026-10-23
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- Lowered the `upload_video` remote download limit from 500 MB to 100 MB to reduce bandwidth abuse. Aligned the shared video file validator, so stdio local video uploads also use the 100 MB limit. Audio and image limits are unchanged.
|
|
13
|
+
|
|
9
14
|
## [0.2.0] - 2026-10-23
|
|
10
15
|
|
|
11
16
|
### Added
|
|
@@ -11,7 +11,7 @@ const REMOTE_VIDEO_TYPES = {
|
|
|
11
11
|
"video/quicktime": "mov",
|
|
12
12
|
"video/webm": "webm",
|
|
13
13
|
};
|
|
14
|
-
const MAX_VIDEO_BYTES =
|
|
14
|
+
const MAX_VIDEO_BYTES = 100 * 1024 * 1024;
|
|
15
15
|
export function registerUploadVideoTool(server, client, allowLocalFiles = true) {
|
|
16
16
|
const uploadService = new UploadService(client);
|
|
17
17
|
server.registerTool("upload_video", {
|
|
@@ -27,12 +27,12 @@ export function registerUploadVideoTool(server, client, allowLocalFiles = true)
|
|
|
27
27
|
file_path: z
|
|
28
28
|
.string()
|
|
29
29
|
.optional()
|
|
30
|
-
.describe("Local MP4, MOV, or WebM file path, up to
|
|
30
|
+
.describe("Local MP4, MOV, or WebM file path, up to 100 MB. Not available on the hosted server."),
|
|
31
31
|
url: z
|
|
32
32
|
.string()
|
|
33
33
|
.url()
|
|
34
34
|
.optional()
|
|
35
|
-
.describe("Public HTTPS url of an MP4, MOV, or WebM file, up to
|
|
35
|
+
.describe("Public HTTPS url of an MP4, MOV, or WebM file, up to 100 MB."),
|
|
36
36
|
},
|
|
37
37
|
outputSchema: {
|
|
38
38
|
success: z.literal(true),
|
package/dist/utils/file.js
CHANGED
|
@@ -29,7 +29,7 @@ const IMAGE_CONFIG = {
|
|
|
29
29
|
const VIDEO_CONFIG = {
|
|
30
30
|
acceptedTypes: ["video/mp4", "video/quicktime", "video/webm"],
|
|
31
31
|
normalizeMap: {},
|
|
32
|
-
maxSize:
|
|
32
|
+
maxSize: 100 * 1024 * 1024,
|
|
33
33
|
label: "video",
|
|
34
34
|
};
|
|
35
35
|
function detectMime(filePath, normalizeMap) {
|