mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-03 06:50:26 +00:00
Remove React/Ink dependencies and add context window management
- Remove unused React and Ink CLI dependencies to simplify package
- Update provider schema to use maxOutputTokens for clarity
- Add automatic summarization when approaching context window limits
- Simplify message event handling and add cost/token metadata display
🤖 Generated with opencode
Co-Authored-By: opencode <noreply@opencode.ai>
This commit is contained in:
parent
e68747a64a
commit
d398001f96
5 changed files with 33 additions and 143 deletions
|
|
@ -10,11 +10,7 @@
|
|||
"@tsconfig/bun": "^1.0.7",
|
||||
"@types/bun": "latest",
|
||||
"@types/jsdom": "^21.1.7",
|
||||
"@types/react": "18",
|
||||
"@types/turndown": "^5.0.5",
|
||||
"ink": "^5.2.1",
|
||||
"ink-text-input": "^6.0.0",
|
||||
"react": "^18.0.0"
|
||||
"@types/turndown": "^5.0.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "5"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue