The bleed footer's negative bottom margin cannot pull it past the content box
once the flexing `.content` consumes every pixel, so the pack window measured
26px from its 2px floating edge to the footer's button instead of the intended
14px (12px gutter + 2px edge). Cancelling the root's bottom inset whenever a
bleed footer owns the edge makes the geometry independent of free space; the
mount lane's `clues-uiux` assertion is 14 again.
Gates: typecheck, lint, test (366 files / 4615 passed), build, consumer-types,
plus `bash scripts/e2e-mount.sh --grep "clues workbench stays usable"`.
DSH 0.2.3's webserver gained a per-route `auth` policy that defaults to
`required`, so every plugin route was answered with 401/503 before its handler
— the loopback clue read lost its credential-free semantics and the mount lane
saw 401 on `/sidebar/agent/clues/read`. Every route (HTTP and upgrade, including
the bundle and clue share routes) now declares `auth: 'anonymous'` and keeps its
own fence, exactly the pre-0.2.3 contract; the two agent clue routes keep their
loopback-only rule.
The CI unit lane also exposed a non-deterministic walk: `maxMatches` truncated
the search while iterating in readdir order, so on Linux (hashed directory
entries) a page could skip 'b.txt'. The walk now sorts each directory's entries
by name before iterating, which makes the truncated page stable everywhere.
Gates: typecheck, lint, test (366 files / 4615 passed), build, consumer-types.
Raise the whole baseline to the alpha line and stop carrying code that only
exists for older hosts (no runtime compatibility layer, per AGENTS §4):
- peers/engines: 14 DSH peers and engines.dsh -> 0.2.3-alpha.2, Cordis ->
4.2.0-alpha.1, group/include 1.2.0-alpha.1, schemastery 3.20.0-alpha.1;
dev pins and CI/e2e/install scripts move with them; plugin version
0.34.0-alpha.0.
- admission: DSH 0.2.3 deleted `requestRejection`, so only the injected
`connection.authentication` provider can call `admit`; the legacy branch
and the direct-admit fallback are gone and the fence fails loudly.
- directory events: the projection authority is `workspace-root/change`;
the side-chat cwd stamp emits it and the worktree scan no longer reads
the retired `working-directory/change`.
- llm types: `@deepseek-ai/dsh-llm` no longer exports `./brand`, so
MessageId comes from `./types`.
- client anchors: only `[data-slot="main.conversation"]`; the alpha.1
`conversation` key is retired. `webServer.getOrigin` is called directly.
Gates: peers check, typecheck, lint, test (366 files / 4615 passed),
build, check:consumer-types.
Upstream moved under the branch while it was being rebased: the changes
lens grew its own underline tabs (#1236) and kept ONE native branch
select (#944), the task graph squared its controls (#948), the host
admission call moved to rc.3's admit fallback, and the graph viewport
got a fixed 248px floor. Where the two designs collided this takes
upstream's newer chrome and re-applies the branch's kit only where it
defines our own surfaces.
- changes/GitGraphSection: keep the branch's kit buttons but restore the
native branch select, and give it token colours plus the 32px / 44px
touch sizes so it stops falling back to the OS chrome in a dark panel.
- sidebar/dock-fallback: upstream's 28px host-matched geometry plus the
branch's 44px coarse-pointer target (no longer a 32px base).
- ui/workbench-section: the disclosure bar is exactly 28px INCLUDING its
divider, so the sections keep the heights the changes graph measures.
- tests: theme.spec, dock-fallback, git-graph-ui and git-view-worktree
follow upstream's newer shapes; the surface sweep stops demanding one
identical tab for upstream's underline lens strip, and the graph e2e
clicks the shared section disclosure instead of the old div > button.
The specs still drove the wide source tabs, the nested pin strip and a
separate create-pack window. Helpers and assertions now exercise the
SelectMenu source picker, the inline pack form, the docked-or-floating
window helper and the 12px workbench axis, with touch targets at 44px.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The clue windows kept redundant title inputs, bare radios and file pickers
and doubled footer borders. They now sit on the shared ListRow, SearchField
and Disclosure patterns with compact action footers, while the Feishu
preview follows the same density.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The tab stacked a path bar, wide source tabs and a nested pin strip over
the list. It now reads as a workbench: resources and packs collapse like
VS Code sections, the source picker is a compact SelectMenu over two
toolbar rows, pins fold into the list, and new packs are created inline.
The first-use help and the selection bubble got opaque, compact surfaces.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Heavy clue flows always opened the same way regardless of how the user
works. A volatile windowSurface preference (sidebar by default, floating
as the alternative) now drives the detail, pack, share and settings
windows, exposed as a segmented row on the clue sources settings page
and in the host settings toggle; the settings surfaces were restyled to
match the shared Disclosure and row patterns.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The clue surfaces were carrying raw details markers, mismatched field
backdrops and doubled docked title bars. Give the shared layer a Disclosure
pattern, align the SearchField frame and window chrome on the host tokens,
and let docked windows drop their duplicate title row.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Dictionaries now follow the host's own locale list: zh/en static, ja/de/es/fr/pt/ru
in the lazy locale chunk (new es dictionary). t() reads the host's active locale
directly (exact id, base language, then en); attachBetterLocale and the optional
@huanlin/dsh-plugin-better-locale peer are removed along with the 14 non-official
dictionaries.
43 client clue symbols had no consumer outside their module; they are now
module-private. Removes the dead isClueSelectionServerAction, the scope-note
alias, the unused ClueTabSettings shape, the Feishu/GitHub/detail re-export
facades nothing imported, and the last orphan clue CSS rule.
Dependency, plan, install and connection rows are FactRows (with a trailing
action seat and data-* passthrough); source-list failures are ErrorBlocks;
the empty catalogue is an EmptyState. Drops the settings sheet's dead rules.
Pack footers, conflict/binding/add errors and empty states; detail failure
and footer actions (ActionButton); Feishu task/doc fields and save rows.
Field and ActionFooter pass data-* through for e2e locators. Drops the
window sheets' now-unreferenced rules.
Catalogue/pin/refresh/search errors are ErrorBlocks (a busy retry stays
focusable via aria-disabled); idle/needs-scope/unsupported/no-workspace
states are EmptyStates; scope editor fields are Fields with real htmlFor;
pinned rows are ListRows. Drops 50 now-unreferenced clue-tab rules.
ChoiceCard renders a fieldset so a busy window locks every option natively;
ActionFooter gains a bleed mode for gutter-padded window roots and a status
seat for its leading fact.
The pack shelf and the browse results each carried their own row shell, their
own empty state and their own error+retry line. They now share ListRow,
EmptyState and ErrorBlock, and the local copies are gone.
ListRow grew the two contracts those callers actually need:
- titleLabel so the accessible name can be "Manage pack: X" while the visible
title stays "X";
- primary so the roving-focus marker (data-list-primary + its tab stop) lands
on the title button, which is what useListNavigation focuses;
- a navigating row keeps name + subtitle inside that button, so the whole
two-line caption is one click target and one accessible name.
Removed from clues-tab.module.css: the .packRow/.packOpen/.packGlyph/
.packName/.packMeta/.packCount/.packReference family plus the two coarse-
pointer orphans left behind. tests/clues-tab-css.spec.ts now asserts that
contract against the shared patterns sheet, where the rules actually live.
The clue surface carried 31 hand-written fact rows, 14 list-row shells, 10
empty states, 14 error+retry blocks, 15 stacked fields, 6 choice groups, 11
status footers and 9 action bars — 968 lines of CSS in ten near-identical
families that had already drifted apart (four spellings of the retry row,
three different "selected" pictures).
These eight components own those shapes once, on the same token-only contract
as the global kit: flat fills, one 1px border language, no shadow, no resting
state painted, native keyboard semantics (a navigating title is a real
<button>, a choice is a real <input>), tabular figures, 44px touch targets.
patterns.module.css joins the theme guard and the host-token guard; the new
spec pins the contract structurally (default states unstyled, native controls
preserved) rather than cosmetically.
This lands the clue collection line on top of origin/dev (v0.32.1, DSH
0.2.2-rc.2). The 14 commits that carried it are squashed into this one
because every one of them overlapped upstream's own changes (version,
19 dictionaries, CHANGELOG), and each intermediate commit would have
failed to compile against rc.2's menu API. The pre-integration head is
kept at backup/clues-uiux-refresh-pre-rebase.
What the feature is:
- a Clues tab that reads local files, Feishu tasks/docs and GitHub
issues/pulls through one source registry, with a scope row, shared
search, filters, paging and stable [[dsh-clue:...]] references;
- one window host for detail, pack management, source configuration,
new pack and sharing (preview and edit are separate paths: a read is
never saved over);
- .cluepack export/import with per-row resolvability previews;
- a source runtime that owns dependency installs and connection
authorization (gh, lark-cli device code) and only probes on an
explicit read;
- the public betterSidebarClues service and the windows capability
(features gains clues / windowHost).
Merged with upstream rather than over it:
- the settings section keeps upstream's start-page takeover group and
this branch's clue sources group; navigation is now six groups;
- the dictionaries keep both sides' new keys (1211 each, verified equal
across all 19), the external-plugin guide and CHANGELOG keep both
histories, and service features list both capability sets.
Adapted to 0.2.2-rc.2:
- menu call sites use anchorPoint instead of getAnchorRect;
- the shared SelectMenu mounts the host menu only while open, because
rc.2's Menu reads the DOM during render and broke server-rendered
settings surfaces;
- the submenu flip workaround stays deleted (the host positions
submenus now), pinned by an updated layout-css assertion.
Version 0.33.0 (three synced spots) with a new 未发布 / Unreleased
changelog section; package.json regains the ./clues export, lib/clues.js
and the uqr dependency that upstream never had.
Gates: typecheck, lint, 5410 unit tests, build, check:consumer-types and
the full mount lane (35 passed) against dsh 0.2.2-rc.2 in Chromium.