@mcp-use/client 2.3.0 → 2.3.1-canary.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.
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { ViewRendererProps } from "./types.js";
|
|
3
|
+
/** @internal */
|
|
4
|
+
export declare function waitForSandboxProxyReady(iframe: HTMLIFrameElement, options?: {
|
|
5
|
+
signal?: AbortSignal;
|
|
6
|
+
}): Promise<void>;
|
|
3
7
|
declare function ViewRendererBase({ viewId, source, sandboxUrl, toolName, toolInput, toolOutput, partialToolInput, customProps, cancelled, hostInfo, hostContext, hostCapabilities, messageCapabilities, modelContextCapabilities, cspMode, displayMode: displayModeProp, onDisplayModeChange, inlineMaxWidth, chromeless, onMessage, onSamplingRequest, onDownloadFile, onAppToolsChanged, onModelContextUpdate, onLog, onReady, onLifecycleChange, onError, onCspViolation, onResourceResolved, wrapTransport, toolCallTimeout, mockOpenAiFileApis, onInlineHeightChange, fullscreenHeader, renderFullscreenClose, className, testId, invoking, invoked, }: ViewRendererProps): React.JSX.Element;
|
|
4
8
|
/**
|
|
5
9
|
* Renders an MCP App inside an isolated iframe and bridges host capabilities.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewRenderer.d.ts","sourceRoot":"","sources":["../../../src/react/view/ViewRenderer.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAQN,MAAM,OAAO,CAAC;AAMf,OAAO,KAAK,EAGV,iBAAiB,EAClB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"ViewRenderer.d.ts","sourceRoot":"","sources":["../../../src/react/view/ViewRenderer.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAQN,MAAM,OAAO,CAAC;AAMf,OAAO,KAAK,EAGV,iBAAiB,EAClB,MAAM,YAAY,CAAC;AAmCpB,gBAAgB;AAChB,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,iBAAiB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qBAAqB,GACtB,MAAM,YAAY,CAAC;AACpB,YAAY,EACV,wBAAwB,EACxB,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,wBAAwB,EACxB,oCAAoC,GACrC,MAAM,sBAAsB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-use/client",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.3.0",
|
|
4
|
+
"version": "2.3.1-canary.0",
|
|
5
5
|
"description": "MCP client for connecting to Model Context Protocol servers — sessions, connectors, and OAuth. Part of the mcp-use v2 framework.",
|
|
6
6
|
"author": "mcp-use, Inc.",
|
|
7
7
|
"license": "MIT",
|