MODEL
api · deepseek_key
Web UI 内 Settings → Models,在 DeepSeek 卡片填入 API key(来自
https://platform.deepseek.com/ )并保存;官方原文:"The model route becomes usable immediately without restarting the server"(保存即生效,无需重启)
api · key_storage
providers.md 原文:"Keys are write-only. The page receives a redacted descriptor after saving, never the literal secret. The key is stored in `$DSH_HOME/.credentials.yaml`";模型定义存 $DSH_HOME/settings.yaml
api · catalog_providers
Anthropic
api · catalog_providers
OpenAI
api · catalog_providers
Bedrock
api · catalog_providers
Vertex
api · catalog_providers
Azure
api · catalog_providers
Codex
api · catalog_config
Add provider → 选厂商 → 填 API key → 保存;Bedrock/Vertex/Azure/Codex 分别用 AWS 凭证+region、ADC project、api-version、OAuth
api · env_var
凭证可用环境变量注入(配置示例中的 apiKeyEnv 字段,如 GATEWAY_API_KEY)
local · custom_openai_compatible
Add a custom provider:填 Provider ID(小写、永久)、显示名、base URL、API 协议、凭证、至少一个模型;支持 Fetch available models 调 OpenAI 兼容 GET /models 自动拉模型列表,不支持的端点手动填模型名
local · ollama
ollama launch dsh 一条命令完全本地运行,预装 Ollama web search 插件(Ollama 官方口径)
LAUNCH
web_ui · command
npx @deepseek-ai/dsh web
web_ui · alias
dsh web 是 dsh --profile web 的别名
web_ui · first_run_flow
① Settings → Models 填 DeepSeek API key → ② Choose workspace 选工作目录(官方原文:"The session composer remains unavailable until a workspace is selected") → ③ 开会话发任务
terminal · headless
dsh --profile headless "job" — 官方描述:"Run one fresh persisted session, print the final answer, and exit"
terminal · profile
dsh --profile <name> — "Boot the named profile under $DSH_HOME/profiles/<name>";web/headless 两个 profile 首次使用自动从模板初始化,其他 profile 须经 dsh plugin 创建
terminal · plugin_mgmt
dsh plugin --profile <name> <pnpm args> — 把 pnpm 参数转发到 profile 目录管理插件
terminal · flags
--dump-default-config
terminal · flags
--dump-config
modes · list · name_zh
标准模式
modes · list · name_en
Standard
modes · list · dir
standard
modes · list · official_desc_zh
功能完整的编码 Agent,支持文件编辑、Shell、文件与网页检索、Skills、计划、目标、子代理和工作流。
modes · list · name_zh
PTC 模式
modes · list · name_en
Code
modes · list · official_desc_zh
具备标准模式的全部能力,并通过 Code Mode SDK 呈现工具,让模型用一个 TypeScript 程序组合多步操作。
modes · list · name_zh
极简模式
modes · list · name_en
Minimal
modes · list · dir
minimal
modes · list · official_desc_zh
仅提供持久 bash 与 str_replace_editor 的双工具编码 Agent。
modes · list · name_zh
创造模式
modes · list · name_en
Creator
modes · list · official_desc_zh
用于创建自定义 Agent preset:具备标准模式的全部能力,并提供运行时检查、插件实验和 preset 创作指导。
modes · definition_location
apps/cli/config/agent-presets/ 下四个目录(code/cordis/minimal/standard),preset 定义文件官方直接用中文撰写