neuron-explorer
Steering-first neuron explorer for Qwen3.5-4B: push every MLP neuron, keep every rollout, browse the results
翻译准备中
DeepSeek Code — 终端中的智能。一个多供应商 AI 编码代理,拥有 19 个工具、34 条斜杠命令以及多代理编排。
AI 翻译
DeepSeek Code — Intelligence in the terminal. A multi-provider AI coding agent with 19 tools, 34 slash commands, and multi-agent orchestration.
开发工具TypeScript · JavaScriptGitHub @Hermenics在线运营者未确认
试用过了吗? 点一下就好,无需登录。
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证一个由 DeepSeek 提供动力的编码助手,驻留在您的终端。
AI 翻译
A DeepSeek-powered coding assistant that lives in your terminal.
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
An open-source, DeepSeek-powered coding assistant that lives in your terminal.
Simulated output for demonstration purposes.查看完整 README ↗AGENTS.md alongside DEEPSEEK.mdedit_file ranges. lsp with operation: "dependency_graph" queries bounded local TS/JS imports and package.json workspace declarations without a serverbun add -g @hermenics/deepseek-code
Then run deepseek inside any project. On first run you'll pick a provider and configure authentication.
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.
For automation, use headless pipe mode:
echo "explain this project" | deepseek --pipe
cat src/index.tsx | deepseek --pipe --json "summarize"
Pods can keep running after your desktop disconnects by installing the supervisor on a Linux server you control. Create a Debian 12+ or Ubuntu 24.04+ VM with your cloud provider, make sure SSH access works, then run:
deepseek pods host install ubuntu@YOUR_SERVER_IP
The installer uses your SSH connection, prepares Node.js, Bun and Chromium when needed, installs the published DeepSeek Code package, and starts a user-level service. It sends the active DeepSeek API profile through SSH and stores it in a private configuration directory on that host. The panel listens only on loopback; the installer prints an SSH tunnel command and the panel token. It does not create a cloud VM, open a public firewall port, or copy your existing local Pods database.
The host account must have passwordless sudo for one-time OS package installation and enabling the persistent user service. Your cloud provider may require billing details for a free-tier account, and its free quota and availability rules still apply. See the Pods deployment guide.
.env or bunfig.toml)| Provider | How to authenticate | Env / config keys |
|---|---|---|
| DeepSeek API (default) | API key from platform.deepseek.com | DEEPSEEK_API_KEY, DEEPSEEK_BASE_URL |
| Amazon Bedrock | AWS IAM credentials via ~/.aws/credentials | AWS_REGION, AWS_PROFILE |
| Google Vertex AI | GCP service account JSON key | GCP_PROJECT, GCP_LOCATION, GCP_CREDENTIALS |
| Local (Ollama / LM Studio) | No auth — point to your local endpoint | LOCAL_BASE_URL, LOCAL_MODEL |
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.
Switch models at any time with /model:
| Model ID | Description | Context |
|---|---|---|
deepseek-flash | Native visual understanding; fast, general purpose (default) | 1M |
deepseek-v4-pro | Advanced reasoning | 1M |
Each provider also exposes provider-specific models (Bedrock, Vertex, local).
| Command | Description |
|---|---|
/model | Switch model |
/agent | Spawn a sub-agent |
/memory | Manage persistent memory |
/plan | Enter plan mode |
/review | Code review |
/vim | Toggle vim keybindings |
/theme | Change color theme |
/tools | List available tools |
/doctor | Check runtime, workspace, credentials, settings, and MCP configuration |
/verify | Run the detected project test command |
/sessions export <id> [json|md] | Export a sanitized session transcript |
/catalog, /marketplace | Browse curated MCP, plugin, and skill integrations |
/skill list, /plugin list | Inspect available skills and installed plugins |
/permissions | Explain mode, allow/deny rules, risk checks, and session approvals |
/config, /settings | Open the fullscreen settings center |
/help | Show all commands |
The agent has access to these tools out of the box:
ReadFile · WriteFile · EditFile · PatchFile · Shell · Glob · Grep · Lsp · Git · ReadFolder · WebFetch · Skill · SubAgent · AskAgent · Workflow · Memory · Todo · Introspect · MoA · AskUserQuestions
Shell command execution currently requires Linux with a working bubblewrap sandbox. On macOS, Windows, or a Linux host where the sandbox cannot start, commands fail closed before execution.
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.
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. Browser automation currently supports Linux and macOS; Windows needs a handle-based DevTools pipe implementation.
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.
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:
{
"configurations": [
{
"name": "web",
"runtimeExecutable": "bun",
"runtimeArgs": ["run", "dev", "--host", "127.0.0.1"],
"port": 3000
}
]
}
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.
/settingsgit clone https://github.com/Hermenics/deepseek-code.git
cd deepseek-code
bun install
bun run dev # Start in dev mode (watch)
bun run start # Run from source
bun run build # Production build
bun run typecheck # Type check (tsc --noEmit)
bun run test # Isolated serial suite, matching CI
/tasks and /task <id> status distinguish task-attempt state from recorded process observations. Background shell tasks capture their native process identity. On Linux, status checks revalidate boot, PID namespace and process start time, rather than trusting a saved PID. alive only describes the recorded leader; it does not establish useful progress, descendant cleanup or completed effects. Native exit events retain their actual exit code/signal; a later kernel observation cannot reconstruct a lost result.
For process-backed tasks without an eligible recovery runner, an interrupted attempt remains interrupted even when its recorded leader is alive. Process-backed failures are not automatically retried or replayed through /task resume. Inspect status/artifacts, reconcile possible effects and submit a newly authorized command when appropriate. Eligible Linux background Shell tasks are an exception: their detached supervisor can survive a CLI restart and reattach from the persisted task snapshot without replaying the command. Generic task runners, raw stream reconnection and cross-platform process supervision are not supported.
With a user-configured server, lsp supports rename_preview, code_actions and code_action_preview. All three are read-only. List actions using a file and 1-based UTF-16 range, then select the returned native ID:
{"operation":"code_actions","path":"src/example.ts","line":1,"character":1,"kind":"source.organizeImports"}
{"operation":"code_action_preview","path":"src/example.ts","action_id":"<id from the listing>"}
Optional end_line/end_character default to the starting coordinates. Kinds include matching subkinds. Listings label disabled, command-dependent and deferred actions, and report omissions. Opaque server data remains inside the native session. IDs expire after another listing, observed source changes, configuration changes or server disposal.
Read each proposed target with read_file, then pass its returned arguments to edit_file. The writer checks the base hash and the runtime read version before committing. Multi-file application remains atomic per file. Command-dependent actions, resource operations and annotated edits are refused rather than partially applied. Deferred edit-only actions use codeAction/resolve when advertised; preview re-queries and requires a unique matching action with unchanged metadata. Actions with unstable provider identities may require a new listing.
Source hashes and diagnostic hints do not prove complete semantic indexes or build correctness; verify the resulting change separately.
tests/lsp-real-server.test.ts uses a temporary project and the repository's typescript-language-server development dependency by default. Set DEEPSEEK_LSP_TEST_SERVER to override its executable. The fixture runs on Node.js >= 18, uses the repository's TypeScript version, and currently skips Windows. It exercises navigation, diagnostic provenance, rename and code action application, version refresh, and independent compiler checks.
bun test tests/lsp-real-server.test.ts
Set DEEPSEEK_LSP_TEST_NODE to select another Node executable. Unversioned publications remain outside the version-bound diagnostic items; their bounded messages appear under unverified.items as investigation hints. Compiler/test verification remains separate.
User-scoped lsp.servers entries accept an initializationOptions JSON object (up to 64 KiB). For the tested TypeScript adapter, this option selects a single semantic server and avoids syntax-only startup routing:
{
"initializationOptions": {
"tsserver": { "useSyntaxServer": "never" }
}
}
The fixture also checks a fresh server's first rename request with this configuration. Each server defines its own initialization options; changing them restarts its session connection.
src/
├── agent/ # Core agent loop, providers (DeepSeek, Bedrock, Vertex)
├── commands/ # Slash command definitions
├── ui/ # React TUI components and app state
├── ink/ # Local Ink-compatible terminal renderer
├── tools/ # Agent tools (file ops, shell, git, search, etc.)
├── services/ # Cross-cutting services such as compaction
├── hooks/ # Pre/post tool execution hooks
└── index.tsx # Entry point
tests/ # Test suite
Contributions are welcome! Here's how to get started:
mainbun installbun run typecheck && bun run test
tests/, never in src/File a GitHub issue with steps to reproduce, or use /help inside the TUI.