mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
The composer seat spent nearly all its life disabled: a session's composition is fixed once a turn has run. Move the choice to the new-session screen beside the workspace picker, where it still works, and let the session header report what a running session runs. The hero pick is staged rather than applied — that screen precedes the session it belongs to. It lands when a session becomes current and is still blank, which covers both the session a workspace connect creates and the blank one it reuses; riding `sessions.create` would miss the second. It is spent on first use, matching the workspace picker. Fix the durability the header field claimed but never had: `agentPreset` was declared on `SessionHeader` and dropped by the JSONL header line, the SQLite sessions row, the derived query index, and the cold list projection, so every resumed session came back composed from nothing. Add the web e2e lane that would have caught it — the one lane that mounts the shipped roster, which needed `cordis:group` in the scaffold's Loader builtins, as `mountRootInclude` already registers.
3.3 KiB
3.3 KiB
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-goal/ |
展示和管理当前目标。 |
ui-trajectory/ |
提供 agent(智能体)活动的其他视图。 |
ui-command/ |
提供会话感知的命令发现与分发。 |
ui-slash/ |
协调内联命令和引用建议。 |
ui-skill/ |
向内联建议添加 skill(技能)引用。 |
ui-subagent/ |
提供 subagent 导航、子会话记录状态和内联引用。 |
ui-model/ |
在会话界面中提供模型选择。 |
ui-permission/ |
配置默认权限并切换当前会话的访问模式。 |
ui-plan/ |
展示生效中的 plan mode 状态及其退出控件。 |
ui-question/ |
展示 agent 请求的交互式问题。 |
ui-agent-preset/ |
选择会话的 agent 预设,并创作预设组装。 |
ui-settings/ |
承载设置界面及其扩展区域。 |
ui-settings-general/ |
提供常规设置分区。 |
ui-models/ |
提供模型提供方配置与 DeepSeek 配置引导。 |
每个子文档负责自身的契约和详细行为。slot 系统标准与 Web 客户端架构 Agent Note负责跨包组合与加载决策。