@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/{HomeView-3540fa47.js → HomeView-da19bf44.js} +1 -1
- package/dist/{RemyButton-7c8ca3e4.js → RemyButton-7168e08b.js} +1 -1
- package/dist/{app-aea34550.js → app-208a4bc0.js} +6530 -6505
- package/dist/app.js +1 -1
- package/dist/components/chatPanel/actionCards/McpAppCard.vue.d.ts +5 -13
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
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-
|
|
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
|
-
*
|
|
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-
|
|
7
|
-
*
|
|
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 {
|