21 Commits

Author SHA1 Message Date
wandering1 526089a899 Docs: translate GITEA-DESIGN.md to Chinese 2026-11-03 19:48:13 +08:00
wandering1 5e4cb977e8 Docs: translate README.md to Chinese 2026-11-03 16:05:17 +08:00
wandering1 6df83f6bdf Docs: translate SETUP.md to Chinese 2026-11-02 23:41:34 +08:00
wandering1 2077e46a87 Docs: plugin upgrade discipline (hot-patched plugins and bridge hash check) 2026-11-02 22:34:49 +08:00
wandering1 bd5ff3537f Sessions: let workers use the WorkBuddy web search, preferring it for research 2026-11-02 21:39:57 +08:00
wandering1 4bb3cc2c7a Sessions: expose context-management tools to master and worker Sessions when the profile has one 2026-11-02 21:22:19 +08:00
super_agent_bot 0772617818 Docs: INSTALL.md quickstart; enable Gitea in the example patch 2026-11-02 20:50:11 +08:00
super_agent_bot d7d2acf502 Docs: CHANGES.md with the full account of this fork's improvements 2026-11-02 20:15:51 +08:00
super_agent_bot 3cb821477f Scripts: ship a sanitized kanban card-sync tool; refresh board column names 2026-11-02 20:07:08 +08:00
wandering1 cf40686ab1 Sources: carry the Gitea kanban convention in the Source's own instructions 2026-11-02 14:04:22 +08:00
wandering1 17be661615 Default model: let the picker choose a reasoning effort
The header switcher only offered provider and model, so catalog efforts a brand-new Session could inherit were reachable solely by typing effort into the Eval and Execution forms. Rows whose catalog entry advertises efforts now expand a second tier — the model default plus each effort, with descriptions and a check on the route in effect — the switch validates the effort against the catalog, treats an effort-only change as a real switch, and forwards the branded id to selectModel. Docs name the re-pointing that dee76b1 added.
2026-11-02 08:32:53 +08:00
wandering1 acacbb2d91 Roles: refresh the live selection when re-pointing a reused Session
Deploying dee76b1 proved a raw durable append insufficient: the 07:54 dispatch recorded the wandering selection, yet the request assembled half a second later still carried the deepseek header, because prompt assembly reads the Session Controller's in-memory selection and the internal Agent controller caches one per Agent. Call its own selectForNextRequest primitive — append plus cache refresh, still without saving the deployment default — and fall back to the public selectModel if the surface moves. Fixture gains the Controller; two cases pin fast-path and fallback.
2026-11-02 08:02:57 +08:00
wandering1 dee76b1b4a Roles: re-point reused Sessions when a role model drifts
A role model only seeded brand-new Sessions, so Workers created before a settings change kept their old route forever — the operator's complaint that the default model 'did not take effect'. On dispatch, ensure() now compares the durable selection or header of an existing Session against the configured role model and appends a model/selection event when they drift, leaving the deployment default alone. Seven unit cases cover drift, idempotence, effort, and precedence.
2026-11-02 04:54:32 +08:00
wandering1 d527ad8045 Sessions: account a restored Session to its Workspace
Ensure() only registered a Workspace when the Session was new, so Sessions restored from disk never entered the Workspace record and stayed invisible in the panel. Always create (idempotent) and attach an unaccounted Session; warn on attach failure. Tests gain a shared Workspace fixture.
2026-11-02 04:28:26 +08:00
wandering1 3bee231da6 Execution: reclaim the directories of Ended Tickets after a retention 2026-11-02 01:46:33 +08:00
wandering1 b348d69beb Overview: report liveness and a Source whose poll loop stopped 2026-11-02 01:22:34 +08:00
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