@hermenics/deepseek-code 0.9.0 → 0.10.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/README.md +28 -2
- package/dist/cli.mjs +562 -494
- package/dist/deepseek.mjs +10 -27
- package/dist/runtime.bunfig.toml +1 -0
- package/dist/runtime.mjs +31 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
- **Agentic coding** — reads/writes files, runs shell commands, searches code, manages git
|
|
31
31
|
- **Multi-provider** — DeepSeek API, Amazon Bedrock, Google Vertex AI, or any local model (Ollama, LM Studio)
|
|
32
32
|
- **Full TUI** — alternate-screen interface with streamed thinking, rich markdown, and vim mode
|
|
33
|
+
- **Session command center** — press Left on an empty prompt to search, switch, rename or delete saved sessions across projects
|
|
33
34
|
- **Unified agents** — scoped primary agents and sub-agents with editable base prompts
|
|
34
35
|
- **Settings center** — fullscreen, searchable User/Project/Local configuration with visible origins
|
|
35
36
|
- **MCP support** — connect to any Model Context Protocol server for extended tooling
|
|
@@ -44,6 +45,7 @@ bun add -g @hermenics/deepseek-code
|
|
|
44
45
|
```
|
|
45
46
|
|
|
46
47
|
Then run `deepseek` inside any project. On first run you'll pick a **provider** and configure authentication.
|
|
48
|
+
Run the installed command directly: invoking its script through `bun run` starts Bun first, which can load the project's `bunfig.toml` before the CLI launcher runs.
|
|
47
49
|
|
|
48
50
|
For automation, use headless pipe mode:
|
|
49
51
|
|
|
@@ -55,6 +57,7 @@ cat src/index.tsx | deepseek --pipe --json "summarize"
|
|
|
55
57
|
### Requirements
|
|
56
58
|
|
|
57
59
|
- [Bun](https://bun.sh) 1.1+
|
|
60
|
+
- Node.js 18+ (starts Bun without loading the current project's `.env` or `bunfig.toml`)
|
|
58
61
|
- A supported LLM provider (see below)
|
|
59
62
|
|
|
60
63
|
## Providers & authentication
|
|
@@ -66,7 +69,7 @@ cat src/index.tsx | deepseek --pipe --json "summarize"
|
|
|
66
69
|
| **Google Vertex AI** | GCP service account JSON key | `GCP_PROJECT`, `GCP_LOCATION`, `GCP_CREDENTIALS` |
|
|
67
70
|
| **Local (Ollama / LM Studio)** | No auth — point to your local endpoint | `LOCAL_BASE_URL`, `LOCAL_MODEL` |
|
|
68
71
|
|
|
69
|
-
|
|
72
|
+
Legacy credentials remain in `~/.deepseek/config.json`; saved provider profiles, including their credentials, live in `~/.deepseek/provider-profiles.json` with owner-only permissions. Non-secret preferences use `settings.json` with `User < Project < Local` precedence; legacy values remain readable for compatibility. Project and plugin MCP servers are off by default and require the User-scoped **Enable project MCP servers** setting plus workspace approval; restart DeepSeek Code after changing the setting. Plugin changes refresh their integrations live. See [docs/settings.md](docs/settings.md).
|
|
70
73
|
|
|
71
74
|
## Models
|
|
72
75
|
|
|
@@ -108,6 +111,29 @@ The agent has access to these tools out of the box:
|
|
|
108
111
|
|
|
109
112
|
Skills are listed by origin and loaded on demand through the read-only `skill` tool. Plugins can contribute skills, slash commands, and MCP servers. Plugin MCP configs require workspace approval before their servers start. See [the extension architecture study](docs/skills-plugins-mcp-research.md).
|
|
110
113
|
|
|
114
|
+
### Experimental browser
|
|
115
|
+
|
|
116
|
+
The agent browser is off by default. Enable it with `/features browser on`; this exposes both `browser` and `dev_server` in Build and Auto modes. The browser runs an installed Chrome, Chromium, Edge or Brave over a debugging pipe, with a temporary profile and a clean environment. It uses accessibility snapshots and native browser input for navigation, inspection, interaction, screenshots, downloads and test export.
|
|
117
|
+
|
|
118
|
+
Each new origin needs approval. Public-page interaction has a separate approval, and typing or uploading on a public page asks every time. Private-network and metadata addresses are blocked, as are sensitive password, payment and one-time-code fields. Downloads stay in a private temporary directory and are removed when the browser closes. Use `/browser status`, `/browser show`, `/browser hide` or `/browser close` to inspect and control its window; on Linux, a visible window needs `DISPLAY` or `WAYLAND_DISPLAY`.
|
|
119
|
+
|
|
120
|
+
`dev_server` starts only a server declared in `.deepseek/launch.json` or `.claude/launch.json`. Starting it runs a host process outside the shell sandbox, so each start requires approval, as does a changed launch entry. The server stops when the session ends or the project changes. Example:
|
|
121
|
+
|
|
122
|
+
```json
|
|
123
|
+
{
|
|
124
|
+
"configurations": [
|
|
125
|
+
{
|
|
126
|
+
"name": "web",
|
|
127
|
+
"runtimeExecutable": "bun",
|
|
128
|
+
"runtimeArgs": ["run", "dev", "--host", "127.0.0.1"],
|
|
129
|
+
"port": 3000
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
The same `configurations` format works in either launch file. `.deepseek/launch.json` takes precedence when both exist. Each entry needs `name`, `runtimeExecutable`, `port`, and optional `runtimeArgs`, project-relative `cwd`, and string-valued `env`.
|
|
136
|
+
|
|
111
137
|
## TUI behavior
|
|
112
138
|
|
|
113
139
|
- Uses the terminal **alternate screen** by default; it can be disabled for the next session in `/settings`
|
|
@@ -122,7 +148,7 @@ Skills are listed by origin and loaded on demand through the read-only `skill` t
|
|
|
122
148
|
### Prerequisites
|
|
123
149
|
|
|
124
150
|
- [Bun](https://bun.sh) >= 1.1
|
|
125
|
-
- Node.js >= 18
|
|
151
|
+
- Node.js >= 18
|
|
126
152
|
|
|
127
153
|
### Setup
|
|
128
154
|
|