The webview-side counterpart of createWebviewRpc, published as
@kkdev92/vscode-ext-kit/webview-client. No vscode import — this module
is meant to be bundled into webview code, where the vscode module doesn't
exist. It is written against the same WebviewRpcSchema as the host
side, so the request/event contract cannot drift between the two bundles.
The contract is static only. Incoming params/results/event payloads are
untrusted message data at runtime and must be validated before they drive
privileged UI or state changes.
The webview-side counterpart of
createWebviewRpc, published as@kkdev92/vscode-ext-kit/webview-client. Novscodeimport — this module is meant to be bundled into webview code, where thevscodemodule doesn't exist. It is written against the same WebviewRpcSchema as the host side, so the request/event contract cannot drift between the two bundles.The contract is static only. Incoming params/results/event payloads are untrusted
messagedata at runtime and must be validated before they drive privileged UI or state changes.