Update package dependencies to include node-pty for improved terminal handling. Refactor stat-vit-term.js to utilize node-pty for process management and streamline input simulation. Clean up example.js by removing unnecessary input commands.

This commit is contained in:
sebseb7
2025-08-12 01:36:10 +02:00
parent 2c83d402fc
commit 91d28779d6
4 changed files with 57 additions and 136 deletions

View File

@@ -4,8 +4,6 @@
"type": "module",
"main": "cli.js",
"dependencies": {
"terminal-kit": "^3.1.2",
"dotenv": "^16.4.5",
"abort-controller": "^3.0.0",
"agentkeepalive": "^4.6.0",
"asynckit": "^0.4.0",
@@ -13,6 +11,7 @@
"chalk": "^5.5.0",
"combined-stream": "^1.0.8",
"delayed-stream": "^1.0.0",
"dotenv": "^16.4.5",
"dunder-proto": "^1.0.1",
"es-define-property": "^1.0.1",
"es-errors": "^1.3.0",
@@ -38,8 +37,10 @@
"ms": "^2.1.3",
"node-domexception": "^1.0.0",
"node-fetch": "^2.7.0",
"node-pty": "^1.0.0",
"openai": "^4.104.0",
"resolve-pkg-maps": "^1.0.0",
"terminal-kit": "^3.1.2",
"tr46": "^0.0.3",
"tsx": "^4.20.3",
"typescript": "^5.9.2",