mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 04:02:35 +00:00
Add auto-compaction events to AgentSession
- Add AgentSessionEvent type extending AgentEvent with auto_compaction_start/end - Emit events when auto-compaction starts and completes - TUI shows loader during auto-compaction with escape to cancel - Rebuilds chat UI when auto-compaction succeeds
This commit is contained in:
parent
803d4b65ee
commit
91b89578c1
3 changed files with 109 additions and 26 deletions
|
|
@ -3,9 +3,10 @@
|
|||
*/
|
||||
|
||||
export {
|
||||
type AgentEventListener,
|
||||
AgentSession,
|
||||
type AgentSessionConfig,
|
||||
type AgentSessionEvent,
|
||||
type AgentSessionEventListener,
|
||||
type CompactionResult,
|
||||
type ModelCycleResult,
|
||||
type PromptOptions,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue