@hermenics/deepseek-code 0.2.0 → 0.2.1
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 +11 -2
- package/dist/cli.mjs +383 -371
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,6 +42,13 @@ npm install -g @hermenics/deepseek-code
|
|
|
42
42
|
|
|
43
43
|
Then run `deepseek` inside any project. On first run you'll pick a **provider** and configure authentication.
|
|
44
44
|
|
|
45
|
+
For automation, use headless pipe mode:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
echo "explain this project" | deepseek --pipe
|
|
49
|
+
cat src/index.tsx | deepseek --pipe --json "summarize"
|
|
50
|
+
```
|
|
51
|
+
|
|
45
52
|
### Requirements
|
|
46
53
|
|
|
47
54
|
- Node.js 18+ or [Bun](https://bun.sh) 1.1+
|
|
@@ -81,6 +88,7 @@ Each provider also exposes provider-specific models (Bedrock, Vertex, local).
|
|
|
81
88
|
| `/vim` | Toggle vim keybindings |
|
|
82
89
|
| `/theme` | Change color theme |
|
|
83
90
|
| `/tools` | List available tools |
|
|
91
|
+
| `/permissions` | Explain mode, allow/deny rules, risk checks, and session approvals |
|
|
84
92
|
| `/help` | Show all commands |
|
|
85
93
|
|
|
86
94
|
## Built-in tools
|
|
@@ -128,9 +136,10 @@ bun test # Run tests
|
|
|
128
136
|
src/
|
|
129
137
|
├── agent/ # Core agent loop, providers (DeepSeek, Bedrock, Vertex)
|
|
130
138
|
├── commands/ # Slash command definitions
|
|
131
|
-
├──
|
|
139
|
+
├── ui/ # React TUI components and app state
|
|
140
|
+
├── ink/ # Local Ink-compatible terminal renderer
|
|
132
141
|
├── tools/ # Agent tools (file ops, shell, git, search, etc.)
|
|
133
|
-
├──
|
|
142
|
+
├── services/ # Cross-cutting services such as compaction
|
|
134
143
|
├── hooks/ # Pre/post tool execution hooks
|
|
135
144
|
└── index.tsx # Entry point
|
|
136
145
|
tests/ # Test suite
|