@clipform/mcp-server 2.0.3 → 2.0.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.
|
@@ -17833,7 +17833,8 @@ var MediaAssetItemSchema = external_exports.object({
|
|
|
17833
17833
|
})
|
|
17834
17834
|
).optional().describe("Per-word timestamps within the segment")
|
|
17835
17835
|
})
|
|
17836
|
-
).optional().describe("Word-level captions from clipform_generate_tts. Required for per-word highlighting - pass the full objects including 'words' arrays.")
|
|
17836
|
+
).optional().describe("Word-level captions from clipform_generate_tts. Required for per-word highlighting - pass the full objects including 'words' arrays."),
|
|
17837
|
+
ai_generated: external_exports.boolean().optional().describe("Whether this media was AI-generated. Drives the viewer's disclosure chip - set true for AI-rendered/synthesized media.")
|
|
17837
17838
|
});
|
|
17838
17839
|
function registerUploadMediaAssetTool(server) {
|
|
17839
17840
|
server.registerTool(
|
|
@@ -17890,6 +17891,7 @@ When a public URL is provided, the media is fetched and stored automatically. Fo
|
|
|
17890
17891
|
};
|
|
17891
17892
|
if (item.url) createBody.url = item.url;
|
|
17892
17893
|
if (item.captions) createBody.captions = item.captions;
|
|
17894
|
+
if (item.ai_generated !== void 0) createBody.ai_generated = item.ai_generated;
|
|
17893
17895
|
const created = await callApi(`/workspaces/${workspaceId}/media`, { method: "POST", body: createBody });
|
|
17894
17896
|
if (!created.ok) {
|
|
17895
17897
|
lines.push(`FAILED: ${created.error}`);
|
|
@@ -19917,4 +19919,4 @@ export {
|
|
|
19917
19919
|
RENDER_TIMING,
|
|
19918
19920
|
createServer
|
|
19919
19921
|
};
|
|
19920
|
-
//# sourceMappingURL=chunk-
|
|
19922
|
+
//# sourceMappingURL=chunk-CO4VUQDT.js.map
|