@feedmepos/mf-remy-panel 0.19.0-dev.7 → 0.19.0-dev.9

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/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { C as m, A as o, R as p, c as n, i as u, d as A, r as C, u as R, b as l } from "./app-aea34550.js";
2
+ import { C as m, A as o, R as p, c as n, i as u, d as A, r as C, u as R, b as l } from "./app-208a4bc0.js";
3
3
  import "pinia";
4
4
  import "@feedmepos/mf-common";
5
5
  import "vue-router";
@@ -1,19 +1,11 @@
1
1
  /**
2
- * Renders a tool call's MCP Apps (SEP-1865) UI resource.
2
+ * Renders a tool call's MCP Apps (SEP-1865) UI resource in a sandboxed iframe.
3
3
  *
4
- * Sandbox tokens, both load-bearing and deliberately just these two:
4
+ * The card runs its own scripts, so an MCP server ships its own interactive UI
5
+ * and no client needs a component per tool.
5
6
  *
6
- * - `allow-downloads` a card whose point is handing the user a file
7
- * (menu-mcp's `buildMenuPortalImport` download card) is dead without it;
8
- * Chrome blocks any download started from a sandboxed frame.
9
- * - `allow-same-origin` — lets THIS component read `contentDocument` to
10
- * measure the card, so the frame fits its content instead of padding every
11
- * card out to a fixed height.
12
- *
13
- * NEVER add `allow-scripts`. Together with `allow-same-origin` it lets the
14
- * framed document reach this origin's storage and script context — the two
15
- * tokens are safe only apart. Measuring from the parent is what buys us
16
- * auto-height without granting the card any script at all.
7
+ * NEVER add `allow-same-origin`: with `allow-scripts` it lets the card run as
8
+ * this origin. Apart, both are safe.
17
9
  */
18
10
  import type { ToolCall } from '@/types/chat';
19
11
  interface Props {