一套全面的工具,用于处理Claude、Claude Code和MCP服务器。
✅ 高级功能交付 - 时间线分析、导出系统、性能优化
# 克隆并构建
git clone <repository-url>
cd claude_code
cargo build --release
# 安装全局以便于使用
cargo install --path .
# 交互式终端UI(推荐)
claude-tools interactive # 或:cargo run -- interactive
# 时间线分析
claude-tools timeline --period day
claude-tools timeline --period week --detailed
claude-tools timeline --export json --output timeline.json
# 命令行界面
claude-tools list --detailed
claude-tools search "(rust OR python) AND error" # 布尔查询
claude-tools search "async.*function" --regex # 正则表达式
claude-tools search "debug" --tool bash --after "7 days ago" # 多条件
claude-tools show <conversation-id> --format markdown
claude-tools show <id> --export html --output conversation.html
claude-tools stats --global --export csv
claude_code/
├── src/ # 源代码
│ ├── cli/ # 命令行界面
│ │ ├── args.rs # CLI参数定义
│ │ └── commands.rs # 命令实现
│ ├── claude/ # Claude特定功能
│ │ ├── analytics.rs # 对话分析
│ │ ├── cache.rs # 时间线缓存系统
│ │ ├── conversation.rs # 数据结构和解析
│ │ ├── directory.rs # 目录检测
│ │ ├── export.rs # 导出功能
│ │ ├── search.rs # 搜索引擎
│ │ └── timeline.rs # 活动时间线
│ ├── mcp/ # MCP服务器管理
│ │ ├── discovery.rs # 服务器发现
│ │ └── server.rs # 服务器管理
│ ├── ui/ # 终端用户界面
│ │ ├── app.rs # 主应用程序状态
│ │ └── conversation_display.rs # 渲染
│ ├── errors.rs # 错误处理
│ ├── lib.rs # 库导出
│ └── main.rs # 应用程序入口点
├── tasks/ # 任务管理
│ ├── active/ # 当前工作项
│ ├── completed/ # 完成的任务
│ └── backlog/ # 未来任务
├── tests/ # 集成测试
├── CLAUDE.md # 开发指南
└── README.md # 项目文档
此项目遵循结构化的任务管理方法。参见tasks/tasks-directive.md以获取创建和管理任务的指南。
[许可证待定]
此项目处于早期开发阶段。关注并收藏以获取更新!