Repository navigation
Description
Summary
Verified findings in internal/presentation/tui and the telegram and headless renderers.
Two are user-facing. The conversation-selector and task-management search boxes accept only len(msg.String()) == 1. That drops every multibyte rune (accents, CJK, emoji) and the space bar, which Bubble Tea v2 reports as "space".
Two are Update-loop freezes. The delete confirmation runs storage I/O inline, and every paste reads the clipboard and decodes images before it returns its Cmd.
The rest are dead boilerplate, per-frame work, and duplicated render helpers.
Acceptance Criteria
- Search input in conversation_selection_view.go:298 and task_management_view.go:566 uses
keys.PrintableText(msg). Backspace (:291 and :562) trims a rune, not a byte. history_search_view.go:150-157 is the in-repo pattern. -
loadConversationsCmddropstime.Sleep(constants.TestSleepDelay / 10)(conversation_selection_view.go:157), along with the import. It is a test-support constant that adds 10ms to every list load. -
performDelete(conversation_selection_view.go:390-416) returns atea.Cmdthat captures the repo and the ID and delivers a result message. Removing the row and callingsyncTablehappen in Update when that message arrives. -
handlePasteandhandleImagePaste(keybinding/actions.go:354-502) move into the returnedtea.Cmd: the clipboard reads,os.WriteFile,applyImageOptimizationandReadImageFromFile.AddImageAttachment,SetTextandSetCursorstay in Update and run on the result message. - The transition maps in tui/state.go are hoisted to package-level vars:
isValidTransition(210-234) andisValidChatStatusTransition(335-376). - Dead model boilerplate:
QueueBoxViewandTodoBoxViewloseInit,ViewandUpdatetogether.Updatehas no callers, and itstea.Modelreturn type is what forces the other two to exist.SubagentListgets aSetWidthto replace its liveUpdate(app/chat.go:1883 and its tests), then loses all three.
- The 16
strings.Repeat("─", width)divider sites across 8 files call the existing, unusedProvider.RenderSeparator(width, "─")(styles/provider.go:449).- The three unstyled ones (conversation_selection_view.go:525,549 and application_view.go:382) get themed for free.
- provider.go:284,286 are box borders and stay.
- The
renderFullWelcomeresult is cached and invalidated on resize or theme change. Today every frame callsos.Getwd()and rebuilds the bordered box (conversation_view.go:533).ConversationsLoadedEvent.Conversations(state_events.go:157) becomes[]convdomain.ConversationSummary, deleting the[]anyboxing round-trip. - The plan-approval cursor handlers share one extracted
movePlanSelection(actions.go:590 vs 1086, 608 vs 1104). - The seven identical shortcut shells collapse onto one
panelShortcuttype: shortcuts/diff.go, explorer.go, task_management.go, conversation_select.go, environments.go, plusToolsShortcutandAgentsShortcutin core.go:523,544. The unreadrepofield onConversationSelectShortcutgoes too. Its constructor callers are container.go:832, shortcuts/metadata.go:34 and telegram channel_commands_test.go:37. - telegram/thread_render.go and agent/headless/agent_message.go share one
quoteBlock/capRunes, plusmaxToolResultLen, inplatform/render. Headless currently inlines the cap at agent_message.go:44-46. The byte cuts in platform/render/render.go:36 and insights/insights.go:589 can split a UTF-8 rune and become rune-safe cuts. Both cap non-display text, so the width-awareformatting.TruncateTextdoesn't fit. - Small cuts:
QueuedIcon/BulletIconandRenderBold/RenderBoldTextcollapse to one each.keybinding/validation.go, a wrapper aroundkeys.IsKnownKeywith two callers in cmd/keybindings, is deleted.- Dead exports are deleted:
- styles
RenderStatusLine,PlaceCenterTop,RenderColoredDiff - colors
BrightRed,LightGreenBg,LightRedBg,LipglossBlack,LipglossWhiteBg - registry
HasSequenceWithPrefix Dispatcher.GetRegistry- shortcuts
Unregister,GetShortcuts,GetShortcutsStartingWith
- styles
- These are test-only and go with their tests:
formatting.FormatWarning,NewToolDiffRenderer,CreateSeparator,CreateStyledText.
Activity
edenreich commentedon Oct 30, 2026
@infer can you work on this? use /ponytail:ponytail /go /go-concurrency /bubbles-v2 /bubbletea-v2 /lipgloss /domain-driven-design /clean-architecture /clean-code or any other related skills you find.
inference-gateway-maintainer commentedon Oct 30, 2026
Model:
ollama_cloud/glm-5.3-flash· Action:v0.59.2· CLI:v0.238.0· Gateway:v0.60.1· View JobTodos
Pull Request
#1651
The agent reached its turn limit before finishing. Its work was pushed; the pull request linked above carries the remaining todos - review it and pick up where the agent left off, or re-trigger to continue.
All AC12 edits and the validation.go deletion are in. Committing and pushing:
Model:
ollama_cloud/glm-5.3-flash· Action:v0.59.2· CLI:v0.238.0· Gateway:v0.60.1· Exit Code:2· Duration: 35m 2sTokens: 38,234,391 in · 130,300 out · 38,364,691 total (141 requests)
Tool calls: 279 total · 100% success rate
Traces
Stats
Triggered by edenreich · Infer Action · OSS
fix: resolve #1645
inference-gateway-releaser commentedon Oct 30, 2026
🎉 This issue has been resolved in version 0.239.0-rc.6 🎉
The release is available on:
Your semantic-release bot 📦🚀
inference-gateway-releaser commentedon Oct 31, 2026
🎉 This issue has been resolved in version 0.239.0 🎉
The release is available on:
Your semantic-release bot 📦🚀