feat(desktop): add Electron desktop pet for Claude CLI

- Electron + React + TypeScript 桌面宠物外壳
- xterm.js + node-pty 直接对接 Claude CLI 进程
- 宠物 orb(80x80)可拖拽,点击展开终端面板
- CRT 复古终端主题(扫描线、文字发光)
- 全局快捷键 Cmd+Shift+C 显隐
- 窗口位置自动保存
- 中华田园犬吉祥物 icon(AI 生成)
- Makefile 新增 `make app` 打包命令
This commit is contained in:
Zhengshou Lai
2026-05-27 11:23:14 +08:00
parent 75eaabbfb5
commit 0c227cae19
26 changed files with 6627 additions and 3 deletions
+20
View File
@@ -0,0 +1,20 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "CommonJS",
"moduleResolution": "node",
"ignoreDeprecations": "6.0",
"lib": ["ES2020"],
"outDir": "dist-electron",
"rootDir": "electron",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"declaration": false,
"sourceMap": true
},
"include": ["electron/**/*"],
"exclude": ["node_modules"]
}