Files
deepseek-harness/packages/client/README.zh.md
T
Yichen Jiang f8555b5561 feat(client): configure host-plane plugins from a settings section
The section knows no namespace: it declares `settings.plugin.item` and
renders whatever cards were registered into it, so a plugin that ships a
browser half owns its card and its controls. The three cards here cover the
host-plane sections this deployment exposes.

A field shows its effective value and, when the raw user layer carries it, an
override badge and a reset that clears it back to the composition layer.
Controls commit on blur and Enter rather than per keystroke, which would burn
namespace revisions and race its own reads. The search key is the one value
that never rides a response: the card reports only whether one is configured
and writes it through the credentials domain, addressed by the reference the
section names.

A card renders nothing while its namespace is unavailable — a deployment that
does not compose the owning plugin should show no trace of it rather than a
disabled card the user cannot act on.
2026-08-10 19:14:59 +08:00

3.9 KiB
Raw Blame History

client/ — web GUI 浏览器半侧

English | 中文

dsh web GUI 的浏览器侧:shell 启动、浏览器与宿主通信、共享 UI 服务和功能插件。编写规则见 AGENTS.md;宿主半侧是 host/。除 test-runtime 外,均为命名成 @deepseek-ai/dsh-client-<name>产品包。

目的
web/ 从客户端条目图启动浏览器 shell。
modules/ 加载浏览器侧客户端模块。
web-react/ 连接 shell 运行时与 React 渲染。
connection/ 维护浏览器与宿主之间的 RPC 通信和事件传递。
runtime/ 为会话、Workspace 和 UI 组合提供共享客户端服务。
hmr/ 在开发期间刷新客户端插件。
locale/ 提供本地化偏好与消息词典。
schema-form/ 为设置编辑器提供 schema 驱动的草稿处理。
test-runtime/ 为客户端功能包提供共享的仓库测试支持。
ui-slots/ 定义 UI 功能注册和组合扩展 slot 的方式。
ui-theme/ 应用所选颜色主题。
ui-primitives/ 提供共享 React 控件、图标和内容渲染器。
ui-layout/ 排列应用的主要区域。
ui-sidebar/ 展示 Workspace 与会话导航。
ui-workspace/ 提供 Workspace 选择与创建界面。
ui-conversation/ 展示当前会话及其输入界面。
ui-tool/ 编排工具调用树和按工具键控的视图。
ui-goal/ 展示和管理当前目标。
ui-trajectory/ 提供 agent(智能体)活动的其他视图。
ui-command/ 提供会话感知的命令发现与分发。
ui-slash/ 协调内联命令和引用建议。
ui-skill/ 向内联建议添加 skill(技能)引用。
ui-subagent/ 提供 subagent 导航、子会话记录状态和内联引用。
ui-model/ 在会话界面中提供模型选择。
ui-permission/ 配置默认权限并切换当前会话的访问模式。
ui-plan/ 展示生效中的 plan mode 状态及其退出控件。
ui-plugin-config/ 插件设置分区:把宿主平面的插件配置呈现为可展开卡片。
ui-question/ 展示 agent 请求的交互式问题。
ui-agent-preset/ 选择会话的 agent 预设,并创作预设组装。
ui-settings/ 承载设置界面及其扩展区域。
ui-settings-general/ 提供常规设置分区。
ui-models/ 提供模型提供方配置与 DeepSeek 配置引导。

每个子文档负责自身的约定和详细行为。slot 系统标准Web 客户端架构 Agent Note负责跨包组合与加载决策。

子系统参考是 client-modules.mdslot 系统标准是权威 slot 模型,web 客户端架构说明拥有加载链与对象层。