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:
Dax Raad
2025-05-29 14:16:15 -04:00
parent e68747a64a
commit d398001f96
5 changed files with 33 additions and 143 deletions

View File

@@ -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"