feat: v0.9.1 — 图片压缩、文件token预算截断、并行上传、文档同步

- 图片上传: Canvas前端压缩(1280px等比缩放+JPEG), 300KB以下跳过
- 文件上传: Token预算感知截断(30% numCtx), 26种语言注释剥离
- 性能: handleImagePaths/handleTextFilePaths 并行化(Promise.all)
- sub-agent.ts: 修复3个TS编译错误(tool_name类型, success重复)
- 版本号: 全项目统一至0.9.1(10处)
- 文档: BUILD.md/DEVELOPMENT.md 同步实际架构, 移除过期分支引用
- README: 组件列表修正(log-panel.ts→prompt-modal.ts)
- 帮助面板: 更新图片/文件上传描述
This commit is contained in:
thzxx
2026-06-05 11:32:40 +08:00
parent 7b9ac8ac13
commit 2217113014
9 changed files with 244 additions and 88 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "metona-ollama-desktop",
"version": "1.1.0",
"version": "0.9.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "metona-ollama-desktop",
"version": "1.1.0",
"version": "0.9.1",
"license": "MIT",
"dependencies": {
"sql.js": "^1.11.0"