tui3: slash command completion inserts bare command prefix into prompt instead of navigating
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 internal/tui3/input.go 开始,重点查看使用 Enter 选择 /task、/redo 或 /workspace 时所使用的自动补全处理器。在交互式聊天中复现面板选择,并跟踪它是插入前缀还是分派执行事件。完成标准是:这些仅用于操作或导航的命令能够立即执行或打开其视图,而不会在提示符中留下命令前缀。
由索引模型根据 Issue 内容生成。
描述
Summary
Selecting /task, /redo, or /workspace from the / command list with Enter inserts the command string with a trailing space into the text box instead of opening the view, causing typed text to become an accidental paid task brief.
Observed Behavior
Pressing / opens the palette. Scrolling to /task and hitting Enter writes /task into the active input line. Typing subsequent text and pressing Enter submits the text as a /task <brief> command, spinning up a paid background task worker.
Expected Behavior
Selecting an action-only or place-navigation command (/task, /redo, /workspace) from the palette should execute or navigate immediately rather than leaving an open command prefix in the draft prompt.
Reproduction Steps
- In an interactive chat, type
/. - Select
/taskfrom the completion list and pressEnter. - Observe that
/taskremains in the prompt. - Type any message and press
Enter. A paid task run starts.
Root Cause / Location
Autocomplete handler in internal/tui3/input.go treats /task as an inline prefix insertion rather than dispatching a command execution event.
—
Drafted with CodeAF · reviewed and owned by the author
- 主要语言
- Go
- 星标
- 115
- 派生
- 14
- 平均合并
- 9 小时 37 分钟
- 30 天内合并 PR
- 755
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Agent-Field/CodeAF 的其他 Issue
-
area:chat bug sev:papercut
难度 2/5 1-3 小时 新手友好度 86/100
Agent-Field/CodeAF#1592 ·
维护者通常 1 天内回复
-
area:headless bug sev:critical
难度 2/5 1-3 小时 新手友好度 88/100
Agent-Field/CodeAF#1566 · 已指派 1 人 ·
维护者通常 1 天内回复
-
area:chat feature
难度 2/5 1-3 小时 新手友好度 88/100
Agent-Field/CodeAF#1510 ·
维护者通常 1 天内回复
-
area:tests bug
难度 2/5 1-3 小时 新手友好度 82/100
Agent-Field/CodeAF#1489 ·
维护者通常 1 天内回复
-
area:chat bug good first issue sev:papercut
难度 2/5 1-3 小时 新手友好度 78/100
Agent-Field/CodeAF#1470 ·
维护者通常 1 天内回复
查看 Agent-Field/CodeAF 的全部 Issue
相似的 Issue
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
priority/4/normal status/needs-triage type/bug/unconfirmed
难度 2/5 1-3 小时 新手友好度 78/100
authelia/authelia#13292 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
blinklabs-io/actions#138 ·
维护者通常 1 天内回复
-
[UI] AlbumDetails collapses multi-genre list to single primary genre on viewports < lg breakpoint未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复