Files
myagents/desktop/README.md
T
Zhengshou Lai 0c227cae19 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` 打包命令
2026-05-27 11:23:14 +08:00

34 lines
836 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.
# MyClaude Pet
桌面宠物外壳 for Claude CLI。常驻屏幕角落,点击展开终端聊天框。
## 特性
- **会话保持** — Claude CLI 进程常驻后台,收起/展开不影响对话
- **宠物外壳** — 80x80 悬浮 orb,可拖拽,呼吸动画
- **CRT 终端** — 复古终端风格,扫描线 + 文字发光效果
- **全局快捷键** — `Cmd+Shift+C`macOS/ `Ctrl+Shift+C`Win/Linux)快速显示/隐藏
- **位置记忆** — 窗口位置自动保存
## 开发
```bash
npm install
npm run rebuild # 编译原生模块(node-pty
npm run dev # 启动开发环境
```
## 构建
```bash
npm run build
```
前端输出到 `dist/`Electron 输出到 `dist-electron/`
## 要求
- macOS / Windows / Linux
- Node.js 20+
- 已安装 [Claude CLI](https://claude.ai/download) 并登录