feat: add a project from the picker, and keep the context ring
- the project picker has an "Add project" action: a folder browser starts at the server user's home, navigates (typed path, up, new folder) and adds the chosen folder through POST /api/openchamber/directory; the new project becomes the draft's target at once - refreshProjects merges settings-only projects (newest added first), so a project added before its first session still appears in the picker; the first session moves it into /api/project as usual - usageReading no longer hides the composer's context ring when the session's model has left the server catalog: a 200K window is assumed, the percentage is prefixed with "~", and the usage sheet says the window is estimated. A failed model fetch at connect is retried when a chat opens, so a normal session shows the real percentage - tests: the add-project browser flow, settings-only projects, and the estimated/known context readings
This commit is contained in:
1 parent
bd8afeb686
commit
c6b5a870c6
11 files changed
+708
-22
No files matched your search
@@ -5,6 +5,17 @@
|
||||
|
||||
---
|
||||
|
||||
## 0.5.7 添加项目与上下文环回退(分支 `flutter`)
|
||||
|
||||
| 项 | 结果 |
|
||||
| --- | --- |
|
||||
| 添加项目 | 项目选择器右上角新增【添加项目】:从服务器用户主目录开始浏览文件夹(可输入路径、上一级、新建文件夹),选中后写入 OpenChamber 项目列表并立即作为当前目标;新建会话、计划任务、统计的项目列表共享同一入口 |
|
||||
| 项目列表 | `/api/project` 只在项目里有会话后才返回该项;`refreshProjects` 现在合并设置文档里的项目(按 `addedAt` 新的在前),所以刚添加、还没有会话的项目也能在选择器里出现 |
|
||||
| 上下文环 | 旧会话的模型可能已从服务器模型目录移除,`usageReading` 找不到上下文窗口时不再隐藏输入框底部的环:按 200K 窗口估算并显示 `~百分比`;用量弹层注明「该模型不在模型目录中,上下文窗口为估算值」 |
|
||||
| 版本 | **0.5.7(code 507)** |
|
||||
|
||||
---
|
||||
|
||||
## 0.5.6 统计页面与 Chamber Go(分支 `flutter`)
|
||||
|
||||
| 项 | 结果 |
|
||||
|
||||
Reference in new issue
Block a user