@mcp-b/react-components 0.31.1 → 0.31.2
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.
|
@@ -316,7 +316,7 @@ function ToolCallAudit({ calls }) {
|
|
|
316
316
|
function formatToolCall(call) {
|
|
317
317
|
const target = call.connector === "__step" ? `codemode.step(${JSON.stringify(call.method)})` : `${call.connector}.${call.method}`;
|
|
318
318
|
if (call.connector === "__step") return target;
|
|
319
|
-
return `${target}(${formatAuditValue(call.args)})`;
|
|
319
|
+
return `${target}(${call.args === void 0 ? "…" : formatAuditValue(call.args)})`;
|
|
320
320
|
}
|
|
321
321
|
function formatAuditValue(value) {
|
|
322
322
|
let formatted;
|
|
@@ -334,7 +334,7 @@ function isHumanWait(action) {
|
|
|
334
334
|
}
|
|
335
335
|
function toolCallStateLabel(call) {
|
|
336
336
|
const humanWait = isHumanWait(call);
|
|
337
|
-
const state = call.state === "pending" ? humanWait ? "waiting for human" : "awaiting approval" : call.state
|
|
337
|
+
const state = call.state === "pending" ? humanWait ? "waiting for human" : "awaiting approval" : call.state;
|
|
338
338
|
const qualifiers = [call.requiresApproval && call.state !== "pending" && !humanWait ? "approval required" : "", call.ephemeral ? "re-executes on replay" : ""].filter(Boolean);
|
|
339
339
|
return qualifiers.length ? `${state} · ${qualifiers.join(" · ")}` : state;
|
|
340
340
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-b/react-components",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.2",
|
|
4
4
|
"description": "MCP-B React components built on Base UI and shared design tokens, including Cloudflare Think chat primitives.",
|
|
5
5
|
"homepage": "https://design-system.sigvelo.com",
|
|
6
6
|
"bugs": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"streamdown": "^2.5.0",
|
|
59
59
|
"unist-util-visit": "^5.1.0",
|
|
60
60
|
"yet-another-react-lightbox": "^3.32.1",
|
|
61
|
-
"@mcp-b/design-tokens": "0.31.
|
|
61
|
+
"@mcp-b/design-tokens": "0.31.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@ai-sdk/react": "^3.0.230",
|