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.