Make koffi optional dependency for cross-platform support (#1603)

Koffi is only used on Windows for VT input support and fails to build
on Termux/Android and Linux systems without build tools. Moving it to
optionalDependencies allows installation to succeed on all platforms
while maintaining Windows functionality.
This commit is contained in:
Vaclav Synacek 2026-03-03 09:21:47 +01:00 committed by GitHub
parent c04708a71e
commit 693187a3fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -45,8 +45,7 @@
"dependencies": {
"@mariozechner/jiti": "^2.6.5",
"@mariozechner/pi-coding-agent": "^0.30.2",
"get-east-asian-width": "^1.4.0",
"koffi": "^2.15.1"
"get-east-asian-width": "^1.4.0"
},
"overrides": {
"rimraf": "6.1.2",