This repository was archived by the owner on Sep 18, 2025. It is now read-only.
Merged
Conversation
a498b91 to
963c5d4
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR implements OpenCode, a complete redesign of the terminal AI experience with significant improvements in UI, performance, and functionality. Key changes include a revamped chat-based TUI, enhanced diff/patch visualization, and improved LSP integration along with file history and memory optimizations.
Reviewed Changes
Copilot reviewed 110 out of 116 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| internal/db/querier.go | Added new querier methods for file, session, and message management. |
| internal/db/models.go | Introduced a new File model and extended Message fields. |
| internal/db/messages.sql.go | Updated SQL queries and Scan invocations to support additional fields. |
| internal/db/files.sql.go | Generated SQL statements for file management. |
| internal/db/db.go | Prepared and closed new SQL statements; updated error messages. |
| internal/db/connect.go | Updated the DB connection logic and migrated from termai to opencode. |
| internal/app/* | Removed legacy services and introduced new LSP and app implementations. |
| cmd/schema/* | Added schema generation tool and updated related documentation. |
| cmd/root.go | Updated command-line interface and subscriptions to support new features. |
| README.md & LICENSE | Updated branding, configuration details, and licensing. |
Files not reviewed (6)
- .opencode.json: Language not supported
- .termai.json: Language not supported
- go.mod: Language not supported
- internal/db/migrations/000001_initial.down.sql: Language not supported
- internal/db/migrations/000001_initial.up.sql: Language not supported
- internal/db/sql/files.sql: Language not supported
Comments suppressed due to low confidence (2)
internal/db/connect.go:34
- [nitpick] Consider using an Info-level log for a successfully applied pragma rather than Warn, to better reflect that this is a normal operational message.
logging.Warn("Set pragma", "pragma", pragma)
cmd/root.go:183
- [nitpick] For consistency with structured logging throughout the codebase, replace the format string with key-value pairs (e.g., logging.Info("subscription channel closed", "name", name)).
logging.Info("%s subscription channel closed", name)
Collaborator
Author
|
Merging this so we have the info in the main branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OpenCode - A New Terminal AI Experience
Summary
This PR introduces OpenCode, a complete redesign of the terminal AI experience with significant improvements to the UI, performance, and functionality:
Technical Changes
Removed
TODO:
Hide the logs view for nowUpdated to the new lookPushed After Release