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
|
|
|
dsc
command
Command dsc is the deepseekcode CLI entrypoint.
|
Command dsc is the deepseekcode CLI entrypoint. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
Click to show internal directories.
Click to hide internal directories.