claude-harness/dsh/subagent-models.yml
Andrey Epifancev 2bee63d305 feat(dsh): overlay профиля — model selection и maxDepth 2 (#41)
dsh/subagent-models.yml — opt-in overlay: subagent-model-selection-settings с
маршрутами deepseek-flash/deepseek-v4-pro и subagent.maxDepth: 2. В бандл не
входит: строки нет в headless, включённый флаг ломает загрузку.

install.sh --check сообщает overlay и находит maxDepth: 2 в патче профиля.
PORT.md §5 — как включить и что это даёт; §7/§8 обновлены.

Co-Authored-By: DeepSeek Harness <noreply@deepseek.com>
2026-10-24 17:37:54 +04:00

33 lines
1.3 KiB
YAML

# Opt-in overlay for DSH-native SDD (issue #41).
#
# Copy these two entries into $DSH_HOME/profiles/desktop/cordis.patch.yml, then
# restart DSH (the plugin page must reload the profile). Verify with:
# bash dsh/install.sh --check
# # in a new session the `subagent` tool schema shows provider/model/reasoning_effort
#
# Do NOT add them to dsh/bundle/cordis.patch.yml: the
# `subagent-model-selection-settings` row exists in the web/desktop profile and
# is absent in headless, so enabling it in the bundle breaks headless boot
# ("requires ... in the Host scope").
#
# What it unlocks:
# - `subagent` and `subagent_fork` accept provider/model/reasoning_effort,
# so an implementer can run on a cheaper route than the reviewer;
# - `subagent.maxDepth: 2`, so a background controller subagent (depth 1)
# can dispatch implementers (depth 2).
#
# Routes measured in DSH 0.2.1-rc.3:
# deepseek-official/deepseek-flash - transcription and mechanics
# deepseek-official/deepseek-v4-pro - integration and every review
- id: subagent-model-selection-settings
config:
enabled: true
allowedModels:
- provider: deepseek-official
model: deepseek-flash
- provider: deepseek-official
model: deepseek-v4-pro
- id: subagent
config:
maxDepth: 2