Files
deepseek-harness/packages/preset
imccyu 804b1ffbfc refactor(api): converge the Remote failure vocabulary and client surface
Single RemoteError with a merge-extensible, domain-prefixed code map;
owners throw at the failure point; streams surface marked failures;
clients consume ctx.remote directly with isRemoteFailure as the only
discrimination point and construct no failure instances.
2026-08-28 22:37:36 +08:00
..
2026-08-28 00:50:12 +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.