dimcode 0.0.5-beta.26 → 0.0.5-beta.28
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/README.md +42 -19
- package/dist/cli.mjs +540 -505
- package/package.json +5 -3
- package/scripts/postinstall.mjs +64 -0
package/README.md
CHANGED
|
@@ -1,19 +1,46 @@
|
|
|
1
|
-
|
|
1
|
+
<img src="https://storage-static.fazhiplus.com/zmchat-avatar/0752d736887697a3284138d013052e53+MjI1ZWM1YTAtNmE4Zi00ZWRkLWI0NjktZjNlNzM4N2U0M2M3LjBkZDI2ODc1LWYxMGYtNDBhNC05NWQ1LWJiZGY2ZmEwM2M0OXgxNzY5NzQ4MDM4MTcyNDEwNzYw" alt="Brand Logo" height="100">
|
|
2
2
|
|
|
3
3
|
# Dimcode CLI
|
|
4
4
|
|
|
5
|
-
> A powerful AI agent CLI with
|
|
5
|
+
> A powerful AI agent CLI with a beautiful interactive terminal UI (TUI)
|
|
6
6
|
|
|
7
7
|
[](https://badge.fury.io/js/dimcode)
|
|
8
8
|
|
|
9
|
-
Dimcode is a command-line interface for AI-powered coding assistance
|
|
9
|
+
Dimcode is a command-line interface for AI-powered coding assistance. It helps you move fast with:
|
|
10
10
|
|
|
11
11
|
- 🎨 **Beautiful TUI** - Modern terminal interface built with Vue 3
|
|
12
|
-
- 💬 **Multi-session Management** -
|
|
13
|
-
- 🔧 **Built-in Tools** - File
|
|
14
|
-
- ⚡ **Streaming Responses** -
|
|
15
|
-
- 🎯 **Tool Approvals** -
|
|
16
|
-
- 🌈 **Themes** -
|
|
12
|
+
- 💬 **Multi-session Management** - Organize multiple AI conversations
|
|
13
|
+
- 🔧 **Built-in Tools** - File ops, web search, code analysis, and more
|
|
14
|
+
- ⚡ **Streaming Responses** - See AI outputs in real time
|
|
15
|
+
- 🎯 **Tool Approvals** - Granular control over tool execution
|
|
16
|
+
- 🌈 **Themes** - Flexible, customizable color schemes
|
|
17
|
+
|
|
18
|
+
## 📈 Download Stats
|
|
19
|
+
|
|
20
|
+
| Metric | Live Badge |
|
|
21
|
+
| ---------------- | -------------------------------------------------------------------------------------------------------- |
|
|
22
|
+
| Weekly downloads | [](https://www.npmjs.com/package/dimcode) |
|
|
23
|
+
| Total downloads | [](https://www.npmjs.com/package/dimcode) |
|
|
24
|
+
|
|
25
|
+
## ⚡ Get Started in 30 Seconds
|
|
26
|
+
|
|
27
|
+
1. Install the CLI
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm install -g dimcode
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
2. Run it
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
dim
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
3. Ask for help
|
|
40
|
+
|
|
41
|
+
```text
|
|
42
|
+
Create a React component for a todo list
|
|
43
|
+
```
|
|
17
44
|
|
|
18
45
|
## 📦 Installation
|
|
19
46
|
|
|
@@ -44,16 +71,6 @@ Run directly without installation:
|
|
|
44
71
|
npx dimcode
|
|
45
72
|
```
|
|
46
73
|
|
|
47
|
-
## 🚀 Quick Start
|
|
48
|
-
|
|
49
|
-
After installation, simply run:
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
dim
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
This will launch the interactive terminal UI.
|
|
56
|
-
|
|
57
74
|
## 🎮 Usage
|
|
58
75
|
|
|
59
76
|
### Command Palette
|
|
@@ -92,10 +109,16 @@ Type slash commands directly in the input field:
|
|
|
92
109
|
| Shortcut | Action |
|
|
93
110
|
| ------------- | -------------------- |
|
|
94
111
|
| `Ctrl+P` | Open command palette |
|
|
95
|
-
| `Ctrl+C` |
|
|
112
|
+
| `Ctrl+C` | Clear input (if non-empty); otherwise exit |
|
|
96
113
|
| `Enter` | Send message |
|
|
97
114
|
| `Shift+Enter` | New line in input |
|
|
98
115
|
|
|
116
|
+
### Input Tips
|
|
117
|
+
|
|
118
|
+
- Drag to select text, then release to auto-copy (when enabled)
|
|
119
|
+
- In the input area, use `Shift+Option` for rectangular selection
|
|
120
|
+
- Triple-click in the input area to select all
|
|
121
|
+
|
|
99
122
|
## ⚙️ Configuration
|
|
100
123
|
|
|
101
124
|
### Environment Variables
|