Keep the retry action available until a successful read supplies a current approval list. A decision that settles during a failed read cannot make cached requests visible again.
Keep the primary action readable while pairing is busy, and distinguish
rate limits from connection failures during recovery. After the retry
budget is exhausted, tell users to wait before requesting again.
(cherry picked from commit 3c8ef5f6cb6f9e76d0a22614c608d59107bf6bf0)
Give token entry and device pairing matching headings and descriptions
so the two choices are easier to scan. Keep sign-in guidance visible
when token validation fails.
* fix(workspace-path): address opened files by absolute path
`fileAddressFor` rewrote an absolute path inside the Session's directory
into a relative address. A Sidebar tab opened that way named another file,
or none, once the Session's directory moved and the page reloaded.
The address now carries the absolute path whenever one is known: an
absolute path is kept and a relative path is joined to the directory the
caller supplies. A relative path stays relative only while that directory
is unknown.
* fix(ui-chat): resolve relative images from the Session's current directory
A relative Markdown image used the Session header directory, so an image
written while the Session worked in a worktree did not load. It now uses
the directory the Session works in, the base relative file links already
use.
* fix(ui-reference): write picked and dropped files as absolute mentions
A file or folder picked from the `@` list was sent as a path relative to
the Session's directory, and a Desktop drop inside that directory was
rewritten to a relative path. After the directory moved, the sent message
named another file or none.
A settled pick now joins the listed path to the Session's current
directory, and a dropped or pasted file keeps the path the shell reports.
Drill text stays relative. Hand-typed relative mentions are unchanged.
* fix(deliverables): ask for absolute Markdown link and image targets
The file-reference guidance allowed targets relative to the working
directory. A relative target in an earlier reply named another file once
the Session's directory moved, and a model working in a worktree sometimes
wrote targets relative to the original project.
The guidance now asks for absolute targets. The expected system prompts
that assemble this section carry the new wording.
* docs(notes): record how conversation file references survive directory moves
* docs(notes): cite the earlier per-message implementation and its revert
* test(snapshots): carry the absolute-target guidance into the session-send-message prompt
* test(snapshots): add the subagent concurrency sentence to the timeline-follow-chat prompt
The scenario's expected system prompt on master predates the subagent
guidance sentence that states the shared concurrency limit, so its replay
fails on master and on every branch that merges it.
* docs(ui-conversation): remove the stale sentence on relative dropped paths
---------
Co-authored-by: imccyu <[email protected]>
Each change request is one 36px line on the panel's row columns in a
filled block: state glyph, title, number, and checks outcome, with the
actions menu on hover and the expansion toggle in the end column. A
press on the line opens the change request's changes in the right
sidebar; the modifier key, the middle button, and a change request no
provider serves or has read open the host's page. The hover card names
the full title, the branches, and the status in words.
The list shows three cards and then the panel's fold control. The card
fill is the platform fill, which stands apart from the panel's surface
in the dark theme, where the card fill is nearly that surface's color.
Check outcomes share one ring, so a failed check is a ringed cross.
The weekly review request now asks for what the user did in the current
workspace this week. In a code repository it looks only at the user's
commits this week and the pull requests the user opened that merged this
week or are still open, instead of every commit and pull request in the
repository. The tile description follows the same scope in all eight
languages.
The settings.notice row takes no height and anchors its content above the
launcher row at full width, so a notification no longer shortens the
session list while status indicators still cannot narrow it.
Keep settings.launcher.notifications so existing plugins still register
into it. Long notification copy scrolls inside the card so the account row
stays in short windows. Cover the shell's settings.notice declaration and
document it in the settings shell README.
Status indicators beside the account launcher narrowed the notification
card because it was positioned inside the launcher. The settings shell now
renders a settings.notice row above the launcher row, and account settings
places the notification slot (renamed settings.notice.notifications) there.
Refs #8547
The empty automation page lists an eighth built-in recommendation,
Weekly review, after Daily brief. Its request asks for a Friday 16:00
task that reviews the week's changes in the current workspace, lists
unfinished work and what to do first next week, covers commits and pull
requests when the workspace is a code repository, and summarizes in the
conversation without changing workspace files. Its tile draws a
calendar with a check in the style of the other glyphs, and the copy
covers all eight UI languages.
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.
Plugin settings pages registered through `settings.section` stay in the
Settings dialog. The Plugins page also shows such a page on the bundle row,
or bundle, whose package registered it when that row or bundle has no
configuration of its own. Both surfaces render the page through the new
`settings.section.view` Factory, which declares `settings.section`; the slot
runtime records the registering package on each entry.
Settings replaces the Built-in plugins section with a Plugins entry that
opens the Plugins page. The two packages behind that section are removed,
and the page-local client sync notice moves to the Plugins page.
Co-authored-by: LegGasai <[email protected]>
* feat(forge): let providers declare their hosts, names, sign-in, and review decisions
Prepare the forge contract for a second provider:
- ForgeProvider lists the hosts it serves and names itself (label,
changeRequestNoun); registering a provider that lists a host another
registered provider lists throws, so each URL has at most one provider.
ctx.forge.describe(forge) returns the family's ForgeDescription.
- ForgeReadiness carries the sign-in command, which the panel's sign-in
banner shows instead of building `gh auth login` for the github family.
- ForgeReviewData lists the review decisions the host lets the reader
record; the review dialog offers only those instead of hardcoding the
GitHub rule that a pull request's author may only comment.
- ForgeReviewThread.original may name a later commit the host carried the
thread to while its lines stayed unchanged.
- The changes view names the code host and its word for a change request
from the entry's ForgeDescription instead of hardcoding GitHub and PR.
The GitHub provider declares its configured hosts, GitHub, pull requests,
`gh auth login --hostname <host>`, and reads viewerDidAuthor for the
review decisions. Upgrade guide: forge-provider-hosts.
* feat(forge-gitlab): read GitLab merge requests through the GitLab CLI
Add the experimental forge-gitlab provider. It serves the configured
GitLab hosts through glab: status batches over GraphQL, head-pinned
patches from merge request diff versions, commit listings, merge bases,
pipeline jobs, closing issues, and review threads mapped from REST
discussions, including outdated threads' hunks.
The forge bundle composes the provider, disabled by default.
* feat(forge-gitlab): write GitLab reviews, retry pipelines, request reviews, and rebase
The GitLab provider now writes through glab as well as reading:
comments start discussions at positions derived from the head's diff
version, pending replies and comments are draft notes that a review
publishes with its summary and review state, and approving checks the
head through GitLab's sha parameter. Review reads carry the signed-in
user's rights from GraphQL, their draft notes as the pending review,
and the decisions GitLab lets them record.
Snapshots name the head pipeline as every job's rerun, offer rebase as
the branch update, and follow GitLab's permissions for reruns and
review requests. updateBranch's contract now states how a provider
whose host takes no expected head checks it.
* feat(forge): let forge providers register the commands that bind change requests
forge-session no longer recognizes gh commands by itself. A provider now
registers a declarative ForgeCommandRule through
ctx.forgeSession.registerCommands: its executable, creation and reference
subcommands, change request page path, JSON URL members, declared
options, and a pure select that maps one parsed reference command to a
URL or a read-only lookup. forge-github registers gh and forge-gitlab
registers glab, which adds glab mr create, view, update, and checkout,
including numbers with -R: a full project URL binds directly, and other
repository forms resolve through glab mr view in the call's shell.
forge-session keeps the shared parts: the literal shell tokenizer,
option parsing, output reading, lookups, and the projection. The
forgeChangeRequests state version derives from the recognized rules, so
a changed rule set refolds every Session, including commands that ran
before the provider loaded. Ending a registration keeps its rule
recognized until restart, so unloading providers at shutdown does not
rewrite every checkpoint.
* refactor(forge-gitlab): publish the GitLab provider as @deepseek-ai/dsh-forge-gitlab
New experimental packages omit the experimental prefix so that promotion
keeps their npm name. Register the directory in
EXPERIMENTAL_PACKAGE_NAME_EXCEPTIONS instead of growing the legacy
prefixed list, and rename every dependency, configuration row, path
mapping, and document that names the package.
* fix(forge-gitlab): keep review writes, comment positions, and reads within GitLab's facts and the limits
- After GitLab refuses a publication, read the drafts again: delete
them only when all remain, since GitLab can publish them before it
refuses the summary, and report the outcome as unknown otherwise.
A rollback that leaves drafts reports how many may remain.
- Place comments on files GitLab collapsed through the diff compared
from their texts, and let a file's new path name it over another
file's old path after chained renames.
- Keep the final newline of raw file reads.
- Apply maxOutputBytes to the complete review result, and report a
read whose rights stop early or skip a discussion's later notes as
truncated.
- Serve a version over maxCachedVersionBytes without keeping it.
- Resolve uploaded avatars GitLab names by their path on the host.
- Schedule bounded reads through p-limit.
* fix(forge-session): run lookups only for live command rules and keep the projection registered
- Reference lookups use the rules of live registrations, so a disposed
provider's rule still folds but starts no gh or glab process.
- A failed re-registration registers the projection again with the
earlier rules, so clients keep its view; an error is logged only when
that fails too.
- Document the startup re-registration, test that the checkpointed
state version survives a real Loader start, shutdown, and restart,
and record that starting without a provider removes the bindings only
its commands made.
- Describe the changes view's pending review and single comment
without naming GitHub, which keeps its own rule in forge-github, and
render registerCommands as code in the generated service reference.
* fix(forge-bundle): name GitLab merge requests in the bundle description
The bundle now follows GitLab merge requests as well as GitHub pull
requests, so the description's first sentence in every locale names
both kinds of change request.
* feat(forge): bind the change requests that gh api and glab api requests name
Models often read a merge request through `glab api` or a pull request
through `gh api` instead of `glab mr view` or `gh pr view`, which left
the change request unbound. A command rule now declares raw API request
subcommands beside its reference subcommands, each group with its own
options, since `-f` is a value of `gh api` and a flag of
`gh pr checkout`.
An API request binds, as referenced, only the change request its REST
path names, such as `projects/group%2Fapp/merge_requests/7/changes` or
`repos/octo/demo/pulls/7/files`; its output is not read, since one
request can list many change requests. A path whose host the command
names binds directly, and one without a host, or with the current
repository's placeholders, resolves through the CLI's view command in
the call's shell. The gh and glab rules move to version 2.
* docs(forge): add forge-gitlab and the forge-session peers to the module graph
Regenerate docs/module-graph for the renamed GitLab provider and the
optional forge-session peer of both providers.
* test(web): refresh the forge bundle description in the recommended plugin catalog
The creation recommendation recording carries every recommended
plugin's description; refresh it for the forge bundle description that
now names GitLab merge requests and the glab sign-in.
* chore(forge-gitlab): carry the 0.2.2-rc.3 release version and move upgrade guides to v0.2.2-rc.3
* Add Timeline as an experimental Harness plugin
* fix(timeline): align prompt counters and release inactive views
* fix(timeline): refine frontend motion and document features
* test(timeline): refresh recorded context after upstream update
* fix(timeline): satisfy UI locale and module graph checks
* test(timeline): align integration checks with CI test lanes
* docs(timeline): document exported locale dictionaries
* fix(timeline): use session records and native client interfaces
* fix(timeline): mount edit RPC and align integration checks
* fix(timeline): follow Harness theme rules
* test(timeline): cover session recovery and client interactions
* fix(timeline): address integration review findings
* fix(timeline): isolate forked plan continuation
* docs(timeline): record the 0.4.0 integration changes
* docs(timeline): clarify the plugin description
* test(timeline): cover integration behavior and recovery edges
* fix(timeline): align dependency metadata and test lint
* fix(timeline): isolate scoped work and harden replay
* docs(timeline): refresh persistence catalog source links
* docs(timeline): document planning ownership predicate
* test(timeline): refresh the recommendation description snapshot
* build(timeline): classify Host dependency exports
* test(web): pace the Goal queue snapshot replay
* feat(timeline): make sidebar auto-open configurable
* docs(timeline): clarify sibling task weights
* fix(timeline): harden report updates and checkpoint recovery
* refactor(timeline): share detail view props
* fix(timeline): clarify progress, reports, and sidebar settings (#8347)
* fix(timeline): align the integration with current Harness contracts
* fix(timeline): preserve navigation when removing a task tree
* Reduce Timeline report replay allocations
Reuse the discussion list when report retention leaves its targets intact.
Clarify that the integrated package follows the Harness release version.
Node 24.21.0 on macOS arm64, median of three measured replays after warmup.
With 17,640 reports, replay took 5650 ms before and 804 ms after.
Peak RSS fell from 343 MiB to 288 MiB. Retained heap stayed near 33 MiB.
The serialized view stayed at 5,297,849 bytes.
---------
Co-authored-by: ZiyaZhang <[email protected]>
The empty Enabled and All views of the automation task page list seven
built-in recommended tasks below the unchanged empty state, in two
columns, or one column below 600px of content width: a glyph tile,
title, description of up to two lines, and default run time. Choosing
one calls the same new-conversation action as Create in a session, with
that task's localized request prefilled and unsent; an existing draft
keeps its text and the request follows it. The list stays complete
while paused or ended tasks exist, whatever their titles.
The tile glyphs are drawn in this package on a 20px grid. Each tile
takes the theme illustration background, and its glyph draws in the
blue accent with a 16% tint of that blue on the main shape. Hovering or
focusing a tile shows the shared plus icon in place of its glyph.
Titles, descriptions, run times, and requests cover all eight UI
languages.
* ✨ feat(session): persist and synchronize read state
* 🌐 fix(client): complete Japanese labels after base update
* 📝 docs: refresh session read-state dependency graph
* 🧪 test(web): align session menu and read-state snapshots
* 🌐 fix(session): complete Japanese plugin metadata
* 🧪 test(web): distinguish unread from pending user input
* 🐛 修复会话阅读状态的故障隔离与生命周期
* 🐛 修复阅读状态依赖检查并补齐自动已读覆盖
* 🐛 恢复会话绿点并移除未读标题加粗
* ♻️ Keep shared session reading state in Host memory
* 🌐 Complete reading-state metadata for supported locales
* 📝 Refresh module graph after removing storage dependency
* 🧹 Move storage dependency policy out of memory-only reading
* 🐛 Wait for sidebar catalog before replay navigation
* 🔧 Give Host TypeScript checks 8 GiB of heap
* ✅ Align Host heap checks and Windows diagnostics
* ♻️ Keep CI repairs outside the session reading PR
* 🐛 Show failed unread turns with an error indicator
* 🔧 Adjust npm layout budget for the reading package
* 🧪 Scope projection stream assertions to observed units
* 🧪 Scope permission and title assertions to their projections
* ♻️ Simplify session reading updates to explicit positions
* 🐛 Align session reading package with release version
* 🧪 Load reading state in LiveShare viewer fixtures
* 🧹 Remove persistence-only type link from memory PR
* 🧪 Align context menu expectations with reading actions
* 🐛 Sync reading package with the release version
* 🧪 Include turn boundaries in session summary expectations
* ♻️ Derive reading failure facts from Host events instead of a projection
The reading service took each completion from the Agent turn-boundary
projection, which forced a stateVersion bump and put that projection's whole
internal state on the wire for every Session list row. The service now records
`turn/end` itself, so `core/agent` and the persisted projection schema are
untouched.
History that ended before the service started raises no reminder, which keeps
"existing history reads as read" without a startup scan. The failure flag
therefore describes only turns this Host observed: marking a Session whose last
turn failed before a restart shows the ordinary unread reminder.
* 🐛 Preserve manual unread until explicit Session interaction
* 🧪 Align cold Session reading snapshot with unloaded title
* 🔖 chore(session): align session-read-state with 0.2.2-rc.2
Master moved the root and every released manifest to 0.2.2-rc.2, but the
new dsh-session-read-state package still declared 0.2.2-rc.1, failing
constraints, verify-version-sync, verify-npm-install-layout, and
release:verify after the master merge.
* ♻️ refactor(gateway): recognize Remote stream carrier loss by error code
RemoteStream now decides whether a generation end or failure is a
retryable carrier loss by the stable code 'gateway/carrier-lost' instead
of `instanceof RemoteStreamCarrierError`. RemoteStreamCarrierError keeps
working and carries that code, so existing callers are unchanged, while a
Client feature package can return a coded Error from `ended` without
importing the class. The new RemoteStreamCarrierFailure type describes
such errors; terminal-controller classifies disconnects the same way.
* ♻️ refactor(session): move Session reading into ui-session-status
Fold the reading feature into the single package
packages/client/ui-session-status and delete session-read-state.
- Host face: SessionStatusService keeps in-memory reading records and
serves the sessionStatus Remote namespace (mark, follow) with
session-status/* error codes; its service key is registered only for
Gateway discovery and is not declared on Context.
- Client face: a package-internal reading model follows the Host stream
through RemoteSnapshotStream; ctx.uiSession.sessionStatus folds the
records into completionUnread and completionFailed and exposes mark and
readingReady; main-view acknowledgement and the
session-status/read-intent event live here. No reading service or type
is exported.
- verify-client-packages lets a packages/client feature package request
packages/api rows through dsh.client.external; feature-to-feature
requests stay rejected.
- ui-workspace, ui-conversation, bundles, remotes, LiveShare, the client
test runtime, docs, Agent Notes, and the upgrade guide follow.
* ♻️ refactor(session): clear manual unread only when the main view switches to the Session
Remove the session-status/read-intent event. ui-session-status now clears an
existing manual unread mark when the main view switches to a different
Session, including the first selection after a page load, once the reading
baseline is ready and the body arrives. Window focus, visibility changes,
a replaced binding for the same Session, and activity in the open Session
preserve manual unread.
ui-conversation returns to master (only the ui-session-status client
tsconfig reference remains), and ui-workspace navigation no longer emits
the event. Tests, the session-reading Web e2e case, READMEs, and the
reading Agent Note follow the new rule.
* 🐛 fix(session): address the Session status review findings
- Open the reading stream only while ctx.remoteAccess allows
sessionStatus/follow, so a LiveShare viewer opens no owner-only stream,
keeps readingReady false, and logs no synchronization failure; access
changes start or stop the stream.
- Hide the unacknowledged completion of the Session the visible, focused
main view retains; manual marks stay visible, completionFailed follows
completionUnread, and the reminder returns on blur, hiding, or a switch.
- Declare ctx.sessionStatus on Context and restore its SERVICE_PAGE and
SERVICE_ROLES entries; the service and SessionRead* types document on
docs/subsystems/web-client.md, which now owns the reading section with
the failed field.
- Document that a Host plugin reload can leave the Client with a terminal
error until a page reload; drop the redundant types import and the
unused publish() result.
- Archived Sessions read as read and offer no reading mark in the row
menu or the toggle-read shortcut.
- session.toggleRead names the open dialog, open panel, or archived
Session that blocks it instead of asking to select a Session.
- isRemoteStreamCarrierFailure rejects a RemoteError from the Host even
when it carries gateway/carrier-lost; the code is Client-local.
- ./types is types-only like ui-trajectory, and files no longer ship
lib/types JavaScript.
* 🐛 fix(session): close the remaining Session status review gaps
- The Gateway Client exports isRemoteStreamCarrierFailure, and the
terminal view uses it, so a Host RemoteError carrying the carrier code
shows as failed rather than disconnected.
- Each access grant's reading stream carries a token: frames a revoked
or superseded stream still delivers are discarded, and cleanup waits
for disposal before leaving reading unavailable unless a newer grant
is active.
- The status table hides the viewed Session's natural reminder only
while that Session is open; the panel case is a documented limitation.
- The README limitation and the upgrade guide state that only the
main-view switch rule, including a reload restore, clears manual
unread automatically.
- Add the missing blank line before the next heading in the web-client
reading section.
* ♻️ refactor(session): install reading under the Session status table
- apply returns to master's form plus one line: UiSessionStatus is the
root, published as the useSessionStatus source, and installReading()
from the new src/client/read.ts follows Host reading records into it.
UiSessionStatus takes master's three constructor parameters and
creates its own SessionReadModel as the package-internal `reading`
member; installSessionStatus is removed and acknowledge.ts stays a
separate file.
- The viewed Session's snapshot subscription republishes the table only
when its openState changes, so streamed events do not rebuild it.
- Remove the obsolete Dev Note sentence about failure outcomes.
- session.toggleRead passes when the Peer may not mark reading, matching
the row menu, and reports readingUnavailable only while unsynchronized.
---------
Co-authored-by: imccyu <[email protected]>
Co-authored-by: imccyu <[email protected]>
Each Session panel row now holds one 28px line: the status, the title or
command, the duration, and the row's control. Resting the pointer on a row for
500ms opens a hover card beside the panel with what the second line used to
show and more: a subagent's owner, activity, mode, tokens, and exact duration;
a task's owner, description, and status; a job's kind, status, and duration.
The switcher menu keeps its two-line rows.