deepseek-harness/packages/client
Tianyi Cui 069f2644ff fix(web): preserve removal across stale catalog pulls
The earlier removal fix invalidated parentAvailable immediately and queued a trailing subagent.list request, but it still applied the already in-flight success verbatim. That stale success reopened the composer and became the trailing request baseline. If the trailing request failed, its error snapshot preserved parentAvailable:true indefinitely.

Record a false-only parent availability override on the exact in-flight catalog request when the owner removal frame arrives. Successful and failed responses now replay that request-local invalidation before publishing a snapshot, and addressed child Sessions receive the same effective value. The trailing request therefore starts from a false baseline and a later transport or business failure cannot resurrect the removed parent.

Strengthen the regression to assert the catalog and selected child remain read-only immediately after a stale parentAvailable:true success, then fail the trailing pull and assert the error snapshot remains unavailable. The complete SessionManager test file passes all 39 tests, and the client runtime TypeScript project builds cleanly.
2026-08-02 20:11:34 +08:00
..
connection feat(web): rewrite subagent conversations for FIFO activation 2026-08-02 12:51:09 +08:00
hmr Merge commit 'ecbf75a5e70f662b6420375140cf12eb6bac7860' into worktree/retarget-pr885-20260729 2026-07-29 21:37:43 +08:00
locale feat(web): add subagent conversation transport 2026-08-02 12:51:09 +08:00
modules fix: preserve plugin activation errors 2026-07-31 03:20:20 +08:00
runtime fix(web): preserve removal across stale catalog pulls 2026-08-02 20:11:34 +08:00
schema-form feat(settings): detect stale writers with a revision, and announce raw changes 2026-07-30 19:24:21 +08:00
test-runtime test(web): close rebased subagent coverage gaps 2026-08-02 12:51:09 +08:00
ui-command feat(web): rewrite subagent conversations for FIFO activation 2026-08-02 12:51:09 +08:00
ui-conversation fix(web): stabilize nested subagent navigation 2026-08-02 12:51:11 +08:00
ui-goal fix(web): single-flight goal clear 2026-07-31 20:54:23 +08:00
ui-layout refactor(client): archivedSessionIds public face becomes a plain array 2026-07-31 14:08:13 +08:00
ui-model feat(web): rewrite subagent conversations for FIFO activation 2026-08-02 12:51:09 +08:00
ui-models Merge remote-tracking branch 'origin/master' into worktree/locale-browser-default 2026-07-31 16:42:37 +08:00
ui-permission test(permission): cover settings confirmation paths 2026-07-31 13:45:22 +08:00
ui-plan Merge remote-tracking branch 'origin/master' into mergebot/pr1005 2026-07-31 03:47:24 +08:00
ui-primitives fix(web): defer math rendering while streaming 2026-08-01 00:58:50 -07:00
ui-question feat(web): rewrite subagent conversations for FIFO activation 2026-08-02 12:51:09 +08:00
ui-settings Merge remote-tracking branch 'origin/master' into feature/gui-first-run-welcome 2026-07-31 12:48:39 +08:00
ui-settings-general Merge pull request #1056 from deepseek-harness/worktree/locale-browser-default 2026-07-31 17:32:52 +08:00
ui-sidebar fix(locale): gate browser detection on window and tolerate a missing languages list 2026-07-31 15:49:59 +08:00
ui-skill feat(web): rewrite subagent conversations for FIFO activation 2026-08-02 12:51:09 +08:00
ui-slash feat(web): rewrite subagent conversations for FIFO activation 2026-08-02 12:51:09 +08:00
ui-slots wip 2026-07-31 02:13:53 +08:00
ui-subagent build(web): declare the locale dependency for ui-subagent 2026-08-02 14:05:37 +08:00
ui-theme feat(web): add subagent conversation transport 2026-08-02 12:51:09 +08:00
ui-trajectory feat: revert crumbs navigation for subagents 2026-08-02 12:51:11 +08:00
ui-workspace fix(web): deduplicate subagent navigation 2026-08-02 12:51:09 +08:00
web Merge branch 'worktree-llm-dynamic-config' into worktree-llm-web-config 2026-07-30 15:18:26 +08:00
web-react docs(web): the composer bar is one session-maybe slot, not a swapped pair 2026-07-30 15:18:06 +08:00
AGENTS.md Merge remote-tracking branch 'origin/master' into feature/shared-cli-config-foundation 2026-07-30 15:00:42 +08:00
README.i18n.yaml doc(packages): add the host/ and client/ group READMEs and table rows 2026-07-28 15:04:59 +08:00
README.md doc(packages): add the host/ and client/ group READMEs and table rows 2026-07-28 15:04:59 +08:00
README.zh.md doc(packages): add the host/ and client/ group READMEs and table rows 2026-07-28 15:04:59 +08:00
tsdown.client.ts Merge remote-tracking branch 'origin/master' into codex/web-queue-actions 2026-07-30 00:30:38 +08:00

client/ — web-GUI browser half

English | 中文

The browser side of the dsh web GUI: shell kernel, module system, wire consumer, React-free object services, the slot system, and the ui-* feature-plugin roster. Authoring rules live in AGENTS.md; the host half is host/. All product packages, named @deepseek-ai/dsh-client-<name>.

Package Role ctx key / slot
web/ Shell kernel: AppWebEntry runs the two-stage boot over the host-pushed entry graph (boots the tree)
modules/ Client module system: browser peer of Node's ESM loader as a lazy CJS table under the vendored cordis Loader (module face)
web-react/ Shell-side React glue: createSlotRenderer + SessionProvider render seats (renderer install)
connection/ Wire consumer both ends: browser ctx.connection (shared api client + stream loop) and the node half mounting the /api route with its browser-trust fence ctx.connection
runtime/ Client cordis boot and React-free object services: slots, Sessions, Workspaces, per-session bindings ctx.slots ctx.sessions ctx.workspaces
hmr/ Dev-only hot reload for fetch-arrival client plugins (--dev graphs) (dev entry)
locale/ Browser locale preference (zh/en) plus the ns×locale dictionary registry ctx.locale
ui-slots/ Slot registry pure core: SlotMap merging, single register API, the four-share props family (types + core)
ui-theme/ Theme preference over the --dsw-* token stylesheets (light/dark/system) ctx.theme
ui-primitives/ Pure React atoms: icons, Button/Pill/Menu/Modal/Input, markdown family (component library)
ui-layout/ Shell three-column AppFrame; declares sidebar / conversation / details / conversation.empty ctx.layout
ui-sidebar/ Sidebar shell: Workspace/session rail, search, collapse; declares sidebar.workspaces (slot host)
ui-workspace/ Shared Workspace picker: browser region + hero picker over the same creation flow (fills sidebar.workspaces, conversation.hero.workspace)
ui-conversation/ Conversation domain: skeleton, chat view, input dock, per-tool row slots (slot host)
ui-trajectory/ Trajectory/Waterfall view tabs; the minimal pure-consumer plugin exemplar (fills conversation.view)
ui-command/ Command surface: session-keyed directory cache, / source, three-kind dispatch ctx.command
ui-slash/ Input trigger pipeline: / and @ detection, grouped candidate menu, source roster ctx.slash
ui-skill/ /-trigger skill reference source over the skill.list RPC (registers into ctx.slash)
ui-subagent/ @-trigger subagent reference source over the sessions snapshot (registers into ctx.slash)
ui-model/ Model selection: /model popupSelect + the composer model seat over ModelService ctx.models
ui-question/ Web ask_user_question: host half mounts the tool, browser half fills the composer seat (fills conversation.composer)
ui-settings/ Settings shell: trigger chrome + modal panel; declares the settings.* slots (slot host)
ui-settings-general/ Settings ownerless copy: chrome content + General section skeleton (fills settings.*)
ui-models/ Models settings nav entry (content column lands in a later phase) (fills settings.section)

Feature UI composes only through the slot system (ctx.slots.register) — the slot system standard is the definitive model; the web client architecture note owns the loading chain and object layer.