@fastgpt-plugin/cli 0.1.0-beta.3 → 0.1.0-beta.4

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.
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ const logger = consola;
17
17
  //#endregion
18
18
  //#region package.json
19
19
  var name = "@fastgpt-plugin/cli";
20
- var version = "0.1.0-beta.3";
20
+ var version = "0.1.0-beta.4";
21
21
 
22
22
  //#endregion
23
23
  //#region src/constants.ts
@@ -147,10 +147,6 @@ function applyModifications(sourceCode, modifications) {
147
147
  return result;
148
148
  }
149
149
  async function transformToolConfig({ sourceCode, filePath }) {
150
- if (sourceCode.includes("toolId:")) return {
151
- code: sourceCode,
152
- hasToolId: true
153
- };
154
150
  const toolId = extractToolId(filePath);
155
151
  const configDir = path.dirname(filePath);
156
152
  const childrenList = await getChildrenList(configDir);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastgpt-plugin/cli",
3
- "version": "0.1.0-beta.3",
3
+ "version": "0.1.0-beta.4",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -22,7 +22,7 @@
22
22
  "prepublishOnly": "npm run build"
23
23
  },
24
24
  "dependencies": {
25
- "@fastgpt-plugin/helpers": "0.0.1-alpha.7",
25
+ "@fastgpt-plugin/helpers": "0.0.1-alpha.6",
26
26
  "@oxc-parser/binding-wasm32-wasi": "^0.112.0",
27
27
  "@inquirer/prompts": "^8.2.0",
28
28
  "commander": "^14.0.3",
@@ -5,7 +5,7 @@
5
5
  ## 开发
6
6
 
7
7
  ```bash
8
- pnpm install
9
- pnpm run build
10
- pnpm run test
8
+ bun install
9
+ bun run build
10
+ bun run test
11
11
  ```
@@ -5,7 +5,7 @@
5
5
  ## 开发
6
6
 
7
7
  ```bash
8
- pnpm install
9
- pnpm run build
10
- pnpm run test
8
+ bun install
9
+ bun run build
10
+ bun run test
11
11
  ```
@@ -10,6 +10,7 @@ export default defineTool({
10
10
  'zh-CN': '{{description}}',
11
11
  en: '{{description}}'
12
12
  },
13
+ icon: 'core/workflow/template/{{name}}',
13
14
  versionList: [
14
15
  {
15
16
  value: '0.0.1',
@@ -2,13 +2,18 @@ import { defineToolSet, ToolTagEnum } from '@fastgpt-plugin/helpers';
2
2
 
3
3
  export default defineToolSet({
4
4
  name: {
5
- 'zh-CN': '{{name}}',
6
- en: '{{name}}'
5
+ 'zh-CN': '企业微信智能表',
6
+ en: 'WeCom Smart Sheet'
7
7
  },
8
8
  tags: [ToolTagEnum.tools],
9
9
  description: {
10
- 'zh-CN': '{{description}}',
11
- en: '{{description}}'
10
+ 'zh-CN':
11
+ '提供企业微信智能表的完整操作功能,包括文档创建、子表管理、视图管理、字段管理及记录 CRUD 等。',
12
+ en: 'Provides comprehensive WeCom Smart Sheet operations including document creation, sheet management, view management, field management, and record CRUD.'
12
13
  },
14
+ toolDescription: `A comprehensive WeCom (Work WeChat) Smart Sheet toolset for managing documents, sheets, views, fields, and records.
15
+ Supports complete CRUD operations for efficient data management within WeCom.`,
16
+ author: 'FastGPT Team',
17
+ tutorialUrl: 'https://developer.work.weixin.qq.com/document/path/96601',
13
18
  secretInputConfig: []
14
19
  });