Files
deepseek-harness/packages/preset
Turtle 4aba48ec03 fix(cordis): register Host inspect providers once per process (#4742)
`tool-cordis` registered the four first-party Host inspect providers from
every preset row that mounted it. The Host registry rejects a duplicate
provider id, so a second preset carrying `tool-cordis` — or a user preset
copied from a shipped one — failed to mount in the same process.

- Add `@deepseek-ai/dsh-tool-cordis/host` (`cordis-inspect-providers`),
  the host-plane row that registers the providers; the Web host
  composition mounts it beside `cordis-host-runner`. The per-session
  `tool-cordis` row now only registers the tools and its prompt section.
- Gate the `cordis` preset's `tool-plugin-manager` row on `profileContext`,
  the same condition `dsh-base` applies to the host `plugin-manager`
  service, so a profile-less embedding still mounts the preset.
2026-09-21 05:55:09 +00:00
..
2026-09-17 21:11:19 +08:00
…

description, kind
description kind
The preset group map: per-session agent composition from preset files, for users and maintainers navigating the group. package-group

packages/preset

English | 中文

Summary

The preset group provides per-session agent composition: an agent preset is a directory holding one agent.cordis.yml, and a session composed from a preset runs that preset's tools, prompt sections, and skills while every other session keeps its own. agent-presets owns the roster — discovery over configured roots plus the harness home, the guarded per-agent mount, and copy-only authoring — and persona supplies the composable row that lets a preset change an agent's identity and not only its tools. Together they let one process run several differently composed agents at once.

Table of Contents


Packages

Package Role ctx key
agent-presets Preset roster, discovery over trusted and user roots, per-agent composition, copy-only authoring ctx.agentPresets
persona The composable persona row a preset mounts to shadow or replace the deployment persona —

The presets the deployment ships live in agent-presets/presets/ — one directory per preset, and that directory listing is the roster; naming them here too would be a second list to keep in step.


Dev Note

Working context for maintainers — click to expand

None.