Commit Graph
5424 Commits
Author SHA1 Message Date
LegGasai a1c0299977 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential 2026-11-16 15:17:39 +08:00
LegGasai 251e3300a4 Merge pull request #7990 from deepseek-harness/feat/session-panel-sections
feat(panel): move change requests, jobs, and subagents into the Session panel
2026-11-16 14:45:47 +08:00
LegGasai 8eda7cfb7c Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	scripts/empty-catch.baseline.json
2026-11-16 14:36:05 +08:00
Turtle 843fc0fa24 Merge pull request #8428 from deepseek-harness/turtle/clean-empty-catch-69cac4a2ccee
fix: retire the legacy empty-catch baseline
2026-11-16 12:16:11 +08:00
Turtle cb92e8d6cf Merge remote-tracking branch 'origin/master' into turtle/clean-empty-catch-69cac4a2ccee 2026-11-16 12:01:22 +08:00
Turtleandoraluben 79487993e7 docs(sidebar-right): describe the scrolling Start guide; restore the e2e viewport in finally
Co-authored-by: oraluben <[email protected]>
2026-11-16 10:51:22 +08:00
Turtleandoraluben 00b9fef246 fix(sidebar-right): pad the scrolling Start guide and cover it in e2e
Co-authored-by: oraluben <[email protected]>
2026-11-16 10:40:18 +08:00
LegGasai 1d200479dc refactor(primitives): place compact hover cards by CSS anchor positioning
The compact card's side and bottom hold were computed in script from the
window size and the anchor's rect, measured again after the card mounted, and
kept current by scroll and resize listeners. The stylesheet now anchors the
card to its wrapper: beside the end edge, else the start edge, each also with
the card's bottom held at the viewport's margin.

A card that fits on neither side used to sit over its anchor, which left the
row under it unclickable. It now opens below the anchor from the anchor's
start edge, or above it; a card too tall for either stays in the viewport's
bottom end corner.
2026-11-15 18:34:14 +08:00
LegGasai 26a0c6ae02 test(web): count the marquee's frame callbacks without an unknown cast
The sidebar marquee test kept its frame counter on window through an
assertion to unknown, which the no-unknown-casts gate rejects.
2026-11-15 18:07:36 +08:00
LegGasai bc75e0ed84 perf(primitives): carry the hover marquee by a CSS animation instead of a frame script
The marquee moved its text by setting the scroll position in a
requestAnimationFrame callback on every frame of the travel. The text now
sits in an inner span that a keyframe animation translates: the handler
measures the overflow once on entry and gives the stylesheet the distance and
the time it takes at 30px/s. A delayed zero-length animation lifts the end
fade at the far edge, and reduced motion is a media query. Speed, the far-edge
hold, the one-step return, the 8px threshold, and the touch exclusion stay.
2026-11-15 17:26:29 +08:00
LegGasai 0277971e87 refactor(session-panel): offer row hover details as a panel Factory with data props
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.
2026-11-15 17:04:30 +08:00
LegGasai e66b080437 feat(jobs): fold each job group past five rows, newest live jobs first
The Background jobs section showed every live job and, once nothing ran,
every settled one, which filled the panel. Each of its two groups now
shows five rows followed by the panel's fold control, "Show N more
running" or "Show N more finished", once that holds back two rows or
more. Each fold is kept per Session, across hiding the panel, and Clear
folds the settled group to five rows again.

Live rows now list the most recently started job first instead of the
earliest, so the rows a group holds back are the ones that have run
longest, not the ones that just started.

An expanded row observes its output only while its row shows: folding it
out of the list, or closing the settled group over it, stops the stream,
and showing the row again reopens it.
2026-11-15 16:22:36 +08:00
LegGasai 66bf0a7178 feat(agent-team): order shared tasks by state and fold the list past five
The Shared tasks section listed every task in source order, so completed
tasks often came first and a long plan filled the panel. It now lists the
tasks in progress, then the pending ones, each in source order, then the
completed ones with the latest in source order first, and shows five
tasks followed by the panel's fold control once that holds back two tasks
or more. The fold is kept per Session, across hiding the panel.

A task carries no completion time, so source order stands in for it
among the completed tasks. The recorded task list moves the completed
task after the pending ones.
2026-11-15 16:22:35 +08:00
LegGasai d4519bb470 feat(subagent): list running subagents first and fold the list past five rows
The Subagents section listed every direct subagent in creation order, so
a Session with many of them filled the panel and put the newest at the
bottom. It now lists running subagents first, the most recently started
first, then the others by their Session's last update, and shows five
rows followed by the panel's fold control once that holds back two rows
or more. The fold is kept per Session, across hiding the panel; an
expanded branch's own rows all show.

A subagent sorts by when its parent created it while the Client holds no
turn timing for it, or only the stand-in row of a Session outside the
Host list, whose update time is 0. The e2e found that case: catalog-only
members all tied at 0 and kept creation order.
2026-11-15 16:22:34 +08:00
LegGasai 6df95fd991 feat(session-panel): offer a fold control for long panel lists
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.
2026-11-15 16:22:11 +08:00
LegGasai 46cf27ce35 fix(session-panel): keep a row highlighted only for its own open menu
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.
2026-11-15 16:21:55 +08:00
LegGasai 99e03fb7b2 Merge remote-tracking branch 'origin/master' into feat/session-panel-sections
The base branch (#7965) is merged, so this branch now targets master.
Conflicts came from #8452 in the forge changes view:

- ChangedFiles.tsx: this branch's Row component (hover marquee, rename
  tooltip) takes master's viewed state: the subdued class, its
  description for assistive technology, and `done` down the tree.
- ReviewControls.tsx: master keeps every segment's Tooltip mounted; this
  branch's 500ms hover delay stays on it.
- ChangesTab.module.css: master's gap-step rules stay; the local changes
  card's rules stay removed, as the card moved into the Session panel.
- The forge README is merged sentence by sentence and its pairing
  record re-recorded.
2026-11-15 15:26:50 +08:00
LegGasai eaf815665a Merge pull request #7965 from deepseek-harness/feat/session-panel
feat(panel): add the floating Session panel
2026-11-15 15:20:08 +08:00
LegGasai d4d9756917 Merge branch 'master' into fix/forge-changes-view-feedback 2026-11-15 13:25:51 +08:00
LegGasai bd99b1e062 Merge branch 'feat/session-panel' into feat/session-panel-sections
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.
2026-11-15 13:00:24 +08:00
LegGasai ae7adb5d47 Merge remote-tracking branch 'origin/master' into feat/session-panel
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.
2026-11-15 12:27:49 +08:00
LegGasai c64862545f Merge branch 'feat/session-panel' into feat/session-panel-sections
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.
2026-11-13 20:22:32 +08:00
LegGasai 0f421817af test(web): measure the toolbar cell around the fitted review lens
The lens radio group now sits in the element that measures its forms,
so the geometry check reads the toolbar cell two levels up.
2026-11-13 20:06:28 +08:00
LegGasai eba69b9fd6 refactor(session-panel): share the row look through CSS marks instead of a row Factory
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.
2026-11-13 19:51:46 +08:00
Shigma ed4f31876c Merge pull request #8136 from deepseek-harness/feat/hmr-watch-patch-overlays
feat(hmr): reload --patch overlay files with the profile
2026-11-13 19:13:45 +08:00
Magolor ae4b016740 fix(ui-schedule): show clocks on delivery sessions (#8055) 2026-11-13 11:03:43 +00:00
Turtle 18178318e9 Merge pull request #8038 from deepseek-harness/feat/standard-cordis-context
feat(preset): 合并 Cordis 检查工具并在标准模式启用
2026-11-13 17:54:46 +08:00
Ziya f465541b32 Merge pull request #8381 from deepseek-harness/feat/schedule-empty-recommendations
feat(ui-schedule): recommend tasks under the empty automation page
2026-11-13 01:47:50 -08:00
Shigma 396b93e765 test(web): serialize scaffold overlay with stringifyEntryYaml 2026-11-13 17:46:56 +08:00
Shigma 245f37b9ef Merge remote-tracking branch 'origin/master' into feat/hmr-watch-patch-overlays 2026-11-13 17:39:47 +08:00
LegGasai 9e396d9c3d Merge branch 'feat/session-panel' into feat/session-panel-sections
# Conflicts:
#	.agents/notes/implemented/feature/2026-11-05-session-panel.i18n.yaml
2026-11-13 17:38:20 +08:00
LegGasai c8663435dc refactor(session-panel): decide docking in CSS and observe only a dock probe
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.
2026-11-13 17:36:26 +08:00
ZiyaZhang f941f1d1ea fix(ui-schedule): thin recommendation glyphs and show full text
The recommendation glyphs draw 1.25px strokes, the shared icons' Regular
weight at 20px, and the hover plus uses the Regular weight as well.
Titles and descriptions wrap in full instead of clipping: descriptions
lost text at two lines in most languages at phone and two-column widths,
and longer titles lost their ends just above the 600px column breakpoint.

The run-time test matches times on digit boundaries, and an end-to-end
case checks English and German titles and descriptions at 390px, 680px,
and 1440px.
2026-11-13 01:10:52 -08:00
LegGasai 1142963202 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	docs/capability-seams.i18n.yaml
2026-11-13 16:33:33 +08:00
Turtle 5637684234 Merge pull request #7821 from deepseek-harness/turtle/settings-plugin-entry-250a00ad5c10
feat(client): show plugin settings on the Plugins page
2026-11-13 16:26:48 +08:00
Turtle a13fd52072 Merge remote-tracking branch 'origin/master' into turtle/clean-empty-catch-69cac4a2ccee
# Conflicts:
#	packages/boot/plugin-market/src/repository-cache.ts
2026-11-13 16:23:40 +08:00
creatixchu fe6e77bfe9 Merge remote-tracking branch 'origin/master' into feat/cua-platform-page
# Conflicts:
#	snapshots/web/creation-recommendations/session.v4.jsonl
2026-11-13 16:14:34 +08:00
acehinnnqru 2405642774 Merge pull request #8159 from deepseek-harness/feat/git-plugin-index-sources
feat(plugin-market): support Git index sources
2026-11-13 16:13:03 +08:00
TurtleandLegGasai 81aef2ec2d feat(client): show plugin settings on the Plugins page
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]>
2026-11-13 16:06:36 +08:00
LegGasai 639c558fd3 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	docs/capability-seams.i18n.yaml
2026-11-13 16:02:53 +08:00
LegGasai cb44a3c2ee feat(forge): read, review, and bind GitLab merge requests (#8317)
* 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
2026-11-13 07:56:57 +00:00
turtle1999 2f79c7386f docs(preset): describe shared runtime inspection in both modes 2026-11-13 15:45:04 +08:00
turtle1999 34d7444270 test(cordis): align standard inspection expectations 2026-11-13 15:45:04 +08:00
turtle1999 5dfda6a5f3 refactor(cordis): unify runtime inspection tool 2026-11-13 15:45:04 +08:00
LegGasai 17da980349 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential 2026-11-13 15:42:52 +08:00
turtle1999 3682913394 feat(preset): expose Cordis inspection in standard mode 2026-11-13 15:41:32 +08:00
Turtle 35cc5d7759 Merge origin/master
# Conflicts:
#	packages/client/ui-primitives/src/clipboard.ts
2026-11-13 15:28:44 +08:00
Turtle f184f77006 fix: retire legacy empty-catch baseline entries
Name every empty catch binding, state why each discarded failure is safe,
and narrow each wide try to the single statement whose failure is tolerated.
The empty-catch baseline is now empty.
2026-11-13 15:28:28 +08:00
imccyu 2a1c123912 Merge branch 'master' into worktree-sync-release-dsh-0.2.2-rc.3-to-master 2026-11-13 15:26:46 +08:00
Shigma 94d9995755 Merge pull request #7940 from deepseek-harness/refactor/cordis-include-yaml
refactor(cordis): route Include-dialect YAML through Include exports
2026-11-13 15:26:20 +08:00