dimcode 0.0.16-beta.2 → 0.0.16-beta.3
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 +57 -2
- package/dist/cli.mjs +590 -593
- package/dist/google.json +1 -1
- package/dist/models/aihubmix.json +1 -1
- package/dist/models/openrouter.json +1 -1
- package/dist/models/siliconflow-com.json +1 -1
- package/dist/models/siliconflow.json +1 -1
- package/dist/models/zenmux.json +1 -1
- package/dist/openai.json +1 -1
- package/dist/xai.json +1 -1
- package/dist/zai-coding-plan.json +1 -1
- package/dist/zai.json +1 -1
- package/dist/zhipuai-coding-plan.json +1 -1
- package/dist/zhipuai.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,11 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
# Dimcode CLI
|
|
4
4
|
|
|
5
|
-
>
|
|
5
|
+
> An AI coding agent CLI and terminal coding assistant with a beautiful interactive TUI
|
|
6
6
|
|
|
7
7
|
[](https://badge.fury.io/js/dimcode)
|
|
8
8
|
|
|
9
|
-
Dimcode is
|
|
9
|
+
Dimcode is an AI coding CLI for terminal-first developers who want fast code generation, refactoring, repo search, code review, and agent-style workflows directly in the shell.
|
|
10
|
+
|
|
11
|
+
If you are searching for a CLI coding tool similar to Claude Code, Codex, OpenCode, or Cursor's terminal workflow, Dimcode is built for the same terminal-native use case while adding a polished multi-session TUI, tool approvals, MCP support, and flexible provider setup.
|
|
12
|
+
|
|
13
|
+
Dimcode helps you move fast with:
|
|
10
14
|
|
|
11
15
|
- 🎨 **Beautiful TUI** - Modern terminal interface built with Vue 3
|
|
12
16
|
|
|
@@ -25,6 +29,18 @@ Dimcode is a command-line interface for AI-powered coding assistance. It helps y
|
|
|
25
29
|
| Weekly downloads | [](https://www.npmjs.com/package/dimcode) |
|
|
26
30
|
| Total downloads | [](https://www.npmjs.com/package/dimcode) |
|
|
27
31
|
|
|
32
|
+
## Why Developers Search for Dimcode
|
|
33
|
+
|
|
34
|
+
Dimcode is designed for developers looking for:
|
|
35
|
+
|
|
36
|
+
- An **AI coding CLI** for daily programming tasks
|
|
37
|
+
- A **terminal coding assistant** for large codebases
|
|
38
|
+
- A **Claude Code alternative** with a richer TUI
|
|
39
|
+
- A **Codex CLI alternative** for multi-session work
|
|
40
|
+
- An **OpenCode alternative** with built-in tool approvals
|
|
41
|
+
- A **Cursor alternative for terminal users** who prefer staying in the shell
|
|
42
|
+
- A **CLI AI agent** for refactors, debugging, repo Q&A, and web research
|
|
43
|
+
|
|
28
44
|
## ⚡ Get Started in 30 Seconds
|
|
29
45
|
|
|
30
46
|
1. Install the CLI
|
|
@@ -47,6 +63,8 @@ Create a React component for a todo list
|
|
|
47
63
|
|
|
48
64
|
## 📦 Installation
|
|
49
65
|
|
|
66
|
+
Install Dimcode as your AI coding assistant CLI:
|
|
67
|
+
|
|
50
68
|
### Global Installation (Recommended)
|
|
51
69
|
|
|
52
70
|
```bash
|
|
@@ -146,6 +164,18 @@ Type slash commands directly in the input field:
|
|
|
146
164
|
- `Tab` moves focus to the next input field; `Shift+Tab` moves to the previous
|
|
147
165
|
- The CLI is mouse-friendly for selection, scrolling, and clicking buttons/controls
|
|
148
166
|
|
|
167
|
+
## Dimcode vs Other AI Coding Tools
|
|
168
|
+
|
|
169
|
+
If you are comparing Dimcode with Claude Code, Codex, OpenCode, or Cursor, the main difference is that Dimcode focuses on a terminal-first agent experience with:
|
|
170
|
+
|
|
171
|
+
- **Interactive TUI workflows** instead of a minimal chat-only shell
|
|
172
|
+
- **Multi-session conversation management** for parallel coding tasks
|
|
173
|
+
- **Tool approvals and built-in tools** for safer repo operations
|
|
174
|
+
- **Flexible provider and model configuration** for custom setups
|
|
175
|
+
- **ACP / MCP connectivity** for editor and tool integrations
|
|
176
|
+
|
|
177
|
+
That makes it a good fit for developers who want an AI code assistant in the terminal, but need more control and visibility than a basic CLI chat loop.
|
|
178
|
+
|
|
149
179
|
## ⚙️ Configuration
|
|
150
180
|
|
|
151
181
|
### Environment Variables
|
|
@@ -180,6 +210,24 @@ On first launch, Dimcode will guide you through:
|
|
|
180
210
|
|
|
181
211
|
Settings are stored in `~/.dimcode/dimcode/` directory by default (can be customized via `DIMCODE_HOME` environment variable).
|
|
182
212
|
|
|
213
|
+
## ACP Server
|
|
214
|
+
|
|
215
|
+
DimCode can run as an ACP server for editors and tools such as Zed or OpenClaw `acpx`.
|
|
216
|
+
|
|
217
|
+
Preferred commands:
|
|
218
|
+
|
|
219
|
+
```bash
|
|
220
|
+
dim acp
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
```bash
|
|
224
|
+
node /absolute/path/to/GoatChain/scripts/acpx-agent.mjs
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
For GUI launchers, prefer absolute paths instead of relying on shell `PATH`.
|
|
228
|
+
Do not configure `bun run acp-server` in `acpx` or editor settings; it only works when the cwd is the GoatChain repo root.
|
|
229
|
+
If you use Codex OAuth, run `dim auth codex` once first. If you use a custom provider, make sure `~/.dimcode/config.json` already contains a valid provider setup.
|
|
230
|
+
|
|
183
231
|
## 🔧 Built-in Tools
|
|
184
232
|
|
|
185
233
|
Dimcode comes with powerful built-in tools:
|
|
@@ -239,6 +287,13 @@ dim
|
|
|
239
287
|
# Then type: "Search for the latest best practices in TypeScript 5.3"
|
|
240
288
|
```
|
|
241
289
|
|
|
290
|
+
### Compare CLI Coding Agents
|
|
291
|
+
|
|
292
|
+
```bash
|
|
293
|
+
dim
|
|
294
|
+
# Then type: "Compare Dimcode with Claude Code, Codex, OpenCode, and Cursor for terminal-first development"
|
|
295
|
+
```
|
|
296
|
+
|
|
242
297
|
## 🔐 Security & Privacy
|
|
243
298
|
|
|
244
299
|
- **Tool Approvals**: By default, sensitive operations (file writes, shell commands) require user approval
|