feat: TUI 新增 Vim 风格键位(模态输入 + 聊天导航),版本升 8.0.3
- 新增 xcli_core/vim_keys.py:纯逻辑 Vim 状态机(NORMAL/INSERT),h/j/k/l/w/b/0/$/^/gg/G/i/a/o/I/A/O/dd/x/dw/d$/u - tui.py:VimSendTextArea 子类接入模态编辑;XiaoliTUI 增加 j/k、Ctrl+F/B/D/U 聊天滚动、Ctrl+Space 聚焦切换、i 聚焦插入、/vim 开关、模式提示栏、/help 更新 - 新增 tests/test_vim_keys.py(18 项动作单测全过) - 版本号 8.0.2 -> 8.0.3(constants/about/README/tui/rich_tui/lsp/mcp)
This commit is contained in:
1 parent
6f4fa5076f
commit
66de8eea13
11 files changed
+710
-12
No files matched your search
+1
-1
@@ -153,7 +153,7 @@ class McpClient:
|
||||
result = self._send("initialize", {
|
||||
"protocolVersion": PROTOCOL_VERSION,
|
||||
"capabilities": {},
|
||||
"clientInfo": {"name": "xiaoli-cli", "version": "8.0.2"},
|
||||
"clientInfo": {"name": "xiaoli-cli", "version": "8.0.3"},
|
||||
})
|
||||
# 通知 server 初始化完成(无响应,无需等待)
|
||||
self._send("notifications/initialized", {}, is_notification=True)
|
||||
|
||||
Reference in new issue
Block a user