Repository navigation
Rebuild the terminal workspace and retire the browser UI - #329
EvanProgramming wants to merge 1 commit into
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: eaad0fca77
ℹ️ About Codex in GitHub
Your 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
- 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 address that feedback".
| } | ||
| } | ||
| } | ||
| m.send("command", map[string]any{"name": "/" + name}) |
There was a problem hiding this comment.
Block history rollback until the active turn finishes
While a turn is running, /rollback <number> confirm now reaches the backend because slash commands bypass the busy check and runAction only guards selected operations. The rollback handler in openkyrozen/interfaces/tui/commands.py calls restore_history without checking _busy, and openkyrozen/workspace/history_service.py restores workspace files and rebinds conversation state without cancelling the worker. Consequently, an executing agent can continue writing into the restored workspace or persist results against the wrong conversation state. Reject rollback while a turn is active, or cancel and await the worker before restoring.
Useful? React with 👍 / 👎.
| if m.busy || m.activeTurn != "" || len(state.queue) > 0 { | ||
| state.queue = append(state.queue, text) |
There was a problem hiding this comment.
Preserve attachments intended for queued follow-ups
If a user runs /attach file while the current provider call is in progress and then queues a question about that file, the attachment is silently lost. /attach now runs during active turns, but the queue stores only the question text; meanwhile, the existing worker unconditionally clears the shared _staged_attachments list on success (openkyrozen/interfaces/tui/turns.py:317), including files staged after its prompt was constructed. The queued question therefore executes without the attachment context despite the successful staging confirmation. Associate staged attachments with their queued turn, or prevent staging while another turn owns the shared list.
Useful? React with 👍 / 👎.
| // description and actions in the sheet even when the terminal is short. | ||
| width := maxInt(1, m.width-2) | ||
| prompt := ansiWrap(lines[1], width) | ||
| prompt = limitRows(prompt, maxInt(1, m.height/4)) |
There was a problem hiding this comment.
Allow users to read the full clarification prompt
On a 24-row terminal, a clarification prompt containing more than six physical lines now has its remaining text discarded, even when the complete prompt and choices would fit on screen. The previous dialog rendered the entire prompt, whereas this fixed quarter-screen cap silently removes potentially essential qualifications. questionKey only changes the selected choice, and mouse-wheel handling on screenQuestion delegates to those selection keys, so there is no way to scroll the omitted prompt text within the dialog before answering. Preserve the complete prompt when space permits and provide scrolling or expansion when it does not fit.
Useful? React with 👍 / 👎.
eaad0fc to
f81b3ae
Compare
The terminal now gives the conversation the full width. Commands, chats, project instructions, task progress, and usage open on demand. First-run setup guides users through provider, model, and permissions. Queued follow-ups can be edited or withdrawn in their original chat.
Fixes a scrolling bug where fragmented mouse reports appeared as text in the draft. The transcript preserves the reader’s position as replies arrive and when the terminal resizes.
Removes the browser chat, PWA, and cookie login. Authenticated REST, SSE, webhooks, and MCP remain available through
kyrozen-api. The existingkyrozen-webcommand remains a compatibility alias.Validation