@speakai/mcp-server 1.12.1 → 1.12.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/dist/index.js +2 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4312,8 +4312,7 @@ ${JSON.stringify(uploadRes.data, null, 2)}` }],
|
|
|
4312
4312
|
params: { isVideo, filename, mimeType }
|
|
4313
4313
|
});
|
|
4314
4314
|
const signedData = signedRes.data?.data;
|
|
4315
|
-
const uploadUrl = signedData?.signedUrl ?? signedData?.url;
|
|
4316
|
-
const s3Key = signedData?.key ?? signedData?.s3Key;
|
|
4315
|
+
const uploadUrl = signedData?.preSignedUrl ?? signedData?.signedUrl ?? signedData?.url;
|
|
4317
4316
|
if (!uploadUrl) {
|
|
4318
4317
|
return {
|
|
4319
4318
|
content: [{ type: "text", text: `Error: Could not get signed upload URL.
|
|
@@ -4333,10 +4332,9 @@ ${JSON.stringify(signedRes.data, null, 2)}` }],
|
|
|
4333
4332
|
const createBody = {
|
|
4334
4333
|
name: params.name ?? filename,
|
|
4335
4334
|
url: uploadUrl.split("?")[0],
|
|
4336
|
-
// S3 URL without query params
|
|
4335
|
+
// S3 URL without query params; server re-signs via CloudFront
|
|
4337
4336
|
mediaType
|
|
4338
4337
|
};
|
|
4339
|
-
if (s3Key) createBody.s3Key = s3Key;
|
|
4340
4338
|
if (params.sourceLanguage) createBody.sourceLanguage = params.sourceLanguage;
|
|
4341
4339
|
if (params.folderId) createBody.folderId = params.folderId;
|
|
4342
4340
|
if (params.tags) createBody.tags = params.tags;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@speakai/mcp-server",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.2",
|
|
4
4
|
"mcpName": "io.github.speakai/mcp-server",
|
|
5
5
|
"description": "Official Speak AI MCP Server — capture meetings, search thousands of recordings, run async voice and video surveys, create clips, and automate workflows from your AI assistant.",
|
|
6
6
|
"homepage": "https://mcp.speakai.co",
|