15 Commits
Author SHA1 Message Date
lingr25 f37722f321 fix(windows): show window on launch and reuse running instance 2026-10-16 12:00:30 +09:00
ZASENJC a4ddb522af feat: add signed native updates for macOS and Windows 2026-10-16 02:06:09 +08:00
ZASENJC 7d424f059e fix(release): isolate signing material from the preflight compiler 2026-10-16 00:31:22 +08:00
ZASENJC 823ba44d78 fix: register signing keychain and verify signing before universal builds 2026-10-16 00:29:48 +08:00
ZASENJC 63fd5c97f3 feat: use transparent adaptive tray marks on both native apps 2026-10-16 00:20:07 +08:00
ZASENJC f5fab7ecde fix(release): preserve published releases after ambiguous API responses 2026-10-16 00:12:17 +08:00
ZASENJC 8d4628aeed refactor: separate native platforms and automate signed dual-platform releases 2026-10-16 00:05:02 +08:00
ZASENJC 8e14266c18 feat(windows): align native UI and manage built-in model service
Align the pure-Rust Windows translation, chat, settings, and toolbar design with macOS using shared Lucide icons. Fix hover and scrolling repaint artifacts, dropdown alignment, and native model download folder selection.

Persist manual service stops, cancel active built-in requests, and add confirmed cleanup of built-in models and managed runtime dependencies. Cover lifecycle behavior with Rust tests and add a native Windows repaint regression harness.

Validation: native Windows release build and installed UI verification; isolated Windows service lifecycle checks; six model manager tests; macOS cargo check; git diff --check.
2026-10-15 23:39:28 +08:00
ZASENJC d16722fdf4 feat: add native Windows app and OCR, remove legacy Tauri frontend 2026-10-15 20:29:44 +08:00
ZASENJC 0f04fefbcc feat: rewrite TTREE into 100% pure-Rust modular workspace with native AppKit UI, fast hedged translation, reliable OCR, and Ollama/LMStudio/GGUF AI backends 2026-10-14 19:07:43 +08:00
ZASENJC c9e7ca0f9d test: enforce menu bar only macOS mode 2026-07-12 18:29:36 +08:00
ZASENJC 8021cb995f fix: parse real codesign requirement output 2026-07-10 23:01:45 +08:00
ZASENJC 9327333c2e test: reproduce real codesign requirement output 2026-07-10 23:00:51 +08:00
ZASENJC ca66b75208 release: prepare v0.1.1 2026-07-10 22:46:24 +08:00
f4c2f921c1 feat: AI 对话历史、Keychain 凭据、应用内更新与外观打磨
凭据安全:
- API key 改存 macOS Keychain(security-framework),不再明文落盘 settings.json
- OpenAi/ChatAi 配置实现 Debug 脱敏,api_key 永不进入日志
- HTTP 客户端禁止跟随重定向(防 SSRF 二跳),base_url 校验 http(s) scheme
- IPC 对话载荷校验:角色白名单、单条 64KB、单次 200 条上限

对话历史(新增 history 模块):
- JSONL 追加写、永不重写,单行损坏容错、向后兼容旧格式
- 按 session_start 标记切分对话,摘要取首句用户提问
- 新增 load/append/clear/start_new 对应 Tauri 命令
- 前端 chatContext 截取最近 24 条上下文并丢弃孤儿 assistant 开场

应用内更新:
- 接入 tauri-plugin-updater + tauri-plugin-process
- 新增 update store:后台静默检查(≥7 天一次)、下载进度、自动重启
- 配套 CI release.yml(双架构构建 + 签名 + latest.json)与 signing-env.sh(口令取自 Keychain)

外观与窗口:
- 毛玻璃改用 Popover 材质 + 14px 圆角,面板透明度可调(持久化)
- 窗口默认宽度收窄至 480,尺寸调整后持久化、下次呼出沿用
- 前端整体视觉重做(tokens/global、Translate/Chat/Settings 面板、EngineTabs/LangSelector/ResultView)

测试:前端 26 项 + Rust 51 项全部通过

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-06-27 02:13:58 +08:00