Commit Graph

4 Commits

Author SHA1 Message Date
Song-Ze Yu 0eb01e6e75
Fix #6: Implement terminal-style UI for email notifications (#8)
* Fix self-reply loop issue when using same email for send/receive

- Add Message-ID tracking to prevent processing system-sent emails
- Track sent emails in sent-messages.json with auto-cleanup
- Skip system emails in both email-listener.js and relay-pty.js
- Extract session from token/headers/body for proper reply routing
- Reduce verbose logging in tmux-injector to debug level

Fixes #3

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Fix working directory issue - enable claude-remote to run from any directory

- Use absolute path to load .env file instead of relying on current working directory
- Fix environment variable loading in both main program and relay service
- Now claude-remote can be executed from any directory

Fixes #5

* Fix issue #6: Implement terminal-style UI for email notifications

- Redesigned email template with terminal/console aesthetic
- Used monospace fonts and dark theme for tech look
- Fixed Claude response truncation issue (removed 500 char limit)
- Increased tmux buffer capture from 50 to 200 lines
- Preserved code formatting (removed space collapsing)
- Added terminal-style command prompts and colored output
- Created test script for long content validation

* Fix terminal UI visual issues

- Fixed traffic light buttons spacing (now properly separated)
- Changed background from pure black to lighter gray (#f5f5f5)
- Terminal content background changed to softer dark (#1a1a1a)
- Code blocks background changed to #262626 for better contrast
- Improved overall visual hierarchy and readability

* Fine-tune traffic light button spacing

- Adjusted spacing between buttons from 8px to 6px
- Reduced gap after buttons from 20px to 12px
- Achieved more natural macOS-like appearance

* Use table layout for better email client compatibility

- Changed from inline-flex to table layout for traffic light buttons
- Set explicit 5px spacing between buttons using table cells
- This ensures consistent rendering across different email clients

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-01 12:29:25 +08:00
panda 1853e86f9b Add English documentation and language switcher
- Create HOW_TO_USE_EMAIL_REPLY_EN.md with full English translation
- Add language switcher to both Chinese and English docs
- Update README.md to link to both language versions
- Ensure consistent formatting between language versions

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 14:56:41 +08:00
panda 4f288982ed Rebrand from TaskPing to Claude Code Remote
- Rename main file: taskping.js → claude-remote.js
- Create .env.example template file with proper Claude Code Remote branding
- Update all README references from taskping commands to claude-remote.js
- Update email notification subject lines and service names
- Replace all TaskPing references with Claude Code Remote in documentation
- Standardize configuration workflow using cp .env.example .env approach
- Ensure consistent project naming throughout all user-facing content

This completes the rebranding effort to properly reflect the project's
focus on Claude Code remote control functionality.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-27 22:47:34 +08:00
panda b8f79ea2cc 清理项目并重构:整合邮件自动化功能
- 删除所有测试和调试文件,保持代码库清洁
- 重写 README.md,提供完整的功能介绍和使用指南
- 整合核心功能:智能邮件通知、回复自动执行、会话管理
- 添加故障排除指南和使用场景说明
- 实现邮件去重机制和单实例运行保障
- 提供全局 claude-control 命令支持

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-27 15:27:24 +08:00