Skip to content

fix(tui): 关闭底部状态栏时让出 session_prompt 插槽 - #36

Merged
Hotakus merged 4 commits into
masterfrom
fix/v1-prompt-slot-yield
Sep 21, 2026
Merged

Hotakus merged 4 commits into
masterfrom
fix/v1-prompt-slot-yield

Conversation

@Hotakus

@Hotakus Hotakus commented Sep 21, 2026 •

Copy link
Copy Markdown
Owner

关联

issue #35

功能

  1. opencode 1.x 下「底部状态栏」默认关闭,提示行显示宿主默认路径;与其它同样接管输入框的插件同用时不再出现重复输入框
  2. 通过 /cache-section 可开启底部状态栏,开启后需重启 TUI 生效
  3. 切换时按「已开启 / 已关闭」分别提示,并说明需重启
  4. opencode 2.x 使用独立的输入框底部插槽,不存在该冲突,底部状态栏默认显示
  5. README / README_EN 补充两代默认行为与共存说明

验证

  • npm run typecheck 通过
  • npm run build 通过
  • npm run test:balance 通过
  • 未验证:opencode 1.18.31 / 2.x TUI 下的实际显示效果(本环境无法启动 TUI)

Refs #35

@Hotakus Hotakus self-assigned this Sep 21, 2026
@Hotakus Hotakus added the bug Something isn't working label Sep 21, 2026
@Hotakus
Hotakus merged commit 5f26b1e into master Sep 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

与 oh-my-openagent 同用时出现双输入框:双方都整体重建 session_prompt slot

1 participant