summaryrefslogtreecommitdiffhomepage
path: root/internal/tui/app/interfaces.go
blob: a396ef5862d85fb554a7f5055d7acc7289181d69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package app

import (
	"context"
)

// AgentService defines the interface for agent operations
type AgentService interface {
	Cancel(sessionID string) error
	IsBusy() bool
	IsSessionBusy(sessionID string) bool
	CompactSession(ctx context.Context, sessionID string, force bool) error
}