@nooticr/mcp 1.26.74 → 1.26.75

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.
@@ -36,7 +36,7 @@ import { registerAmazonTools } from "./amazon.js";
36
36
  import { registerMarketplaceTools } from "./marketplace.js";
37
37
  import { DEFAULT_NOOTICR_SETTINGS, DEFAULT_SOCIAL_PLATFORMS, MemorySettingsStore, SETTINGS_READ_TOOL, SETTINGS_UPDATE_TOOL, settingsOwnerFromAuth, } from "./settings.js";
38
38
  /** Current MCP server version — bumped on every deploy for traceability. */
39
- export const MCP_SERVER_VERSION = "1.26.74";
39
+ export const MCP_SERVER_VERSION = "1.26.75";
40
40
  /** MCP Apps extension identifier */
41
41
  const UI_EXTENSION = "io.modelcontextprotocol/ui";
42
42
  /** MIME type for MCP Apps HTML resources */
@@ -2066,7 +2066,8 @@ export const NOOTICR_UI_TEMPLATE = `<!DOCTYPE html>
2066
2066
  var GROUP_PEEK=4;
2067
2067
  /** Groups the reader has opened, by post URL, kept across a filter or sort. */
2068
2068
  var expandedGroups={};
2069
- // Posters the reader has asked to play, keyed like expandedGroups.
2069
+ // The poster the reader asked to play, keyed like expandedGroups. At most
2070
+ // one key: see the [data-mplay] handler.
2070
2071
  var expandedMedia={};
2071
2072
 
2072
2073
  /** Reach of the post a comment sits under — how many people saw it. */
@@ -2227,11 +2228,16 @@ export const NOOTICR_UI_TEMPLATE = `<!DOCTYPE html>
2227
2228
  if(mplay&&(monitorState||spokenState)){
2228
2229
  var mkey=mplay.getAttribute("data-mplay")||"";
2229
2230
  if(mkey&&mplay.className.indexOf("is-playable")>=0){
2231
+ // One post plays at a time. Every expanded stage is redrawn with
2232
+ // autoplay, so a second poster click used to restart the first video
2233
+ // under the new one, and only the first stage in the page was
2234
+ // registered below, so neither paused the other (#253).
2235
+ expandedMedia={};
2230
2236
  expandedMedia[mkey]=true;
2231
2237
  renderMentions();
2232
- // renderMentions draws outside the top-level render, so anything it
2233
- // just wrote has nothing bound to it. initPlayers resets first, so
2234
- // calling it again here is safe.
2238
+ // Nothing in a mention view is a bound player today (no .mp, .au or
2239
+ // poster fallback), so this only resets the registries before the
2240
+ // stage is registered; it binds anything a later view adds.
2235
2241
  initPlayers();
2236
2242
  var v=document.querySelector(".mgroup-stage video");
2237
2243
  if(v){registerAudio(v);stopAllPlayers();}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nooticr/mcp",
3
3
  "mcpName": "com.nooticr/mcp",
4
- "version": "1.26.74",
4
+ "version": "1.26.75",
5
5
  "description": "MCP server for nooticr - fetch, discover and understand TikTok/Instagram/YouTube/X/Reddit/LinkedIn/Weibo posts with AI (media metadata, niche discovery, brand monitoring, hook & viral analysis)",
6
6
  "homepage": "https://mcp.nooticr.com",
7
7
  "repository": {