internal/

directory
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2026 License: MIT

Directories

Path Synopsis
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.
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.
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.
Package doctor implements the `dsc doctor` health-check command.
Package doctor implements the `dsc doctor` health-check command.
Package gateway: Wave-5 add-to-chat endpoint.
Package gateway: Wave-5 add-to-chat endpoint.
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.
Package hooks provides an extensible hook system for deepseekcode.
Package hooks provides an extensible hook system for deepseekcode.
Package i18n provides a lightweight message catalog for deepseekcode.
Package i18n provides a lightweight message catalog for deepseekcode.
Package llm is a hand-rolled DeepSeek API client.
Package llm is a hand-rolled DeepSeek API client.
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.
Package logging provides structured logging for deepseekcode.
Package logging provides structured logging for deepseekcode.
Package lsp implements a lightweight LSP (Language Server Protocol) client.
Package lsp implements a lightweight LSP (Language Server Protocol) client.
Package mcp implements the Model Context Protocol (MCP) client for stdio transport.
Package mcp implements the Model Context Protocol (MCP) client for stdio transport.
Package memory provides persistent, BM25-indexed long-term memory for the agent.
Package memory provides persistent, BM25-indexed long-term memory for the agent.
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.
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.
Package prompt assembles the cache-stable system prompt for the agent.
Package prompt assembles the cache-stable system prompt for the agent.
Package repair provides tool-call repair utilities for DeepSeek reliability.
Package repair provides tool-call repair utilities for DeepSeek reliability.
internal/routing/clarify.go
internal/routing/clarify.go
Package session implements the SQLite-backed conversation store.
Package session implements the SQLite-backed conversation store.
Package skills implements a cache-stable skill metadata index.
Package skills implements a cache-stable skill metadata index.
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.
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.
Package tools implements deepseekcode's built-in tool surface.
Package tools implements deepseekcode's built-in tool surface.
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).
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.
Package version exposes build-time identifiers stamped via -ldflags.
Package version exposes build-time identifiers stamped via -ldflags.
Package worktree provides git-worktree management via shell commands.
Package worktree provides git-worktree management via shell commands.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL