internal/

directory
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: May 31, 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.
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 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 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 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.
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 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