blade-code 0.0.4 → 0.0.6

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/blade.js +194 -173
  2. package/package.json +13 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blade-code",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "private": false,
5
5
  "description": "🗡️ Blade Code - 智能代码助手命令行工具",
6
6
  "type": "module",
@@ -16,7 +16,7 @@
16
16
  ],
17
17
  "scripts": {
18
18
  "dev": "bun --watch src/blade.tsx",
19
- "build": "rm -rf dist && bun build src/blade.tsx --external react-devtools-core --external react --external react-dom --external ink --external yargs --external chalk --external inquirer --minify --outfile dist/blade.js --target=node",
19
+ "build": "rm -rf dist && bun build src/blade.tsx --external react-devtools-core --external react --external react-dom --external ink --external ink-* --external yargs --external chalk --external inquirer --minify --outfile dist/blade.js --target=node",
20
20
  "start": "bun run dist/blade.js",
21
21
  "test": "vitest",
22
22
  "test:watch": "vitest --watch",
@@ -75,14 +75,11 @@
75
75
  "node": ">=16.0.0"
76
76
  },
77
77
  "devDependencies": {
78
- "@babel/core": "^7.23.0",
79
- "@babel/preset-env": "^7.23.0",
80
- "@babel/preset-react": "^7.22.0",
81
78
  "@biomejs/biome": "^2.2.4",
82
79
  "@testing-library/react": "^16.2.0",
83
80
  "@testing-library/user-event": "^14.5.0",
84
81
  "@types/inquirer": "^9.0.8",
85
- "@types/jest": "^30.0.0",
82
+ "@types/json-schema": "^7.0.15",
86
83
  "@types/lodash-es": "^4.17.12",
87
84
  "@types/node": "^22.15.24",
88
85
  "@types/picomatch": "^4.0.2",
@@ -99,22 +96,28 @@
99
96
  },
100
97
  "dependencies": {
101
98
  "@modelcontextprotocol/sdk": "^1.17.4",
102
- "@types/react": "^19.1.12",
103
- "@types/react-dom": "^19.1.9",
104
99
  "ahooks": "^3.9.5",
105
100
  "axios": "^1.12.2",
106
101
  "chalk": "^5.4.1",
107
102
  "ink": "^6.2.3",
103
+ "ink-big-text": "^2.0.0",
104
+ "ink-gradient": "^3.0.0",
105
+ "ink-multi-select": "^2.0.0",
106
+ "ink-progress-bar": "^3.0.0",
107
+ "ink-select-input": "^6.2.0",
108
+ "ink-spinner": "^5.0.0",
109
+ "ink-text-input": "^6.0.0",
108
110
  "inquirer": "^12.6.3",
109
111
  "lodash-es": "^4.17.21",
110
112
  "lowlight": "^3.3.0",
111
- "openai": "^4.103.0",
113
+ "openai": "^6.2.0",
112
114
  "picomatch": "^4.0.3",
113
115
  "react": "^19.1.1",
114
116
  "react-dom": "^19.1.1",
115
117
  "uuid": "^11.1.0",
116
118
  "ws": "^8.18.0",
117
119
  "yargs": "^18.0.0",
118
- "zod": "^3.24.2"
120
+ "zod": "^3.24.2",
121
+ "zod-to-json-schema": "^3.24.6"
119
122
  }
120
123
  }