@ggui-ai/iframe-runtime 0.11.0 → 0.12.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.
- package/dist/host-capabilities.d.ts +6 -4
- package/dist/iframe-runtime.js +65 -55
- package/dist/iframe-runtime.meta.json +1 -1
- package/dist/mcp-app-iframe-host.js +7 -2
- package/dist/react-renderer.d.ts +22 -0
- package/dist/react-renderer.js +20 -4
- package/dist/render-item.d.ts +9 -0
- package/dist/runtime.js +58 -21
- package/dist/ui-feedback-chrome.d.ts +16 -0
- package/dist/ui-feedback-chrome.js +20 -0
- package/dist/wire-config.d.ts +7 -3
- package/package.json +7 -7
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
*
|
|
10
10
|
* FAIL-SAFE BY CONTRACT: absence of a capability MUST NOT stop the
|
|
11
11
|
* runtime from attempting the operation. Hosts under-advertise in
|
|
12
|
-
* practice — ggui's own embed host (`./mcp-app-iframe-host.ts`)
|
|
13
|
-
* `tools/call` while advertising nothing
|
|
14
|
-
*
|
|
15
|
-
*
|
|
12
|
+
* practice — ggui's own embed host (`./mcp-app-iframe-host.ts`)
|
|
13
|
+
* historically proxied `tools/call` while advertising nothing (it now
|
|
14
|
+
* advertises `serverTools: {}`, but version-skewed embeds still
|
|
15
|
+
* under-advertise) — so treating silence as "cannot" would break
|
|
16
|
+
* working paths. These accessors exist to explain a failure that
|
|
17
|
+
* already happened, never to pre-empt an attempt.
|
|
16
18
|
*
|
|
17
19
|
* PRESENCE, NOT VALUE: on `McpUiHostCapabilities` both fields are
|
|
18
20
|
* optional OBJECTS (`serverTools?: { listChanged?: boolean }`,
|