mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 10:17:26 +00:00
reimplement agent,provider and add file history
This commit is contained in:
parent
76b4065f17
commit
bbfa60c787
73 changed files with 3742 additions and 4026 deletions
7
main.go
7
main.go
|
@ -2,8 +2,15 @@ package main
|
|||
|
||||
import (
|
||||
"github.com/kujtimiihoxha/termai/cmd"
|
||||
"github.com/kujtimiihoxha/termai/internal/logging"
|
||||
)
|
||||
|
||||
func main() {
|
||||
// Set up panic recovery for the main function
|
||||
defer logging.RecoverPanic("main", func() {
|
||||
// Perform any necessary cleanup before exit
|
||||
logging.ErrorPersist("Application terminated due to unhandled panic")
|
||||
})
|
||||
|
||||
cmd.Execute()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue