mtxuilib 0.1.125 → 0.1.126

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.
@@ -4,7 +4,7 @@ import { BotCard } from "../../components/message";
4
4
  import { DpMtCfWorker } from "../../components/tool-ui/DpCfWorker";
5
5
  export const deployMtcfWorkerTool = {
6
6
  deployMtcfWorker: {
7
- description: "调用本地脚本,将 mtcf 项目部署到 cloudflared worker",
7
+ description: "调用本地脚本,将 mtcf 项目部署到 cloudflare worker",
8
8
  parameters: z.any(),
9
9
  generate: async function* (params) {
10
10
  yield _jsx(BotCard, { children: "\u52A0\u8F7D\u4E2D" });
@@ -11,7 +11,7 @@ export const deployMtxEdgeTool = {
11
11
  generate: async function* (params) {
12
12
  yield _jsx(BotCard, { children: "\u52A0\u8F7D\u4E2D" });
13
13
  try {
14
- const cloudflaredPageProjectName = "mtxedge";
14
+ const cfPageProjectName = "mtxedge";
15
15
  const projectDir = projectRoot();
16
16
  const vercelToken = process.env.VERCEL_TOKEN;
17
17
  yield (_jsx(BotCard, { children: _jsx("div", { children: "\u5F00\u59CB\u90E8\u7F72mtxedge" }) }));
@@ -54,7 +54,7 @@ export const deployMtxEdgeTool = {
54
54
  cwd: projectDir,
55
55
  });
56
56
  yield (_jsx(BotCard, { children: _jsx("div", { children: "\u8BBE\u7F6E\u5B8C\u6210\uFF0C\u5F00\u59CB\u90E8\u7F72\u5230 cloudfalre page \u4E2D" }) }));
57
- await exec(`bunx wrangler pages deploy .vercel/output/static --project-name=${cloudflaredPageProjectName} `, {
57
+ await exec(`bunx wrangler pages deploy .vercel/output/static --project-name=${cfPageProjectName} `, {
58
58
  shell: true,
59
59
  cwd: projectDir,
60
60
  env: process.env,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mtxuilib",
3
3
  "private": false,
4
- "version": "0.1.125",
4
+ "version": "0.1.126",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },