reimplement agent,provider and add file history

This commit is contained in:
Kujtim Hoxha
2025-04-16 20:06:23 +02:00
parent 76b4065f17
commit bbfa60c787
73 changed files with 3742 additions and 4026 deletions

View File

@@ -8,6 +8,23 @@ import (
var LogsPage PageID = "logs"
type logsPage struct {
table logs.TableComponent
details logs.DetailComponent
}
func (p *logsPage) Init() tea.Cmd {
return nil
}
func (p *logsPage) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return p, nil
}
func (p *logsPage) View() string {
return p.table.View() + "\n" + p.details.View()
}
func NewLogsPage() tea.Model {
return layout.NewBentoLayout(
layout.BentoPanes{