Commit Graph
1166 Commits
Author SHA1 Message Date
LegGasai 3be6baf574 feat(web): restore persistent terminal plugin controls 2026-11-18 10:58:36 +08:00
LegGasai 6f0445e307 Merge pull request #8625 from deepseek-harness/worktree/session-panel-forge-cards-958b38
feat(forge): compact change request cards, and worktrees created only for the first message
2026-11-17 15:15:22 +08:00
winewill d76f5cada3 Merge pull request #8548 from deepseek-harness/turtle/fix-credit-toast-position-aaf5e1935b33
fix(web): give account notifications their own sidebar row
2026-11-17 14:52:11 +08:00
LegGasai abc9575eea feat(forge): draw change requests as compact cards in the Session panel
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.
2026-11-17 14:48:15 +08:00
ZiyaZhang 8cbd73efff feat(ui-schedule): scope the weekly review to the user's own work
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.
2026-11-16 03:48:59 -08:00
Turtle 4002caa7ea fix(web): float account notifications over the session list
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.
2026-11-16 16:53:15 +08:00
Turtle fe1d4c2cd7 fix(web): keep the notification slot name and bound card copy height
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.
2026-11-16 15:59:43 +08:00
Turtle 4ba4a5eb54 fix(web): give account notifications their own sidebar row
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
2026-11-16 15:49:17 +08:00
ZiyaZhang 3e42e0f617 feat(ui-schedule): recommend a weekly review task
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.
2026-11-15 23:26:13 -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
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
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
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 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
creatixchu 8403a1f6f4 test(cua): record guidance before the permission controls 2026-11-13 14:35:24 +08:00
MagolorandZiyaZhang d997173e45 feat(timeline): integrate Timeline as an experimental plugin (#7973)
* 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]>
2026-11-13 11:54:22 +08:00
ZiyaZhang e18d329388 feat(ui-schedule): recommend tasks under the empty automation page
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.
2026-11-12 19:19:16 -08:00
a39d44b5dc feat(session): add host reading status to SessionStatus (#6858)
* ✨ 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]>
2026-11-12 05:35:57 +00:00
LegGasai 7bd01e1e29 Merge remote-tracking branch 'origin/master' into feat/session-panel-sections
# Conflicts:
#	apps/web/tests/jobs-panel-layering.e2e.ts
#	apps/web/tests/sidebar-subagent-activity.e2e.ts
#	apps/web/tests/subagent-conversation.e2e.ts
#	apps/web/tests/support.ts
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
#	docs/module-graph.md
#	docs/module-graph.zh.md
#	docs/subsystems/forge.i18n.yaml
#	packages/client/README.i18n.yaml
#	packages/client/ui-jobs/package.json
#	packages/client/ui-subagent/package.json
#	packages/client/ui-subagent/src/client/index.ts
#	packages/client/ui-subagent/tests/conversation-ui.client.spec.tsx
#	packages/client/ui-subagent/tsconfig.json
#	packages/experimental/client-ui-forge/README.i18n.yaml
#	packages/experimental/client-ui-forge/README.md
#	packages/experimental/client-ui-forge/README.zh.md
#	packages/experimental/client-ui-forge/package.json
#	packages/experimental/client-ui-forge/src/client/ChangeRequestCard.tsx
#	packages/experimental/client-ui-forge/src/client/ChangesTab.tsx
#	packages/experimental/client-ui-forge/src/client/ForgeTab.tsx
#	packages/experimental/client-ui-forge/src/client/mount.ts
#	packages/experimental/client-ui-forge/tests/forge-tab.client.spec.tsx
#	packages/experimental/client-ui-forge/tests/mount.client.spec.ts
#	packages/extensions/cordis-client-runner/src/client/slot-catalog.ts
#	packages/preset/agent-preset/skills/dsh-doc/references/packages.md
#	pnpm-lock.yaml
2026-11-11 16:34:53 +08:00
LegGasai 3c5d888751 Merge remote-tracking branch 'origin/master' into feat/session-panel
# Conflicts:
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
#	docs/module-graph.md
#	docs/module-graph.zh.md
#	packages/client/README.i18n.yaml
#	packages/preset/agent-preset/skills/dsh-doc/references/packages.md
#	pnpm-lock.yaml
2026-11-11 16:16:28 +08:00
LegGasai 2c38990cee fix(panel): list subagents, shared tasks, and jobs on one line with hover details
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.
2026-11-11 16:03:50 +08:00
Turtle 2099 ca7e7f4018 Merge pull request #8010 from deepseek-harness/turtle/subagent-fork-divider-20436572857c
feat(web): divide a forked session's inherited history from its own messages
2026-11-11 15:32:21 +08:00
Yichen Jiang 8c192ad810 Merge pull request #8228 from deepseek-harness/feat/forge-extension-api
feat(forge): open change request review to plugins with lenses, line annotations, and slots
2026-11-11 12:07:19 +08:00
Turtle d79851e05d Merge pull request #8180 from deepseek-harness/feat/cua-run-code-standard
feat(cua): 为标准模式提供持久 cua_run_code 工具
2026-11-10 07:59:40 +00:00
Yichen Jiang aae5b719a9 docs(forge): document the extension API and replay a fixture extension
Add the forge subsystem's extension API section, README and cookbook
coverage, the generated Cordis, config, slot, and event catalogs, and a
recorded forge-panel e2e case that loads a fixture plugin registering a
lens, annotations, and every new slot.
2026-11-10 14:53:09 +08:00
LegGasai 81feedf2d7 fix(forge): start the local changes row's name with its visible text
Speech input names what a row shows; the button's name now begins with the
row's summary in every locale, followed by the line counts.
2026-11-10 13:23:34 +08:00
LegGasai beba76079e Merge remote-tracking branch 'origin/master' into feat/session-panel-sections
# Conflicts:
#	apps/web/tests/expected/forge-panel/local-and-pr.expected.md
#	apps/web/tests/expected/forge-panel/panel.expected.md
#	apps/web/tests/forge-panel.e2e.ts
#	docs/subsystems/forge.i18n.yaml
#	packages/experimental/client-ui-forge/README.i18n.yaml
#	packages/experimental/client-ui-forge/README.md
#	packages/experimental/client-ui-forge/README.zh.md
#	packages/experimental/client-ui-forge/src/client/ChangeRequestCard.tsx
#	packages/experimental/client-ui-forge/src/client/DiffFile.tsx
#	packages/experimental/client-ui-forge/src/client/Forge.module.css
#	packages/experimental/client-ui-forge/src/client/ForgeTab.tsx
#	packages/experimental/client-ui-forge/src/client/mount.ts
#	packages/experimental/client-ui-forge/tests/change-request-card.client.spec.tsx
#	packages/experimental/client-ui-forge/tests/forge-tab.client.spec.tsx
2026-11-10 12:14:35 +08:00
LegGasai 4884003c4e Merge remote-tracking branch 'origin/master' into feat/session-panel 2026-11-10 11:50:13 +08:00
LegGasai 2ce65c759f Merge commit '796d33c30ca' into feat/session-panel-sections
# Conflicts:
#	.agents/notes/implemented/feature/2026-10-09-forge-panel.i18n.yaml
#	docs/subsystems/forge.i18n.yaml
#	packages/experimental/client-ui-forge/README.i18n.yaml
#	packages/experimental/client-ui-forge/README.md
#	packages/experimental/client-ui-forge/README.zh.md
#	packages/experimental/client-ui-forge/src/client/mount.ts
2026-11-09 21:18:17 +08:00
LegGasai de0e059367 Merge remote-tracking branch 'origin/master' into feat/session-panel 2026-11-09 20:26:27 +08:00
turtle1999 f0e9dc1c92 fix(cua): support clean source runs and preserve per-mode guidance 2026-11-09 18:17:56 +08:00
Yichen Jiang f5fd6ed8f9 feat(forge-panel): sync viewed files with GitHub and act from the card's overview rows
A change request's view of all its commits reads and saves viewed marks
on the code host, disabling a checkbox while its mark is saved and every
checkbox when the marks cannot be read; local changes and chosen commits
keep their marks in the browser. The expanded card shows one row per
fact with a glyph and its value: checks open a grouped menu that reruns
failed ones, the review row shows reviewer avatars and requests reviews,
the merge row updates a head behind its base at the displayed head, the
changes row counts unresolved threads, and linked issues take one row.
2026-11-09 17:13:04 +08:00
turtle1999 b9966a12a6 feat(cua): expose persistent code tool outside PTC mode 2026-11-09 15:53:22 +08:00
LegGasai 65f2344993 Merge commit '3778faaa5f2' into feat/session-panel-sections
# Conflicts:
#	apps/web/tests/subagent-conversation.e2e.ts
#	docs/subsystems/forge.i18n.yaml
#	docs/subsystems/forge.md
#	docs/subsystems/forge.zh.md
#	packages/client/ui-subagent/README.i18n.yaml
#	packages/client/ui-subagent/README.md
#	packages/client/ui-subagent/README.zh.md
#	packages/client/ui-subagent/src/client/SubagentHeaderLineage.tsx
#	packages/client/ui-subagent/tests/conversation-ui.client.spec.tsx
#	packages/experimental/client-ui-forge/README.i18n.yaml
#	packages/experimental/client-ui-forge/README.md
#	packages/experimental/client-ui-forge/README.zh.md
#	packages/experimental/client-ui-forge/package.json
#	packages/experimental/client-ui-forge/src/client/mount.ts
2026-11-09 14:13:43 +08:00
LegGasai 71b7f09cf0 Merge remote-tracking branch 'origin/master' into feat/session-panel 2026-11-09 12:38:23 +08:00
Yichen Jiang f03981630c Merge remote-tracking branch 'origin/feat/forge-review-threads' into feat/forge-review-writes
# Conflicts:
#	apps/web/tests/forge-panel.e2e.ts
#	packages/experimental/client-ui-forge/README.i18n.yaml
2026-11-09 11:50:38 +08:00
Yichen Jiang c04c40b68a docs(forge): document review writes and record pending review drafts
The forge subsystem page documents ctx.forge.writeReview, its write
and result types, and the panel's changeRequestReviewWrite; the package
READMEs describe the GitHub mutations and their measured behavior, the
thread actions, and the pending review flow. A new Agent Note records
moving pull request comment drafts to the code host's pending review,
and the forge panel note links it. The Web e2e replies to, edits,
deletes, and resolves threads, and starts, submits, and discards a
pending review through the scripted gh double.
2026-11-09 11:38:56 +08:00
Yichen Jiang e7e5ed638d Merge remote-tracking branch 'origin/master' into feat/forge-review-threads
# Conflicts:
#	apps/web/tests/forge-panel.e2e.ts
#	packages/experimental/client-ui-forge/README.i18n.yaml
#	packages/experimental/client-ui-forge/src/client/DiffFile.tsx
#	scripts/type-equiv.manifest.json
2026-11-09 11:38:53 +08:00
Yichen Jiang 4a6e0e3c52 feat(forge-panel): step through a file's unresolved threads from its header count
The unresolved count on a file header opened the whole thread list scrolled to that file, which covered the code in
a narrow view and did not tell the file's threads apart. Each click now goes to the file's next unresolved thread in
the order its section shows them: threads on the whole file, threads on lines by the row of their last line,
outdated threads, then threads the chosen commits do not hold; after the last it starts again from the first. The
thread list orders each file's threads the same way, and the Threads toolbar button alone opens it.
2026-11-07 17:46:31 +08:00
Yichen Jiang b07f93af18 feat(forge-panel): filter review threads by resolution and fit the thread list to narrow views
The thread list chooses Unresolved, Resolved, or All in the segmented radio group the lens uses, and drops the
Outdated and Awaiting my reply filters with the Awaiting my reply tag. Its footer keeps only View on GitHub, after a
note when the read was truncated, and each file group names the file before its directory.

The list's width rules queried the changes view's container by name, which CSS Modules rename per file, so they never
applied and a narrow view squeezed the files beside a 320px list. The rules now query the nearest container: a view
at least 1040px wide docks the list; a narrower one floats it over the files with a scrim, moves the focus into it,
and closes it before opening a thread; below 480px it takes the files' whole width with Back to changes. Escape, the
scrim, and the close actions return the focus to the Threads button. Below 480px a file header shows the unresolved
count alone and thread cards keep 6px margins.
2026-11-07 16:46:56 +08:00
Dudu-0223 1f00b4defc Merge pull request #7932 from deepseek-harness/fix/subagent-catalog-explicit-expand
fix(ui-subagent): 显式展开时补读一层子目录
2026-11-07 14:49:27 +08:00
Yichen Jiang f11daf3ad3 docs(forge): document review thread reads, the thread overlay, and the unsupported failure
The forge subsystem page documents ctx.forge.readReview, its thread
types, and the panel's changeRequestReview cache; the package READMEs
describe the GitHub thread mapping, the overlay and thread list, and the
new panel Config fields. An upgrade guide covers the unsupported
ForgeFailure code. The Web e2e overlays scripted threads, opens them from
the thread list, and sends a quoted thread through a replayed turn.
2026-11-07 14:31:30 +08:00
Dudu-0223 5195b73915 fix(ui-subagent): distinguish unread catalogs and isolate browser checks 2026-11-07 13:46:49 +08:00
LegGasai 70991aaf71 test(forge): record the plugin description that names the Session panel 2026-11-07 13:30:37 +08:00
LegGasai 2d237d0271 test(panel): cover shared tasks as a section, running dots, and nonzero exits in the browser
Recorded goldens change only for the new section, the toggle's running names,
and the job row's text order.
2026-11-07 12:26:23 +08:00
Yichen Jiang fb637c2bfd Merge remote-tracking branch 'origin/master' into feat/forge-review-viewed-lenses
# Conflicts:
#	apps/web/tests/forge-panel.e2e.ts
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	docs/subsystems/forge.i18n.yaml
#	docs/subsystems/forge.md
#	docs/subsystems/forge.zh.md
#	packages/experimental/client-ui-forge/README.i18n.yaml
#	packages/experimental/client-ui-forge/README.md
#	packages/experimental/client-ui-forge/README.zh.md
#	packages/experimental/client-ui-forge/src/client/ChangesTab.tsx
#	packages/experimental/client-ui-forge/src/index.ts
#	packages/experimental/client-ui-forge/tests/controller.host.spec.ts
#	packages/experimental/forge-github/README.i18n.yaml
#	packages/experimental/forge-github/README.md
#	packages/experimental/forge-github/README.zh.md
#	packages/experimental/forge-github/src/index.ts
#	packages/experimental/forge-github/src/provider.ts
#	packages/experimental/forge-github/tests/plugin.spec.ts
#	packages/experimental/forge-github/tests/provider.spec.ts
#	packages/experimental/forge-github/tests/review.spec.ts
#	packages/experimental/forge/README.i18n.yaml
#	packages/extensions/tool-cordis/src/api-catalog.ts
2026-11-07 12:13:56 +08:00
LegGasai 1eb24252ad Merge the feat/session-panel head into feat/session-panel-sections 2026-11-07 11:41:36 +08:00