@nooticr/mcp 1.26.49 → 1.26.50

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.
@@ -851,6 +851,7 @@ export const OUTPUT_SCHEMAS = {
851
851
  mcpCredits,
852
852
  }),
853
853
  get_post_transcript: open({
854
+ url: scalar().describe("The post the transcript came from, as asked for."),
854
855
  available: scalar().describe("false when the post carries no caption track."),
855
856
  // Deliberately no text: it is already in `transcript`, and a caption
856
857
  // track is long enough that sending it twice would be a real cost in a
@@ -30,7 +30,7 @@ import { registerCollabTools } from "./collab.js";
30
30
  import { registerAmazonTools } from "./amazon.js";
31
31
  import { registerMarketplaceTools } from "./marketplace.js";
32
32
  /** Current MCP server version — bumped on every deploy for traceability. */
33
- export const MCP_SERVER_VERSION = "1.26.49";
33
+ export const MCP_SERVER_VERSION = "1.26.50";
34
34
  /** MCP Apps extension identifier */
35
35
  const UI_EXTENSION = "io.modelcontextprotocol/ui";
36
36
  /** MIME type for MCP Apps HTML resources */
@@ -1302,7 +1302,14 @@ export function createMcpServer(rawMakeClient, opts) {
1302
1302
  }, async (args, extra) => {
1303
1303
  const client = await makeClient({ ...extra, arguments: args });
1304
1304
  try {
1305
- return await toToolResult(await client.callTool("get_post_transcript", { ...args }));
1305
+ const res = await client.callTool("get_post_transcript", { ...args });
1306
+ // The post the words came from, echoed so the view can open a video at
1307
+ // the moment a cue was said — the backend's result names the words, not
1308
+ // the post, and a timestamp you cannot follow is only a number.
1309
+ if (res.structured && typeof res.structured === "object" && !("url" in res.structured)) {
1310
+ res.structured = { ...res.structured, url: args.url };
1311
+ }
1312
+ return await toToolResult(res);
1306
1313
  }
1307
1314
  catch (err) {
1308
1315
  return toolError("get_post_transcript failed", err);