deepfish-ai 1.0.27 → 1.0.29

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/package.json CHANGED
@@ -1,81 +1,83 @@
1
- {
2
- "name": "deepfish-ai",
3
- "version": "1.0.27",
4
- "description": "This is an AI-driven command-line tool built on Node.js, equipped with AI agent and workflow capabilities. It is compatible with a wide range of AI models, can convert natural language into cross-system terminal and file operation commands, and features high extensibility. It supports complex tasks such as translation, content creation, and format conversion, while allowing custom extensions to be automatically generated via AI.",
5
- "main": "src/index.js",
6
- "type": "commonjs",
7
- "bin": {
8
- "ai": "src/cli/index.js"
9
- },
10
- "scripts": {
11
- "test": "echo \"Error: no test specified\" && exit 1",
12
- "build": "package-offline.bat"
13
- },
14
- "keywords": [
15
- "ai",
16
- "deepseek",
17
- "agent",
18
- "assistant",
19
- "cli",
20
- "command-line",
21
- "cmd",
22
- "openclaw",
23
- "openai",
24
- "ollama",
25
- "deepfish"
26
- ],
27
- "author": "Roman",
28
- "license": "MIT",
29
- "repository": {
30
- "type": "git",
31
- "url": "https://github.com/qq306863030/deepfish-ai.git"
32
- },
33
- "bugs": {
34
- "url": "https://github.com/qq306863030/deepfish-ai/issues"
35
- },
36
- "homepage": "https://github.com/qq306863030/deepfish-ai#readme",
37
- "dependencies": {
38
- "adm-zip": "^0.5.16",
39
- "axios": "^1.13.5",
40
- "canvas": "^3.2.3",
41
- "chalk": "^4.1.0",
42
- "chardet": "^2.1.1",
43
- "cheerio": "^1.2.0",
44
- "commander": "^11.0.0",
45
- "dayjs": "^1.11.19",
46
- "docx": "^9.6.1",
47
- "docxtemplater": "^3.68.4",
48
- "echarts": "^6.0.0",
49
- "eventemitter-super": "^1.0.8",
50
- "extract-zip": "^2.0.1",
51
- "fs-extra": "^11.3.3",
52
- "iconv-lite": "^0.7.2",
53
- "inquirer": "^9.0.0",
54
- "js-yaml": "^4.1.1",
55
- "lodash": "^4.17.23",
56
- "mammoth": "^1.12.0",
57
- "openai": "^6.18.0",
58
- "pdf-lib": "^1.17.1",
59
- "pdf-parse": "^2.4.5",
60
- "pdf-to-img": "5.0.0",
61
- "pdfkit": "^0.18.0",
62
- "pizzip": "^3.2.0",
63
- "pptxgenjs": "^4.0.1",
64
- "puppeteer": "^24.41.0",
65
- "sharp": "^0.34.5",
66
- "uuid": "^13.0.0",
67
- "xlsx": "^0.18.5"
68
- },
69
- "devDependencies": {
70
- "@eslint/js": "^10.0.1",
71
- "@eslint/json": "^1.0.1",
72
- "eslint": "^10.0.3",
73
- "globals": "^17.4.0"
74
- },
75
- "files": [
76
- "src",
77
- "README.md",
78
- "README_CN.md",
79
- "LICENSE"
80
- ]
81
- }
1
+ {
2
+ "name": "deepfish-ai",
3
+ "version": "1.0.29",
4
+ "description": "This is an AI-driven command-line tool built on Node.js, equipped with AI agent and workflow capabilities. It is compatible with a wide range of AI models, can convert natural language into cross-system terminal and file operation commands, and features high extensibility. It supports complex tasks such as translation, content creation, and format conversion, while allowing custom extensions to be automatically generated via AI.",
5
+ "main": "src/index.js",
6
+ "type": "commonjs",
7
+ "bin": {
8
+ "ai": "src/cli/index.js"
9
+ },
10
+ "scripts": {
11
+ "test": "echo \"Error: no test specified\" && exit 1",
12
+ "build": "package-offline.bat"
13
+ },
14
+ "keywords": [
15
+ "ai",
16
+ "deepseek",
17
+ "agent",
18
+ "assistant",
19
+ "cli",
20
+ "command-line",
21
+ "cmd",
22
+ "openclaw",
23
+ "openai",
24
+ "ollama",
25
+ "deepfish"
26
+ ],
27
+ "author": "Roman",
28
+ "license": "MIT",
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "https://github.com/qq306863030/deepfish-ai.git"
32
+ },
33
+ "bugs": {
34
+ "url": "https://github.com/qq306863030/deepfish-ai/issues"
35
+ },
36
+ "homepage": "https://github.com/qq306863030/deepfish-ai#readme",
37
+ "dependencies": {
38
+ "@ast-grep/cli": "^0.37.0",
39
+ "adm-zip": "^0.5.16",
40
+ "axios": "^1.13.5",
41
+ "canvas": "^3.2.3",
42
+ "chalk": "^4.1.0",
43
+ "chardet": "^2.1.1",
44
+ "cheerio": "^1.2.0",
45
+ "commander": "^11.0.0",
46
+ "dayjs": "^1.11.19",
47
+ "deepfish-ai": "file:",
48
+ "docx": "^9.6.1",
49
+ "docxtemplater": "^3.68.4",
50
+ "echarts": "^6.0.0",
51
+ "eventemitter-super": "^1.0.8",
52
+ "extract-zip": "^2.0.1",
53
+ "fs-extra": "^11.3.3",
54
+ "iconv-lite": "^0.7.2",
55
+ "inquirer": "^9.0.0",
56
+ "js-yaml": "^4.1.1",
57
+ "lodash": "^4.17.23",
58
+ "mammoth": "^1.12.0",
59
+ "openai": "^6.18.0",
60
+ "pdf-lib": "^1.17.1",
61
+ "pdf-parse": "^2.4.5",
62
+ "pdf-to-img": "5.0.0",
63
+ "pdfkit": "^0.18.0",
64
+ "pizzip": "^3.2.0",
65
+ "pptxgenjs": "^4.0.1",
66
+ "puppeteer": "^24.41.0",
67
+ "sharp": "^0.34.5",
68
+ "uuid": "^13.0.0",
69
+ "xlsx": "^0.18.5"
70
+ },
71
+ "devDependencies": {
72
+ "@eslint/js": "^10.0.1",
73
+ "@eslint/json": "^1.0.1",
74
+ "eslint": "^10.0.3",
75
+ "globals": "^17.4.0"
76
+ },
77
+ "files": [
78
+ "src",
79
+ "README.md",
80
+ "README_CN.md",
81
+ "LICENSE"
82
+ ]
83
+ }
@@ -65,6 +65,7 @@ class BaseAgentRobot {
65
65
  ) {
66
66
  this.opt = opt
67
67
  this.config = opt
68
+ this.aiConfig = opt.aiConfig || {}
68
69
  this.id = opt.id || Date.now().toString()
69
70
  this.name = opt.name || 'AgentRobot'
70
71
  this.screenPrinter = new ScreenPrinter() // 屏幕打印机