The editorExplorer comment still promised that new sessions seed an empty
editor tab, and the external plugin guide repeated it. Neither is true since
the plugin's own right panel was retired: the host owns the right column and
a brand-new session starts with no tab, so its first open lands on the start
page this plugin takes over (#1218).
Adds the one e2e case the mount lane was missing: a blank session's first
right-column expand must already render the start-page takeover, with no host
Split action in between.
Keep the contributor independent-page implementation, but make it opt-in: the default is still one shared page with the session last/newest reattach, and Settings -> Side card -> Side chat can switch to one native page per thread. The descriptor gains a dynamic multiple predicate, native sync re-registers on a flip, and occurrence bindings are read/written only for sidebar://sidechat/<uuid> contentIds so the shared page can never be captured by an old binding.
- bump package.json, dsh.plugin.json and SIDEBAR_SERVICE_VERSION to 0.32.0
- move the changelog out of Unreleased
- update README install commands, compatibility table and Recent Updates
- point the DSH plugin description at Settings → Side card and keep the SVG icon wiring
- refresh the external plugin guide version line
Better Sidebar rows now use the same tabsEnabled feature switch in the reorder dialog and the start-page inventory; disabled rows stay in the inventory so they can be turned back on. The shared Switch now derives the next value from the controlled prop, fixing switches that could be turned off but not back on.
Call webTerminals launcher methods on the service (the detached call lost its remote receiver), and restore the host browse/create plugin rows in an always-present More card alongside icon-plus-title overflow rows.
Add centered/top alignment, a default-on start-page takeover switch, icon-plus-title More rows, and share the row-count input between settings and the reorder dialog.
Replace the host guide body with a plugin start page: responsive two-column cards, configurable rows, a More card for overflow, persisted order and visibility in Side Card settings, and the terminal card shell menu through the host webTerminals service.
Markdown-syntax and raw-HTML file: destinations are converted to an absolute local path before rendering or sanitization, then served by the same session media route as relative images. POSIX, Windows drive, localhost, UNC and percent-encoded URLs are covered; the file: scheme is never handed to the renderer or DOMPurify. Also prepares v0.31.1.
Version 0.31.0 across package.json, dsh.plugin.json and SIDEBAR_SERVICE_VERSION; move both changelogs to v0.31.0; refresh README install commands and the three recent-release blocks; update the external plugin guide's current version.
Markdown syntax now passes data:image/* through the image vocabulary (the host allowlist already accepts it); every other data payload stays inert. The desktop shell's sandboxed HTML preview is self-contained: the trusted top frame fetches the document and its same-origin assets, inlines them, and frames a sandboxed blob instead of a dsh-app route the shell rejects from an opaque subframe. The sandbox never gains allow-same-origin; browser and explicitly-unsandboxed paths are unchanged.
The side chat inherited none of the main pane's reading behaviour and could
not say where it forked off. This change brings it in line and keeps the
upstream v0.30.1 release intact.
Work details follow the main conversation's setting (transcriptView +
collapseTiming): settled turns fold behind the host's own "Completed in Ns"
line, running turns stay open, verbose never folds.
The transcript now names its origin: the events route reports the fork point,
and the block above the first row renders the inherited question as an
ordinary user bubble and the inherited answer as ordinary assistant prose,
bracketed by two divider lines and carried verbatim.
Reading the thread got cheaper and calmer: only the tail is mounted with a
step-wise reveal, scroll-follow answers an explicit intent, and the composer
guards IME composition, key repeat and the submit-gesture choice while send
and stop stay independent controls.
Everything visual rides the host's own surface: content-size and code font
axes, the host's markdown surface for reasoning, host cards for search/web/
terminal/diff results, compaction and retry rows, and host-defined design
tokens (six borders and eleven colours had referenced tokens the host never
defines, so they never painted).
Thread creation became reliable: a stored parent is resumed through the
session controller, the create budget is a deployment setting instead of a
hard-coded 15 seconds, and the child attaches at the parent's workspace cwd
while its tools keep running in the reader's current directory.
Upstream v0.30.1 brings side-chat images, clickable quote chips, editor draft
backup, the settings icon slot and the 0.2.2 model seam; its per-thread draft
owner and image projection replace the hand-written paths this branch used to
carry, so only one implementation of each survives.
The section was nested under the removed free-window chapter; it now sits after the archive routes as 6.2, drops the false claim that the image-remove control is the host Button, and points the connection-admission references at section 6.
Hidden tab types (the built-in diff page, dsh-remote's dsh-remote:file)
have no + menu row and no native guide entry, yet the side-card inventory
still gave them an enable switch. Turning one off changed nothing in the
sidebar and only made openTab silently refuse that type - which the
reporter saw as "remote:file cannot be turned off / git:diff does
nothing", and dsh-remote saw as "remote files stop opening".
- SideCardSection: the inventory skips hidden types (the count badge
follows); tabOrder becomes the order-only tabInventory.
- service.isTabEnabled: a hidden type is always enabled, so a
tabsEnabled[id] = false written by an older build cannot keep refusing
its programmatic opens.
- docs/external-plugin-guide.md and CHANGELOG describe the contract; the
two new specs fail on the previous code.
cwdOf() resolves the cwd for every file/Git route, and a cold (detached)
session paid one host observation per call: sessionQuery.observeSession({
projectionMode: 'all' }) decodes the whole zstd artifact and hydrates every
projection to answer with one workingDirectory string. The 0.28.1
single-flight only covered /sidebar/api, while the real startup fan-out
never goes through it: the fs-watch socket sends one frame PER WATCHED
DIRECTORY (server resolves cwd before it even reads the op), /sidebar/file
and /sidebar/html resolve per resource, upload/write per call. A 39 MB
session was therefore decoded dozens of times in parallel — the 44-read
OOM on 0.28.0 and the 36 reads reported against 0.28.1 are the same path,
not a broken dedupe.
A detached session now resolves through sessionPersistence.stat(), which
reads the first zstd frame only (header-only, never the log), memoized per
session id (headers are immutable) and shared in-flight across concurrent
asks. activeWorktreeRootOf() answers a detached session with that address
and no longer folds the stored log. Once the host attaches the session the
committed working_directory and linked-worktree following resume as before.
Trade-off (documented): until attach, the sidebar roots at the original
project rather than the agent's last directory/worktree.
tests/smoke.spec.ts rewrites the cwd group (header ahead of a stale hint,
one header read per session, 12 concurrent asks share one, stat absent or
failing falls back to the hint, live committed directory wins, relative
header cwd still refused) and tests/active-worktree.spec.ts pins that a
detached session performs no persistence read and no git probe.
The desktop shell serves the GUI from the dsh-app://app/ origin while the
Host listens on another site (__DSH_TRANSPORT__.streamBaseUrl). Markdown
preview images were rewritten to an absolute /sidebar/file URL on that
TRANSPORT origin, so from the shell page the request was cross-site: the
Connection fence rejected it (403, Sec-Fetch-Site + a SameSite=Strict
session cookie the shell never forwards for plain http subresources) and
MarkdownText fell back to the image's alt text. Disabling the plugin
worked because the built-in document preview resolves images against the
page base.
Resolve local markdown images through the renderer's pathImages vocabulary
on the PAGE base instead of pre-rewriting destinations: in a browser the
plugin media route stays byte-for-byte what it was, and in the desktop
shell the vocabulary maps to the Host's authenticated api/file route
(dsh-app://app/api/file?...), the only local-file shape the renderer
accepts from that page and the same shape the built-in document preview
uses. Images stay plain <img> elements, so the preview keeps the size the
browser/built-in previews have (no chat thumbnail cap or lightbox chrome).
The host file route requires an ABSOLUTE path (a relative one answers
400 "absolute path required"), while an editor tab opened from a chat
address can carry a workspace-relative path (the plugin's own media route
resolved that via its cwd parameter). The desktop branch therefore joins
the session workspace root before building the URL, and falls back to alt
text when no root is known instead of requesting a guaranteed 400.
Raw HTML <img src> leaves keep the direct rewrite, now also page-based.
Image references stay as authored, so the link pass leaves an
image-referenced definition alone (a link-only definition is still pinned
inert).
Regression coverage renders the real MarkdownText in jsdom with the
desktop page origin (markdown images must render as
dsh-app://app/api/file?..., raw-HTML images as dsh-app://app/sidebar/file...,
not alt text) and pins the relative-tab-path → absolute-target rule.
The http-page assertions are unchanged.
Design notes: docs/plans/2026-10-23-desktop-markdown-media-base.md
Reset per-gesture travel before node guards so a preceding background pan cannot suppress the next card click. Index and iteratively lay out graph topology, memoize agent card contents, and project complete settled branches under independent existing-settings preferences.
Keep unknown real workflow catalogs and explicitly opened descendant paths visible. Add regression coverage and real rc.1 browser/baseline validation evidence.