Skip to content

Commit 9da5f8c

Browse files
himself65Copilot
andauthored
feat: use ink (#19)
* feat: use `ink` * fix: tsconfig * fix: lint * Update src/plugins/cli-ui/components/App.tsx Co-authored-by: Copilot <[email protected]> * fix: pkg * fix: use correct react type * fix: type * fix: dev --------- Co-authored-by: Copilot <[email protected]>
1 parent 5b2844d commit 9da5f8c

File tree

5 files changed

+472
-111
lines changed

5 files changed

+472
-111
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dist"
88
],
99
"scripts": {
10-
"dev": "tsx watch --include ./src src/main.ts configs/config.yaml",
10+
"dev": "tsx src/main.ts configs/config.yaml",
1111
"start": "npm run build && npm run fast-start",
1212
"fast-start": "node dist/main.js configs/config.yaml",
1313
"build": "npm run clean && npm run fast-build",
@@ -35,6 +35,7 @@
3535
"follow-redirects": "^1.15.9",
3636
"html-to-text": "^9.0.5",
3737
"image2uri": "^2.1.2",
38+
"ink": "^5.2.1",
3839
"istextorbinary": "^9.5.0",
3940
"jsdom": "^26.1.0",
4041
"jsonrepair": "^3.12.0",
@@ -43,6 +44,7 @@
4344
"openai": "^4.95.1",
4445
"playwright": "^1.52.0",
4546
"python-shell": "^5.0.0",
47+
"react": "18.3.1",
4648
"sqlite-vec": "0.1.7-alpha.2",
4749
"winston": "^3.17.0",
4850
"winston-transport": "^4.9.0",
@@ -58,6 +60,7 @@
5860
"@types/mime-types": "^2.1.4",
5961
"@types/node": "^22.14.1",
6062
"@types/node-telegram-bot-api": "^0.64.8",
63+
"@types/react": "^18.3.21",
6164
"@types/ws": "^8.18.1",
6265
"prettier": "^3.5.3",
6366
"tsx": "^4.19.3",

0 commit comments

Comments
 (0)