-
Notifications
You must be signed in to change notification settings - Fork 0
Opentui #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Opentui #3
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request implements a comprehensive session compaction system for opencode along with various UI/UX improvements. The main purpose is to optimize memory usage and improve performance by automatically summarizing long conversation histories when they approach model context limits.
- Adds automatic session compaction with overflow detection and summarization
- Implements session state management improvements for better concurrency handling
- Introduces various UI enhancements including theme updates, version bumps, and better error handling
Reviewed Changes
Copilot reviewed 138 out of 144 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
theme.json |
Adds a new comprehensive theme configuration with color scheme definitions |
packages/opencode/src/session/compaction.ts |
Core session compaction logic with overflow detection and summarization |
packages/opencode/src/session/prompt.ts |
Major refactor extracting prompt handling from session index with improved state management |
packages/opencode/src/session/index.ts |
Streamlined session management focusing on core CRUD operations |
| Various package.json files | Version bumps from 0.7.1 to 0.8.0/0.9.0 across multiple packages |
packages/web/src/components/share/part.tsx |
UI improvements with duplicate code block |
| Multiple documentation files | Text corrections and improvements to CLI references |
Comments suppressed due to low confidence (1)
packages/web/src/components/share/part.tsx:182
- Duplicate code block detected. Lines 177-182 are identical to lines 171-176. Remove the duplicate block.
{props.message.role === "user" && props.part.type === "file" && (
<div data-component="attachment">
<div data-slot="copy">Attachment</div>
<div data-slot="filename">{props.part.filename}</div>
</div>
)}
{props.message.role === "user" && props.part.type === "file" && (
<div data-component="attachment">
<div data-slot="copy">Attachment</div>
<div data-slot="filename">{props.part.filename}</div>
</div>
)}
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
Codex Review: Here are some suggestions. opencode-fork/packages/opencode/src/session/prompt.ts Lines 307 to 321 in a0f9cf5
[P1] Return queued prompts with their own results When a session is busy, additional About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback". |
8ec2c0a to
98307ee
Compare
fe22e8c to
256dead
Compare
740e09f to
7913f4a
Compare
a256056 to
7510ad3
Compare
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
…)" This reverts commit a9624c0.
Co-authored-by: Sebastian Herrlinger <hasta84@gmail.com> Co-authored-by: GitHub Action <action@github.com>
This ghost style is placeholder for now until we style this properly with an icon and all the states.
This ghost style is placeholder for now until we style this properly with an icon and all the states.
…ws (#2100) Co-authored-by: Steven Martin <smartin@clearcom.com>
No description provided.