@writepanda/mcp 1.18.0 → 1.19.0

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.
Files changed (2) hide show
  1. package/bin/server.mjs +11 -1
  2. package/package.json +1 -1
package/bin/server.mjs CHANGED
@@ -354,7 +354,7 @@ const TOOLS = [
354
354
  {
355
355
  name: "project_add_zoom",
356
356
  description:
357
- "Add a zoom region — highlight a UI moment. Typical pattern: find 'click X' in transcript, drop zoom there. Ships with a short swoosh SFX by default; pass soundUrl=\"none\" for silent.",
357
+ "Add a zoom region — highlight a UI moment. Typical pattern: find 'click X' in transcript, drop zoom there. ALWAYS pass anchorSourceMs (= the same source-time value you use for atMs) when picking from a transcript word — without it, the zoom drifts off the moment as soon as any trim is added (which the YouTube editing playbook always does via remove-fillers / remove-silences). Ships with a short swoosh SFX by default; pass soundUrl=\"none\" for silent.",
358
358
  inputSchema: {
359
359
  type: "object",
360
360
  properties: {
@@ -374,6 +374,16 @@ const TOOLS = [
374
374
  type: "number",
375
375
  description: "Sound volume 0–1. Default 1.",
376
376
  },
377
+ anchorSourceMs: {
378
+ type: "number",
379
+ description:
380
+ "Anchor the zoom to a moment in the original recording (a transcript word's startMs, a click in cursor telemetry). When set, the zoom's edited-time position is recomputed automatically every time a trim or speed region is added/removed. STRONGLY RECOMMENDED when atMs comes from the transcript — otherwise the zoom will drift off the moment as soon as any trim is added.",
381
+ },
382
+ anchorSourceEndMs: {
383
+ type: "number",
384
+ description:
385
+ "Optional anchor end (source ms). When set, the zoom's duration tracks the source-time span instead of preserving the original visible duration. Useful for zooms covering a multi-word phrase.",
386
+ },
377
387
  expectedRevision: { type: "number" },
378
388
  },
379
389
  required: ["atMs", "durationMs"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@writepanda/mcp",
3
- "version": "1.18.0",
3
+ "version": "1.19.0",
4
4
  "description": "Model Context Protocol server for PandaStudio. Exposes the desktop video editor's automation surface to Cursor, Continue, Cline, Claude Desktop, and any MCP-compliant client.",
5
5
  "keywords": [
6
6
  "pandastudio",