dimcode 0.0.5-beta.19 → 0.0.5-beta.21
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 +16 -7
- package/dist/cli.mjs +670 -450
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Dimcode CLI
|
|
2
2
|
|
|
3
|
-
> A powerful AI agent CLI
|
|
3
|
+
> A powerful AI agent CLI with an interactive terminal UI (TUI)
|
|
4
4
|
|
|
5
5
|
[](https://badge.fury.io/js/dimcode)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
@@ -71,11 +71,20 @@ Type slash commands directly in the input field:
|
|
|
71
71
|
|
|
72
72
|
| Command | Description |
|
|
73
73
|
|---------|-------------|
|
|
74
|
-
| `/settings` | Open settings dialog |
|
|
75
|
-
| `/
|
|
74
|
+
| `/settings` | Open settings dialog (custom providers) |
|
|
75
|
+
| `/config` | Alternative for `/settings` |
|
|
76
|
+
| `/approvals` | Manage tool approvals (auto/all) |
|
|
77
|
+
| `/approval` | Alternative for `/approvals` |
|
|
78
|
+
| `/connect` | Connect a provider |
|
|
79
|
+
| `/models` | Select a model |
|
|
76
80
|
| `/sessions` | List all sessions |
|
|
77
81
|
| `/new` | Create a new session |
|
|
78
|
-
| `/redo` | Redo last interaction
|
|
82
|
+
| `/redo` | Redo last interaction |
|
|
83
|
+
| `/rename <title>` | Rename current session |
|
|
84
|
+
| `/timeline` | Jump to a user message |
|
|
85
|
+
| `/tl` | Alternative for `/timeline` |
|
|
86
|
+
| `/review` | Review code changes |
|
|
87
|
+
| `/debug` | Open debug dialog (node mode only) |
|
|
79
88
|
|
|
80
89
|
### Keyboard Shortcuts
|
|
81
90
|
|
|
@@ -96,7 +105,7 @@ Create a `.env` file in your working directory or set environment variables:
|
|
|
96
105
|
# OpenAI Configuration
|
|
97
106
|
OPENAI_API_KEY=your_api_key_here
|
|
98
107
|
OPENAI_BASE_URL=https://api.openai.com/v1 # Optional
|
|
99
|
-
|
|
108
|
+
DIMCODE_MODEL=deepseek-v3.1 # Default model
|
|
100
109
|
|
|
101
110
|
# Serper API for web search (optional)
|
|
102
111
|
SERPER_API_KEY=your_serper_key_here
|
|
@@ -110,7 +119,7 @@ On first launch, Dimcode will guide you through:
|
|
|
110
119
|
2. **Model Selection** - Choose your preferred AI model
|
|
111
120
|
3. **Tool Approvals** - Configure which tools can run automatically
|
|
112
121
|
|
|
113
|
-
Settings are stored in `~/.
|
|
122
|
+
Settings are stored in `~/.dimcode/dimcode/` directory by default (can be customized via `DIMCODE_HOME` environment variable).
|
|
114
123
|
|
|
115
124
|
## 🔧 Built-in Tools
|
|
116
125
|
|
|
@@ -166,5 +175,5 @@ dim
|
|
|
166
175
|
## 🔐 Security & Privacy
|
|
167
176
|
|
|
168
177
|
- **Tool Approvals**: By default, sensitive operations (file writes, shell commands) require user approval
|
|
169
|
-
- **Local Storage**: All session data is stored locally in `~/.
|
|
178
|
+
- **Local Storage**: All session data is stored locally in `~/.dimcode/dimcode/` (customizable via `DIMCODE_HOME`)
|
|
170
179
|
|