mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-19 16:03:35 +00:00
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:
parent
c04708a71e
commit
693187a3fb
2 changed files with 4 additions and 3 deletions
|
|
@ -45,8 +45,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@mariozechner/jiti": "^2.6.5",
|
"@mariozechner/jiti": "^2.6.5",
|
||||||
"@mariozechner/pi-coding-agent": "^0.30.2",
|
"@mariozechner/pi-coding-agent": "^0.30.2",
|
||||||
"get-east-asian-width": "^1.4.0",
|
"get-east-asian-width": "^1.4.0"
|
||||||
"koffi": "^2.15.1"
|
|
||||||
},
|
},
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"rimraf": "6.1.2",
|
"rimraf": "6.1.2",
|
||||||
|
|
|
||||||
|
|
@ -39,10 +39,12 @@
|
||||||
"@types/mime-types": "^2.1.4",
|
"@types/mime-types": "^2.1.4",
|
||||||
"chalk": "^5.5.0",
|
"chalk": "^5.5.0",
|
||||||
"get-east-asian-width": "^1.3.0",
|
"get-east-asian-width": "^1.3.0",
|
||||||
"koffi": "^2.9.0",
|
|
||||||
"marked": "^15.0.12",
|
"marked": "^15.0.12",
|
||||||
"mime-types": "^3.0.1"
|
"mime-types": "^3.0.1"
|
||||||
},
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"koffi": "^2.9.0"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@xterm/headless": "^5.5.0",
|
"@xterm/headless": "^5.5.0",
|
||||||
"@xterm/xterm": "^5.5.0"
|
"@xterm/xterm": "^5.5.0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue