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") → ③ 開 session 發任務
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 定義檔官方直接用中文撰寫