feat(chat,todo): 小埃同学对话窗口与待办窗口

Chat:
- DTK2 窗口:左侧会话列表 + 右侧对话区 + 输入框
- DeepSeek / 自定义 API,SSE 流式输出,首字即显示
- 会话持久化到 chat.json,新建/切换/标题自动生成
- 设置对话框:API Key、API 地址、模型、系统提示,含开通指引
- 拖放:左侧空白=新建对话,左侧会话=指定会话,右侧对话区=当前会话
- Ctrl+Enter 发送,错误以消息形式回显

Todo:
- 待办窗口(layer-shell,不抢焦点、不进 dock),复选框/删除/新建
- 待办持久化 todo.json,--todo 打开,独立 desktop 入口

其他:
- desktop 入口改为打开对话窗口,--chat 参数
- 单实例消息支持 show/todo/chat
This commit is contained in:
2026-10-30 20:12:31 +08:00
parent 150a49af2f
commit e3c8da1a3f
12 changed files with 1363 additions and 10 deletions
+12
View File
@@ -0,0 +1,12 @@
[Desktop Entry]
Type=Application
Version=1.0
Name=GXDE Todo
Name[zh_CN]=GXDE 待办
Comment=Floating todo list of GXDE AI See
Comment[zh_CN]=小埃同学的待办
Exec=gxde-ai-see --todo
Icon=gxde-ai-see
Terminal=false
Categories=Utility;
StartupNotify=false
+1 -1
View File
@@ -7,7 +7,7 @@ GenericName=AI Assistant
GenericName[zh_CN]=AI 助手
Comment=Drag to a window and it lands in the input box
Comment[zh_CN]=拖一下,世界就到你手边
Exec=gxde-ai-see --show
Exec=gxde-ai-see --chat
Icon=gxde-ai-see
Terminal=false
Categories=Utility;Office;