New Features
- Import Claude Code CLI sessions — Browse and import conversation history from Claude Code CLI (~/.claude/), resume sessions directly in CodePilot (#28, closes #10)
- Installed skills support — Read and display skills installed from ~/.claude/skills/ and ~/.agents/skills/ directories with SHA1 content deduplication (#36)
Bug Fixes
- Fix UI freeze on large message sessions — Replaced catastrophic regex backtracking with JSON-first parsing, added lazy rendering for tool content blocks (#38)
- Prevent path traversal in file APIs — Security fix: validate file paths in /api/files and /api/files/preview to prevent directory traversal attacks (#16)
- Graceful database shutdown — Properly close better-sqlite3 connections on app exit to prevent WAL file leaks (#20)
- Environment variable status clarity — When a manual provider is active, env vars now show as "Overridden" instead of both appearing active simultaneously
- Fix session switching stuck on loading — Resolved race condition when quickly switching between chat sessions (v0.5.1)
Downloads
- CodePilot-0.6.0-arm64.dmg — macOS Apple Silicon (M1/M2/M3/M4)
- CodePilot-0.6.0-x64.dmg — macOS Intel
Installation
- 下载对应芯片架构的 DMG 文件
- 打开 DMG,将 CodePilot 拖入 Applications 文件夹
- 首次打开时如遇安全提示,前往 系统设置 → 隐私与安全性 点击"仍要打开"
- 在 Settings 页面配置 Anthropic API Key 或环境变量
Requirements
- macOS 12.0+
- Anthropic API Key 或已配置
ANTHROPIC_API_KEY环境变量 - 如需使用代码相关功能,建议安装 Claude Code CLI
Changelog (since v0.5.1)
| Commit | Description |
|---|---|
dc320e7
| chore: bump version to 0.6.0 |
487c0a5
| fix: prevent path traversal in file APIs (#16) |
8dcc19d
| fix: add graceful database shutdown (#20) |
c2c53e9
| feat: import and resume Claude Code CLI sessions (#28) |
336897c
| fix: 支持读取 ~/.claude/skills/ 目录下的已安装技能 (#36) |
c558b40
| fix: 修复加载大消息会话时卡死的问题 (#38) |
5b69a63
| fix: show env vars as overridden when a provider is active |
a42c0e3
| fix: resolve session switching stuck on loading spinner |