Commit Graph

5 Commits

Author SHA1 Message Date
wandering1 a662188a57 Panel: switch the deployment default model from the header
The panel could show the DSH default model but not change it, so an operator
who wanted a different Executor or Assessor model had to edit the profile by
hand. PUT default-model routes a switch through the Session Controller, which
is the same path the DSH picker uses: it retargets the master Session and lets
agent-default-model persist the choice into the profile through configEditor.

switchDefaultModel refuses a provider the catalog cannot route and a model its
group does not offer, and reports unchanged rather than writing the same value
again. selectModel saves the default in the background, so the switch polls the
catalog until the saved selection appears instead of assuming the write landed;
effort is compared against the selection the Controller resolved, because it
fills in a default effort the caller never sent.

The refusal carries its reason as a code, which ApiError now keeps so the panel
can word it in the operator's language instead of showing host English.
2026-11-02 00:12:23 +08:00
wandering1 589b5a6533 Sources: accept login:password Basic credential for Gitea (API + git store) 2026-11-01 20:46:07 +08:00
wandering1 e8b91abb2c Infra: write gitea git-credentials line with the deployment's own scheme 2026-11-01 19:46:29 +08:00
dev 4379973775 Sources: add Gitea; fix Windows shims for shell tool, repo paths and stateDir 2026-11-01 19:32:40 +08:00
DeepSeek Harness Team 6337fc823c feat: add the dsh-superagent research prototype 2026-10-31 20:05:39 +08:00