Directories
¶
| Path | Synopsis |
|---|---|
|
bench
|
|
|
cmd/benchrunner
command
benchrunner is a black-box benchmark harness that compares coding agents by running them against a set of tasks and collecting structured traces.
|
benchrunner is a black-box benchmark harness that compares coding agents by running them against a set of tasks and collecting structured traces. |
|
cmd/cachedemo
command
bench/cmd/cachedemo/main.go cachedemo runs a controlled A/B that proves deepseekcode keeps DeepSeek's prompt cache hot.
|
bench/cmd/cachedemo/main.go cachedemo runs a controlled A/B that proves deepseekcode keeps DeepSeek's prompt cache hot. |
|
cmd/cacheprobe
command
bench/cmd/cacheprobe/main.go cacheprobe sweeps a stable prefix across lengths and prints, for each, the prompt_cache_hit_tokens reported on a repeat request.
|
bench/cmd/cacheprobe/main.go cacheprobe sweeps a stable prefix across lengths and prints, for each, the prompt_cache_hit_tokens reported on a repeat request. |
|
cmd/taubench
command
Package taubench — the dsc arm.
|
Package taubench — the dsc arm. |
|
cmd
|
|
|
dsc
command
Command dsc is the deepseekcode CLI entrypoint.
|
Command dsc is the deepseekcode CLI entrypoint. |
|
Command dsc-desktop is the Wails v3 desktop wrapper for DeepSeekCode.
|
Command dsc-desktop is the Wails v3 desktop wrapper for DeepSeekCode. |
|
internal
|
|
|
agent
compact.go owns session compaction: when the live message list grows past CompactionConfig.AutoCompactInputTokens the agent collapses the older portion into a synthetic summary message, preserving a configurable tail of recent turns.
|
compact.go owns session compaction: when the live message list grows past CompactionConfig.AutoCompactInputTokens the agent collapses the older portion into a synthetic summary message, preserving a configurable tail of recent turns. |
|
cacheunit
internal/cacheunit/align.go Package cacheunit computes prefix padding so the Static Prefix ends on a DeepSeek cache-unit boundary.
|
internal/cacheunit/align.go Package cacheunit computes prefix padding so the Static Prefix ends on a DeepSeek cache-unit boundary. |
|
config
Package config loads deepseekcode configuration from TOML with precedence: CLI flags > project ./.deepseek/config.toml > user ~/.deepseek/config.toml > built-in defaults.
|
Package config loads deepseekcode configuration from TOML with precedence: CLI flags > project ./.deepseek/config.toml > user ~/.deepseek/config.toml > built-in defaults. |
|
doctor
Package doctor implements the `dsc doctor` health-check command.
|
Package doctor implements the `dsc doctor` health-check command. |
|
gateway
Package gateway: Wave-5 add-to-chat endpoint.
|
Package gateway: Wave-5 add-to-chat endpoint. |
|
gitctx
Package gitctx reads a cwd's git state for the prompt builder's dynamic context section.
|
Package gitctx reads a cwd's git state for the prompt builder's dynamic context section. |
|
hooks
Package hooks provides an extensible hook system for deepseekcode.
|
Package hooks provides an extensible hook system for deepseekcode. |
|
i18n
Package i18n provides a lightweight message catalog for deepseekcode.
|
Package i18n provides a lightweight message catalog for deepseekcode. |
|
llm
Package llm is a hand-rolled DeepSeek API client.
|
Package llm is a hand-rolled DeepSeek API client. |
|
llmtest
Package llmtest provides a deterministic, offline mock DeepSeek server for exercising the agent loop and the llm client end-to-end without a network connection or API credentials.
|
Package llmtest provides a deterministic, offline mock DeepSeek server for exercising the agent loop and the llm client end-to-end without a network connection or API credentials. |
|
logging
Package logging provides structured logging for deepseekcode.
|
Package logging provides structured logging for deepseekcode. |
|
lsp
Package lsp implements a lightweight LSP (Language Server Protocol) client.
|
Package lsp implements a lightweight LSP (Language Server Protocol) client. |
|
mcp
Package mcp implements the Model Context Protocol (MCP) client for stdio transport.
|
Package mcp implements the Model Context Protocol (MCP) client for stdio transport. |
|
memory
Package memory provides persistent, BM25-indexed long-term memory for the agent.
|
Package memory provides persistent, BM25-indexed long-term memory for the agent. |
|
onboarding
Package onboarding provides helpers that detect whether the user needs first-run configuration before the agent can make API calls.
|
Package onboarding provides helpers that detect whether the user needs first-run configuration before the agent can make API calls. |
|
permissions
Package permissions implements the tiered approval model described in docs/design.md §8.
|
Package permissions implements the tiered approval model described in docs/design.md §8. |
|
prompt
Package prompt assembles the cache-stable system prompt for the agent.
|
Package prompt assembles the cache-stable system prompt for the agent. |
|
repair
Package repair provides tool-call repair utilities for DeepSeek reliability.
|
Package repair provides tool-call repair utilities for DeepSeek reliability. |
|
routing
internal/routing/clarify.go
|
internal/routing/clarify.go |
|
session
Package session implements the SQLite-backed conversation store.
|
Package session implements the SQLite-backed conversation store. |
|
skills
Package skills implements a cache-stable skill metadata index.
|
Package skills implements a cache-stable skill metadata index. |
|
snapshots
Package snapshots implements pre-edit file rollback per docs/design.md §8.4.
|
Package snapshots implements pre-edit file rollback per docs/design.md §8.4. |
|
tokenizer
Package tokenizer provides a pure-Go DeepSeek V4 BPE tokenizer for exact token counting.
|
Package tokenizer provides a pure-Go DeepSeek V4 BPE tokenizer for exact token counting. |
|
tools
Package tools implements deepseekcode's built-in tool surface.
|
Package tools implements deepseekcode's built-in tool surface. |
|
traceschema
Package traceschema is the single source of truth for an agent trace record — one JSONL line emitted by internal/agent, read by internal/traceinspect, and read by the benchmark harness (bench/cmd/benchrunner).
|
Package traceschema is the single source of truth for an agent trace record — one JSONL line emitted by internal/agent, read by internal/traceinspect, and read by the benchmark harness (bench/cmd/benchrunner). |
|
tui
chrome.go renders the live activity band between the scrollback and the status line, and owns the redraw-ticker lifecycle that drives it.
|
chrome.go renders the live activity band between the scrollback and the status line, and owns the redraw-ticker lifecycle that drives it. |
|
version
Package version exposes build-time identifiers stamped via -ldflags.
|
Package version exposes build-time identifiers stamped via -ldflags. |
|
worktree
Package worktree provides git-worktree management via shell commands.
|
Package worktree provides git-worktree management via shell commands. |
|
Package webapp embeds the compiled Svelte SPA for use by dsc serve --http and the Wails desktop wrapper.
|
Package webapp embeds the compiled Svelte SPA for use by dsc serve --http and the Wails desktop wrapper. |
Click to show internal directories.
Click to hide internal directories.