wanghongjian0119/deepseek-harness-desktop--packages-client-ui-agent-preset ↗★ 3

@deepseek-ai/dsh-client-ui-agent-preset

Agent-preset surfaces: the default for later sessions, this session's seat, and the composition editor

パッケージ
@deepseek-ai/dsh-client-ui-agent-preset
互換性
未検証
Cordis ピア範囲
workspace:~
バージョン
0.2.0-rc.2
ライセンス
MIT
最終更新
2026/09/30

同名パッケージの別リポジトリ

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

README 全文を読む ↗

description: "Choose Agent presets and the new-task default in Web, read what each mode does and what it declares. Authoring is guided to Creator mode." kind: "package-reference"

@deepseek-ai/dsh-client-ui-agent-preset

English | 中文

Summary

Choose Agent presets and the new-task default in Web, read what each mode does and what it declares. Authoring is guided to Creator mode.

Table of Contents


Use this package

Settings shows the built-in and custom card groups with default highlighting and card-body selection; a group without presets is omitted, except the custom group, which keeps its Creator entry on screen. Every card offers “View configuration”, which opens the preset's declared plugin list as read-only YAML in the Loader's own dialect (!!js conditions included); a failed preset stays readable because its diagnostic points into that YAML. Escape closes only the viewer and returns focus to its card; leaving Settings clears the viewer, and a late read does not reopen it. The page edits nothing: the Creator entry starts a Creator-mode task that authors or overrides a preset as a bundle, offered while the cordis preset is on the roster and a conversation flow exists.

Coding Tools in General Settings decide whether a mode can be chosen at all: with them off the new-session picker disappears, while the settings cards still choose the saved default that keeps composing new tasks and Creator stays available. With Coding Tools on, choosing a healthy default also synchronizes the blank session on the current new-task surface; with them off, a reused blank session keeps its preset. Creator starts a new task using the cordis preset.

Known shipped presets offer mode details and usage examples in a read-only dialog. Its tabs preserve each page's scroll position; closing returns focus to the opening action. Help does not change the new-task default. The default badge replaces the card's group badge, and the preset id appears beside the title. Guide copy and examples belong to this package.

Understand the implementation

Implementation internals — click to expand

agentPresets/list supplies the roster and marks the current default, and agentPresets/read one declaration's YAML for the viewer; default changes write the agent-preset-registry settings namespace. The picker, blank-session synchronization and read-only session label use recorded preset identities. Connection resets and settings updates refresh the roster.

Further Exploration

  • Scope — Registration isolation.
  • Agent — Session runtime.
  • Cordis — Plugin configuration and lifecycle.

Model Experience

Indirectly, through the selected preset, whose plugins own model-visible capabilities.

KV Cache effect

Selection changes affect only later tasks; existing plugins and prompts remain unchanged.

Known Limitations and Deferred Work

  • Web creates and edits no preset: the configuration viewer is read-only, and a bundle installed through Creator mode declares a new preset or overrides a shipped one by row id, replacing its complete child list.

Dev Note

Working context for maintainers — click to expand

None.

Runtime invariant: No companion is published; the Host registry owns state, and component tests cover client presentation and selection.