deepseek-tui 0.3.32 → 0.4.4
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 +17 -0
- package/package.json +2 -2
- package/scripts/install.js +1 -1
package/README.md
CHANGED
|
@@ -20,6 +20,23 @@ npx deepseek-tui --help
|
|
|
20
20
|
`postinstall` downloads platform binaries into `bin/downloads/` and exposes
|
|
21
21
|
`deepseek` and `deepseek-tui` commands.
|
|
22
22
|
|
|
23
|
+
## First run
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
deepseek login --api-key "YOUR_DEEPSEEK_API_KEY"
|
|
27
|
+
deepseek doctor
|
|
28
|
+
deepseek
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
The `deepseek` facade and `deepseek-tui` binary share `~/.deepseek/config.toml`
|
|
32
|
+
for DeepSeek auth and default model settings. Common TUI commands are available
|
|
33
|
+
directly through the facade, including `deepseek doctor`, `deepseek models`,
|
|
34
|
+
`deepseek sessions`, and `deepseek resume --last`.
|
|
35
|
+
|
|
36
|
+
The app talks to DeepSeek's documented OpenAI-compatible Chat Completions API.
|
|
37
|
+
Set `DEEPSEEK_BASE_URL` only if you need the China endpoint or DeepSeek beta
|
|
38
|
+
features such as strict tool mode, chat prefix completion, or FIM completion.
|
|
39
|
+
|
|
23
40
|
## Supported platforms
|
|
24
41
|
|
|
25
42
|
- Linux x64
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deepseek-tui",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"deepseekBinaryVersion": "0.
|
|
3
|
+
"version": "0.4.4",
|
|
4
|
+
"deepseekBinaryVersion": "0.4.4",
|
|
5
5
|
"description": "Install and run deepseek and deepseek-tui binaries from GitHub release artifacts.",
|
|
6
6
|
"author": "Hmbown",
|
|
7
7
|
"license": "MIT",
|
package/scripts/install.js
CHANGED
|
@@ -150,7 +150,7 @@ async function ensureBinary(targetPath, assetName, version, repo, checksums) {
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
const url = releaseAssetUrl(assetName, version, repo);
|
|
153
|
-
const destination = `${targetPath}.download`;
|
|
153
|
+
const destination = `${targetPath}.${process.pid}.${Date.now()}.download`;
|
|
154
154
|
await download(url, destination);
|
|
155
155
|
try {
|
|
156
156
|
await verifyChecksum(destination, assetName, checksums);
|