@asgard-js/react 0.2.49-canary.1 → 0.2.50

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -42147,7 +42147,7 @@ function P_e(e) {
42147
42147
  let t = "pending";
42148
42148
  return e.isComplete && (t = e.result?.error ? "error" : "completed"), {
42149
42149
  id: e.messageId,
42150
- label: e.toolName,
42150
+ label: e.reason || e.toolName,
42151
42151
  status: t,
42152
42152
  initial: {
42153
42153
  toolsetName: e.toolsetName,
@@ -43236,7 +43236,7 @@ function lve(e) {
43236
43236
  "允許使用工具 ",
43237
43237
  /* @__PURE__ */ U("span", { className: Ct.title_tool, children: [
43238
43238
  "「",
43239
- t.toolName,
43239
+ t.reason || t.toolName,
43240
43240
  "」"
43241
43241
  ] }),
43242
43242
  "?"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgard-js/react",
3
- "version": "0.2.49-canary.1",
3
+ "version": "0.2.50",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -47,7 +47,7 @@
47
47
  "vite-plugin-svgr": "^4.3.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@asgard-js/core": "^0.2.49-canary.1",
50
+ "@asgard-js/core": "^0.2.50",
51
51
  "react": "^18.0.0 || ^19.0.0",
52
52
  "react-dom": "^18.0.0 || ^19.0.0"
53
53
  }