{"_id":"@coohu/deepseek-tui","name":"@coohu/deepseek-tui","dist-tags":{"latest":"0.8.40"},"versions":{"0.8.40":{"name":"@coohu/deepseek-tui","version":"0.8.40","deepseekBinaryVersion":"0.8.40","description":"Install and run deepseek and deepseek-tui binaries from GitHub release artifacts.","author":{"name":"coohu"},"license":"MIT","homepage":"https://github.com/coohu/DeepSeek-TUI","repository":{"type":"git","url":"git+https://github.com/coohu/DeepSeek-TUI.git"},"bugs":{"url":"https://github.com/coohu/DeepSeek-TUI/issues"},"keywords":["deepseek","胜算云","cli","tui","rust","binary","terminal"],"type":"commonjs","bin":{"deepseek":"bin/deepseek.js","deepseek-tui":"bin/deepseek-tui.js"},"scripts":{"release:check":"node scripts/verify-release-assets.js","postinstall":"node scripts/install.js --optional","prepublishOnly":"node scripts/verify-release-assets.js","prepack":"node scripts/install.js","test":"node --test test/*.test.js"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"preferGlobal":true,"gitHead":"39f04f243f564166f79a82c11226f08e4348848e","_id":"@coohu/deepseek-tui@0.8.40","_nodeVersion":"24.13.1","_npmVersion":"11.8.0","dist":{"integrity":"sha512-10x2VuDLEYsTMPJ0iZkVEb7q7ypFEm1+AhQX5wxf+99+MYdVUJeKVQ5PTtDuZvpNzxNHB4YAhWuw7+WlaHYYkg==","shasum":"2e890fd8d2994f41f8c81b50d7fd82ecff28a8ad","tarball":"https://registry.npmjs.org/@coohu/deepseek-tui/-/deepseek-tui-0.8.40.tgz","fileCount":13,"unpackedSize":70506,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC6rj/NtUEdSBbTYp711vFnCRO3cAGj77J3lCYpYphv0wIgB9MAZ+82yLsyWV161OEs0cW61KkK89MFPVqnQeAprIU="}]},"_npmUser":{"name":"coohu","email":"1257817341@qq.com"},"directories":{},"maintainers":[{"name":"coohu","email":"1257817341@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/deepseek-tui_0.8.40_1779351322714_0.23849681962737623"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-21T08:15:22.607Z","0.8.40":"2026-05-21T08:15:22.854Z","modified":"2026-05-21T08:15:22.998Z"},"maintainers":[{"name":"coohu","email":"1257817341@qq.com"}],"description":"Install and run deepseek and deepseek-tui binaries from GitHub release artifacts.","homepage":"https://github.com/coohu/DeepSeek-TUI","keywords":["deepseek","胜算云","cli","tui","rust","binary","terminal"],"repository":{"type":"git","url":"git+https://github.com/coohu/DeepSeek-TUI.git"},"author":{"name":"coohu"},"bugs":{"url":"https://github.com/coohu/DeepSeek-TUI/issues"},"license":"MIT","readme":"# deepseek-tui\n\nInstall and run the `deepseek` and `deepseek-tui` binaries from GitHub release artifacts.\n\n## Install\n\n```bash\nnpm install -g @coohu/deepseek-tui\n# or\npnpm add -g @coohu/deepseek-tui\n```\n\nFor project-local usage:\n\n```bash\nnpm install @coohu/deepseek-tui\nnpx @coohu/deepseek-tui --help\n```\n\n`postinstall` tries to download platform binaries into `bin/downloads/` and\nexposes `deepseek` and `deepseek-tui` commands. If GitHub release assets are\ntemporarily unreachable, install continues and the wrapper retries the download\non first run.\n\n## First run\n\n```bash\ndeepseek login --api-key \"YOUR_DEEPSEEK_API_KEY\"\ndeepseek doctor\ndeepseek\n```\n\nThe `deepseek` facade and `deepseek-tui` binary share `~/.deepseek/config.toml`\nfor DeepSeek auth and default model settings. Common TUI commands are available\ndirectly through the facade, including `deepseek doctor`, `deepseek models`,\n`deepseek sessions`, and `deepseek resume --last`.\n\nThe app talks to DeepSeek's documented OpenAI-compatible Chat Completions API.\nSet `DEEPSEEK_BASE_URL` only if you need the China endpoint or DeepSeek beta\nfeatures such as strict tool mode, chat prefix completion, or FIM completion.\n\nNVIDIA NIM-hosted DeepSeek V4 Pro is also supported:\n\n```bash\ndeepseek auth set --provider nvidia-nim --api-key \"YOUR_NVIDIA_API_KEY\"\ndeepseek --provider nvidia-nim\n```\n\nFor a single process, set `DEEPSEEK_PROVIDER=nvidia-nim` and `NVIDIA_API_KEY`\nor `NVIDIA_NIM_API_KEY` (with `DEEPSEEK_API_KEY` as a compatibility fallback).\nThe NIM default model is `deepseek-ai/deepseek-v4-pro` and the default base URL\nis `https://integrate.api.nvidia.com/v1`. With `--provider nvidia-nim`,\n`--model deepseek-v4-flash` maps to `deepseek-ai/deepseek-v4-flash`.\n\n## Supported platforms\n\nPrebuilt binaries for the GitHub release are downloaded automatically:\n\n- Linux x64\n- Linux arm64 (v0.8.8+)\n- macOS x64 / arm64\n- Windows x64\n\nOther platform/architecture combinations (musl, riscv64, FreeBSD, …) aren't\nshipped as prebuilts. Unsupported platforms, checksum failures, and glibc\ncompatibility problems still fail with a clear error pointing you at\n`cargo install deepseek-tui-cli deepseek-tui --locked` and the full\n[docs/INSTALL.md](https://github.com/coohu/DeepSeek-TUI/blob/main/docs/INSTALL.md)\nbuild-from-source guide.\n\n## Configuration\n\n- Default binary version comes from `deepseekBinaryVersion` in `package.json`.\n- Set `DEEPSEEK_TUI_VERSION` or `DEEPSEEK_VERSION` to override the release version.\n- Set `DEEPSEEK_TUI_GITHUB_REPO` or `DEEPSEEK_GITHUB_REPO` to override the source repo (defaults to `coohu/DeepSeek-TUI`).\n- Set `DEEPSEEK_TUI_RELEASE_BASE_URL` to use an internal or mirrored\n  release-asset directory when GitHub Releases is unavailable. The directory\n  must contain `deepseek-artifacts-sha256.txt` and the platform binaries.\n- Set `DEEPSEEK_TUI_FORCE_DOWNLOAD=1` to force download even when the cached binary is already present.\n- Set `DEEPSEEK_TUI_DISABLE_INSTALL=1` to skip install-time download.\n- Set `DEEPSEEK_TUI_OPTIONAL_INSTALL=1` to make install-time retryable download\n  failures warn and exit `0` instead of failing `npm install`.\n\n## Release integrity\n\n- `npm publish` runs a release-asset check to ensure all required binary assets\n  exist for the target GitHub release before publishing.\n- Install-time downloads are verified against the release checksum manifest before\n  the wrapper marks them executable.\n","readmeFilename":"README.md","_rev":"1-7032d0126e9a18dd9a7816813a4abf62"}