feat: tabs own the panel header, a Termux key bar, and agent memory
- The panel's top row is now the tab group plus the close button; each tab keeps its own header: the files tab has the breadcrumb with new/more (or the name and edit/download while previewing), knowledge its search and refresh, the terminal its status. - The key bar is Termux's two rows of seven: ESC / — HOME ↑ END PGUP, then TAB CTRL ALT ← ↓ → PGDN; the modifiers still apply to what the phone keyboard types. - The panel is a dialog, so it gives the IME's height back itself (viewInsets.bottom). The key bar and the terminal stay above the keyboard, and the PTY reflows to the smaller terminal. - Project knowledge gains the memory tab: both scopes from /api/agent-memory/all, absent when the server has memory switched off, with type, edit and delete. - File preview editing passes minLines: null alongside expands. - 0.3.12 (312).
This commit is contained in:
1 parent
5f95e2da97
commit
5a371e4faf
8 files changed
+675
-231
No files matched your search
@@ -5,6 +5,19 @@
|
||||
|
||||
---
|
||||
|
||||
## 0.3.12 侧栏头部、Termux 按键栏、键盘避让与记忆(分支 `flutter`)
|
||||
|
||||
| 项 | 结果 |
|
||||
| --- | --- |
|
||||
| 侧栏头部 | 顶部一行改成「标签组 + 关闭按钮」,标题/目录副标题去掉(目录本来就在面包屑里);文件/项目知识/终端各自的功能按钮下沉到标签自己的头部行——文件页是面包屑右侧的「+ / ⋯」(预览时是「编辑 / 下载」),项目知识页是搜索框 + 刷新,终端页是状态 + 键盘/重启/菜单 |
|
||||
| 按键栏 | 按 Termux 改成两行七列等宽:`ESC / — HOME ↑ END PGUP`、`TAB CTRL ALT ← ↓ → PGDN`(左下角是 **TAB**,不是收起按钮);CTRL/ALT 修饰对手机输入法的字符仍然生效 |
|
||||
| 键盘避让 | 侧栏是对话框,不会自己随输入法缩小;现在给底部加上 `MediaQuery.viewInsets.bottom` 的内边距,终端连同按键栏一起抬到键盘上方,`TerminalView` 随之减少行数并把新尺寸回传给 PTY |
|
||||
| 记忆 | 项目知识新增「记忆」标签:`GET /api/agent-memory/all` 一次取全局与项目两份,服务端把功能关掉时(404)整个标签不出现;卡片显示标题、类型(事实/偏好/参考)、内容,可编辑(标题/类型/正文)与删除,搜索也覆盖记忆 |
|
||||
| 顺带修复 | 文件预览的编辑框 `expands: true` 缺 `minLines: null`,进编辑会触发断言 |
|
||||
| 版本 | **0.3.12(code 312)** |
|
||||
|
||||
---
|
||||
|
||||
## 0.3.11 终端、项目知识与下载进度(分支 `flutter`)
|
||||
|
||||
| 项 | 结果 |
|
||||
|
||||
Reference in new issue
Block a user