A press that shows or hides the panel plays one motion: the panel slides
across its 8px edge inset and fades, and the transcript and the composer
move into or out of its room over the same 160ms and curve. A change of
room (a switch to another Session, a reload, a resized window) still shows
or hides the panel at once, and the entrance no longer replays on every
mount. The slide stays inside the scrollport, so the Conversation body
gains no sideways scroll range whose bar would lift the composer.
While only one section besides Environment shows, its title row offers no
drag: no grab cursor, no handle, and a drag that starts there is refused.
The e2e helper that shows the panel no longer counts a panel that is
playing its exit as shown.
The panel no longer has a pin. While the docking preference is on and the
end gutter is narrower than the 348px that docks the panel, the Conversation
body moves the transcript column and the composer into the start gutter, at
their own widths, and the panel docks in the room that leaves. Where the
start gutter cannot give it, the transcript stays centered, the panel hides,
and the toggle opens it over the transcript as before. The column never
narrows for the panel.
The panel's one dock probe has room while the gutter holds the panel or the
body's largest end reserve covers it, so the plugin's state, toggle, and
overlay rules are the gutter-only panel's. The width handles follow the
moved column, and a drag beside the docked panel moves only the column's
start edge. The drag mark of a section title passes pointer events through.
The Web e2e lane's standard page starts with docking off, since the panel
now docks at its 1680px width, and the specs that read the conversation
alone hide a docked panel first.
The Environment section always shows first: its title row is no drag source
and has no handle, a section dropped on it lands after it, and a stored
order that names it elsewhere is ignored. The arrow keys no longer move a
section; the drag handle is a mark on the title row instead of a button, so
recorded accessibility trees no longer list one per section.
Over a hovered title row the handle lay on top of the end of the trailing
count, which faded under it. The row's end now shows one of the two: the
count at rest, and the handle in its place while the pointer is over the
title row, while the handle has keyboard focus, and during a drag. The
hidden count keeps its box, so the title does not move.
The handle kept a 16px column in every title row, which shortened the room
for the title's trailing count whether or not the handle showed. It now
lies over the row's end, takes no room, and shows only while the pointer is
over the title row, while it has keyboard focus, and during a drag; the
trailing content stays in place and fades out under it.
Each section's title row is a native drag source with a grab cursor, and a
drag handle shows at its end, in the column of the rows' More buttons, while
the row is hovered or the handle has keyboard focus. Dragging a title row
dims its section and draws a line on the edge of the section under the
pointer where it would land; the arrow keys on the handle move a section
past its nearest shown neighbor and keep focus on the handle.
The order is one preference for every Session, persisted under
dsh.sessionPanel.sectionOrder as the ids of every live section. A section
registered after the reader arranged the others follows the section it
follows in the registered order.
The sections are positioned for the landing line, so the pin is positioned
above them to keep taking presses. Recorded accessibility trees gain the
handle's button in each section title row.
The panel gets a pin in its top end corner. While the pin and the docking
preference are on and the end gutter is narrower than the 348px that docks
the panel, the panel asks the Conversation body to keep that gutter free and
docks in it; neither Escape nor an outside press hides it. Below an 860px
Chat frame the body makes no room and the pinned panel is the overlay it was.
The plugin learns two facts from 1px probes that do not depend on the pin:
the gutter holds the panel as the transcript stands, and the transcript can
make that room. It offers the pin only where a press has an effect, and
unpinning a panel that only the pin kept beside the transcript leaves it
open as the overlay. The pin persists under dsh.sessionPanel.held; the
docking preference keeps its key and is named docks in the shared state.
The details a panel row shows in its hover card took React nodes for the
title, lines, and measure icons and lived in ui-primitives. The three lists
pass strings for the first two and one of two icons, so the component moves
to ui-session-panel as the conversation.session.panel.details Component
Factory: props are data, and a measure names its kind, which selects the icon.
A section's list could grow without bound and push the later sections
out of the panel's height. The panel now offers the control such lists
end with as the `conversation.session.panel.fold` Component Factory: one
more row of the list that shows the rows held back or folds them again.
The control takes data and a callback only: whether the list shows every
row, the visible text and accessible name for that state, and the toggle.
It renders a row on the panel's row marks, `data-session-panel-row="fold"`,
in the 12px tertiary type of the section counts with a 14px chevron in
the icon column. Each section keeps its fold state and decides which rows
show.
A Factory fits here although rows are contributor markup: the control is
the same in every section, and three copies of it would be clones.
A panel row stayed highlighted while anything inside it carried
aria-expanded="true". The rule means a row's open menu, so it now names
the menu part: a body button that discloses something else highlights its
row on hover alone.
The layout e2e opens the working folder row's menu in the real app and
checks that the row keeps its highlight and its More button after the
pointer leaves for the menu.
Brings master (through feat/session-panel) into this branch. Master changed
controls this branch had moved into the Session panel, so its changes are
carried over to their new homes:
- Jobs: master hides the stop control without `job/kill` access in the
header list this branch removed; the panel's Background jobs section now
reads `useAccess('job/kill')` the same way.
- Forge: master takes the sign-in command from the provider
(`readiness.signIn`) in the sidebar tab this branch removed; the panel's
sign-in row now does, for any code host, instead of building a GitHub
command itself.
- Agent team: the team settings pane and its copy from master, with this
branch's Shared tasks section registration.
- Tests: master's helpers for the team settings pane and its numbered
reference helper are combined with this branch's panel steps; the
status fixture gains master's `completionFailed`.
- READMEs of ui-agent-team and client-ui-forge are merged sentence by
sentence; generated catalogs, the persistence schema, and pairing
records are regenerated.
The upgrade guide moves to docs/upgrade-guide/v0.2.2-rc.3, the root
version after master's release.
Conflicts were all in generated files and pairing records: the config
catalog, the dsh-doc package list, and the README records of
packages/client and ui-conversation. Each takes master's side and is then
regenerated, so it differs from master only by this branch's entries.
Also in this merge:
- ui-session-panel follows master's release to 0.2.2-rc.3, and the
lockfile is master's plus this package.
- The web-fetch-failure-row header capture, added on master, gains the
Session panel toggle.
The panel's row Factory is gone on the base branch: rows share their look
through `data-session-panel-row` and `data-row-part` marks that the
panel's stylesheet lays out. This merge carries the rows of this branch
over to it:
- The two-line row moves from PanelRow's stylesheet into the panel's row
rules as the `lines` and `detail` parts.
- The forge checkout, connection, local changes, and sign-in rows write
their own marked markup instead of calling the Factory; the connection
row, the local changes row, and the change requests section no longer
take `renderFactorySlot`.
- The forge e2e measures the local changes and checkout rows in the real
panel.
A row Factory took each contributor's icon, text, trailing control, and
menu as React nodes in props, which the client rules forbid. Each
contributor now writes its own row markup and marks the parts with
`data-session-panel-row` and `data-row-part`; the panel's stylesheet lays
them out, so rows from every package keep one geometry and a contributor
can restyle a part with its own class.
A menu part that renders nothing, such as the shared menu button while its
target has no menu entries, takes no room and no longer makes the row
highlight.
The Chat aside layer observed the frame and the transcript column, so its
observer called back on every frame of a streamed reply, and the panel wired
useSyncExternalStore to an observable passed through owner props. The layer
now publishes the end gutter as --dsh-chat-aside-gutter and observes nothing.
The panel's stylesheet derives the docked width and a 1px dock probe from one
set of metrics, and the plugin observes only that probe through an injected
ref, so it hears the docking decision flip and nothing else.
The toggle's accessible name joined the panel name and the indicators' text
through a whitespace text node. It now references both with aria-labelledby,
which separates them by definition; the indicators sit in a display: contents
wrapper, so their layout is unchanged.
The docked panel is now 300-360px wide, 40px clear of the transcript and
8px from the end edge, so it docks from a 348px gutter; the overlay is
280px wide, so it covers less of the transcript than the docked panel takes
beside it.
PanelRow moved from ui-primitives into ui-session-panel as the
conversation.session.panel.row Factory, so the detail line and actionLabel
this branch added move with it, and the forge checkout, connection, local
changes, and sign-in rows render through renderFactorySlot with their row
attributes in the attributes prop.
PanelRow only lays out the content its contributors pass, so it belongs to
the Session panel rather than ui-primitives. ui-session-panel registers it as
the conversation.session.panel.row Factory; contributors render their rows
through renderFactorySlot, and row attributes travel in an explicit
attributes prop so the props a Factory occurrence adds never reach the DOM.
The aside layer now publishes its end gutter through an observable source
instead of React state, so neither resizes nor transcript updates re-render
it. The panel's docked width comes from --dsh-chat-content-width in CSS, and
the panel and its toggle subscribe only to whether the gutter holds the
docked panel; a mounted panel registers its source with the shared state
instead of pushing measured gutters from an effect.
The composer seat fades and takes presses across the body's full width, so a
tall docked panel faded out at its end and its last rows could not be pressed.
Subagents and background jobs each register an indicator that shows a blue dot
with their running count for assistive technology while work runs and the panel
does not show it. The jobs indicator keeps the roster stream open while the
toggle is mounted. The forge attention mark takes the toggle's 6px dot, up from
a 3.6px core, and paints above the running dots.
The shared task board leaves the Subagents section's footer for a section of
its own at order 250, with the panel's title and its progress in the title
control. Task rows and subagent rows now share the panel's columns, and the
Subagents section no longer reads Team facts, so the footer slot is removed.
The panel now occupies `conversation.chat.aside` instead of a seat in the
Conversation shell, and `ui-conversation` returns to its master state: no
`conversation.session.panel` seat, no `layouts` source, no end-gutter
reports from the width controls, and the composer and viewport height
variables back on the scrollport.
Each mounted panel reports its Chat View's end gutter into the plugin's
state; the toggle reads the widest gutter of its Session and is unavailable
while no Chat View shows it. The overlay still closes once the gutter can dock
the panel or no Chat View shows the Session, and keeps the composition and
focus-return behavior.