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

@@ -11,7 +11,7 @@ export namespace Provider {
outputCached: z.number(),
}),
contextWindow: z.number(),
maxTokens: z.number().optional(),
maxOutputTokens: z.number().optional(),
attachment: z.boolean(),
reasoning: z.boolean().optional(),
})