Files
team/memory/desktop-tech-stack-change.md
T
2026-04-19 21:47:08 +08:00

16 lines
654 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: Desktop 技术栈变更
description: Desktop 模块从 PySide6/Qt 迁移到 PyWebView + Svelte 的决策记录
type: project
originSessionId: 74c25b75-4539-4e2e-befc-145f81f71d59
---
# Desktop 技术栈变更 (2026-04-05)
**评估结果**: `specs/001-desktop-web-evaluation/spec.md`
**变更原因**: Claude 对 Web 前端代码生成准确率(~85-95%)远高于 PySide6~60-70%),Desktop 模块尚未编码(0%),是切换最佳时机。
**新架构**: Svelte SPA 前端 ←→ pywebview JS Bridge ←→ Python 后端
**关键规则**: Bridge API 返回 JSON 字符串 / 剪贴板通过 pyperclip / 敏感操作在 Python 端