@heysalad/cheri-cli 0.10.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +95 -0
- package/package.json +12 -3
- package/src/commands/agent.js +427 -119
- package/src/commands/login.js +30 -10
- package/src/commands/memory.js +2 -2
- package/src/commands/status.js +1 -1
- package/src/commands/usage.js +13 -9
- package/src/commands/workspace.js +1 -1
- package/src/lib/approval.js +120 -0
- package/src/lib/command-safety.js +171 -0
- package/src/lib/config-store.js +140 -45
- package/src/lib/context.js +103 -37
- package/src/lib/diff-tracker.js +156 -0
- package/src/lib/logger.js +31 -12
- package/src/lib/markdown.js +80 -0
- package/src/lib/mcp/client.js +258 -0
- package/src/lib/multi-agent.js +153 -0
- package/src/lib/providers/index.js +290 -0
- package/src/lib/sandbox.js +164 -0
- package/src/lib/sessions/index.js +1 -2
- package/src/lib/tools/file-tools.js +56 -23
- package/src/lib/tools/search-tools.js +1 -1
- package/src/lib/ui.js +554 -0
- package/src/repl.js +5 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to Cheri CLI will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [1.1.0] - 2026-02-17
|
|
6
|
+
|
|
7
|
+
### ✨ Added - Beautiful UI & Animations
|
|
8
|
+
|
|
9
|
+
#### Enhanced Visual Feedback
|
|
10
|
+
- **Thinking Animation**: Beautiful animated spinner while AI processes requests
|
|
11
|
+
- **Tool Execution Panels**: Rich, color-coded panels for each tool with:
|
|
12
|
+
- Tool-specific icons (📖 for reading, ✍️ for writing, ⚡ for executing)
|
|
13
|
+
- Real-time elapsed time tracking
|
|
14
|
+
- Success/failure animations with context
|
|
15
|
+
- Preview of results in success messages
|
|
16
|
+
|
|
17
|
+
#### New UI Components
|
|
18
|
+
- **Gradient Colors**: Beautiful gradient text for enhanced readability
|
|
19
|
+
- Cheri red (#FF6B6B), Purple (#A855F7), Blue (#3B82F6), Green (#10B981)
|
|
20
|
+
- Cyan (#06B6D4), Yellow (#F59E0B), Pink (#EC4899)
|
|
21
|
+
- **Custom Spinners**: Operation-specific animated spinners
|
|
22
|
+
- File operations: Reading, writing, editing, deleting
|
|
23
|
+
- Cloud operations: API calls, workspace management
|
|
24
|
+
- Search operations: File and content search
|
|
25
|
+
- Command execution: Shell command progress
|
|
26
|
+
- AI thinking: Multi-frame thinking animation
|
|
27
|
+
|
|
28
|
+
#### Enhanced Logging
|
|
29
|
+
- **Enhanced Icons**: Unicode icons for all status messages (✓ ✗ ⚠ ℹ 💡)
|
|
30
|
+
- **Box Drawing**: Beautiful borders with unicode box characters
|
|
31
|
+
- **Progress Bars**: Animated progress indicators with percentage
|
|
32
|
+
- **Stream Renderer**: Colored streaming text for AI responses
|
|
33
|
+
- **Tool Panels**: Live-updating panels for tool execution with timing
|
|
34
|
+
|
|
35
|
+
#### Developer Experience
|
|
36
|
+
- **Managed Spinners**: Automatic cleanup of all active spinners
|
|
37
|
+
- **Error Context**: Better error messages with truncated stack traces
|
|
38
|
+
- **Visual Separators**: Clear section dividers between operations
|
|
39
|
+
- **Status Messages**: Context-aware success/failure messages
|
|
40
|
+
|
|
41
|
+
### 🔧 Improved
|
|
42
|
+
|
|
43
|
+
#### Agent Command
|
|
44
|
+
- Streaming responses now display in gradient cyan for better readability
|
|
45
|
+
- Tool executions show in animated panels with real-time feedback
|
|
46
|
+
- Visual separator between AI response and tool execution
|
|
47
|
+
- Thinking spinner appears while waiting for AI response
|
|
48
|
+
- Better error display with color-coded severity
|
|
49
|
+
|
|
50
|
+
#### Logger
|
|
51
|
+
- Enhanced all log methods with gradient colors
|
|
52
|
+
- Added icons to all status messages
|
|
53
|
+
- Improved visual hierarchy with better spacing
|
|
54
|
+
- Enhanced banner with animated logo
|
|
55
|
+
|
|
56
|
+
### 📚 Files Added
|
|
57
|
+
- `src/lib/ui.js` - Complete UI system with animations and components
|
|
58
|
+
|
|
59
|
+
### 🐛 Bug Fixes
|
|
60
|
+
- Fixed missing newlines after tool execution
|
|
61
|
+
- Better handling of long command outputs in spinners
|
|
62
|
+
- Improved truncation of long file paths in status messages
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## [1.0.0] - 2026-02-16
|
|
67
|
+
|
|
68
|
+
### Initial Release
|
|
69
|
+
- AI-powered coding agent with tool execution
|
|
70
|
+
- Cloud workspace management
|
|
71
|
+
- Session persistence and resume
|
|
72
|
+
- MCP server integration
|
|
73
|
+
- Multi-agent orchestration
|
|
74
|
+
- Sandbox command execution
|
|
75
|
+
- File operations (read, write, edit)
|
|
76
|
+
- Search capabilities
|
|
77
|
+
- Configuration management
|
|
78
|
+
- Memory system
|
|
79
|
+
- Plugin/skill support
|
|
80
|
+
- Approval workflows
|
|
81
|
+
- Diff tracking and rollback
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Future Roadmap
|
|
86
|
+
|
|
87
|
+
### Planned Features
|
|
88
|
+
- Interactive mode with REPL
|
|
89
|
+
- Diff viewer with syntax highlighting
|
|
90
|
+
- File tree visualization
|
|
91
|
+
- Real-time collaboration indicators
|
|
92
|
+
- Custom theme support
|
|
93
|
+
- Notification sounds (optional)
|
|
94
|
+
- Performance metrics dashboard
|
|
95
|
+
- Export session transcripts with formatting
|
package/package.json
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heysalad/cheri-cli",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Cheri CLI - AI-powered cloud IDE by HeySalad. Like Claude Code, but for cloud workspaces.",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "Cheri CLI - AI-powered cloud IDE by HeySalad. Like Claude Code, but for cloud workspaces. Now with beautiful animations and enhanced UI!",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"cheri": "./bin/cheri.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"bin/",
|
|
11
|
-
"src
|
|
11
|
+
"src/**/*.js",
|
|
12
|
+
"!src/**/*.fixed.js",
|
|
13
|
+
"!src/**/*.backup.js",
|
|
14
|
+
"!src/**/*.test.js",
|
|
15
|
+
"!src/**/*.spec.js",
|
|
16
|
+
"CHANGELOG.md",
|
|
17
|
+
"README.md"
|
|
12
18
|
],
|
|
13
19
|
"scripts": {
|
|
14
20
|
"start": "node bin/cheri.js",
|
|
@@ -39,7 +45,10 @@
|
|
|
39
45
|
"dependencies": {
|
|
40
46
|
"chalk": "^5.3.0",
|
|
41
47
|
"commander": "^12.1.0",
|
|
48
|
+
"diff": "^8.0.3",
|
|
42
49
|
"inquirer": "^9.2.23",
|
|
50
|
+
"marked": "^15.0.12",
|
|
51
|
+
"marked-terminal": "^7.3.0",
|
|
43
52
|
"ora": "^8.0.1"
|
|
44
53
|
}
|
|
45
54
|
}
|