Commit Graph
26690 Commits
Author SHA1 Message Date
LegGasai cc552c19de Merge remote-tracking branch 'origin/feat/session-panel' into feat/session-panel-sections 2026-11-10 12:15:01 +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 c53a83b281 test(forge): read the tree's thread count from its tooltip
The count moved from a native title to the shared tooltip, so the scenario
hovers it and waits for the tooltip.
2026-11-10 11:41:51 +08:00
LegGasai 84df5c452f refactor(jobs): name the stop control without an unreachable fallback
The stop tooltip renders only beside a running row's kill state, so its label
is always one of the three kill strings.
2026-11-10 11:36:44 +08:00
Yichen Jiang 3071dfcf2d Merge pull request #8206 from deepseek-harness/fix/file-type-prototype-names
fix(ui-primitives): resolve file types without inherited prototype keys
2026-11-10 11:32:36 +08:00
LegGasai 87ff49346d docs(forge): call the attention dot yellow where it was still red
The toggle's attention dot uses the warning color, but the change request
card description and the indicator's JSDoc still named it red.
2026-11-10 11:13:24 +08:00
LegGasai 8e86a8c85c fix(forge): show changes view tooltips after 500ms and crawl clipped tree names
Icon and info tooltips in the changes view wait 500ms of hover and still show
at once on keyboard focus. The file tree names only a renamed file's paths,
since the tree already shows each directory, and a clipped name crawls into
view on hover. The thread count, review time, and viewed shortcut hint move
from native titles to the shared tooltip.
2026-11-10 11:12:39 +08:00
LegGasai 4db43a3c2e fix(panel): show row tooltips after 500ms and crawl clipped names on hover
The checkout row's tooltips wait 500ms, a clipped branch name or job command
crawls into view like a session title, the job stop control gets the shared
tooltip, and the native titles that repeated row text are gone.
2026-11-10 11:03:08 +08:00
LegGasai d5dc50a75e fix(subagent): give the switcher menu's sidebar arrow the panel's treatment
The arrow in the breadcrumb switcher drops its hover fill and takes the
panel's 24px target with a glyph that darkens, keeping the menu's columns.
2026-11-10 10:59:40 +08:00
LegGasai 17bafd561e fix(jobs): let a press on the open chevron collapse its row
The open chevron's rotation painted it above the row button's overlay, so a
press on the chevron itself landed on a span and did nothing.
2026-11-10 10:58:54 +08:00
LegGasai 85416f643a fix(primitives): close a menu when another popup trigger opens
The shared context-menu button stops its pointer presses, so an open local
menu never saw them and stayed open beside the shared one; the activating
click now closes it in the capture phase.
2026-11-10 10:51:14 +08:00
LegGasai de87d0b856 refactor(primitives): share the session title's hover marquee
The session row's crawl moves to ui-primitives as useHoverMarquee and
MarqueeText, so other rows whose single line clips can reveal it the same way.
2026-11-10 10:45:12 +08:00
LegGasai 05ed06ebeb Merge commit 'e4ca2cd0e16' into feat/session-panel-sections
# Conflicts:
#	packages/client/ui-session-panel/README.i18n.yaml
#	packages/client/ui-session-panel/README.md
#	packages/client/ui-session-panel/README.zh.md
2026-11-10 10:36:02 +08:00
LegGasai f544556e0e fix(panel): show the toggle and working folder tooltips after 500ms of hover
Sweeping the pointer across the header or the Environment rows no longer
flashes tooltips; keyboard focus still shows them at once.
2026-11-10 10:33:54 +08:00
LegGasai 94afa1e029 fix(panel): hold the scrollbar 2px from the panel's end edge
A transparent end border over the panel's background keeps the bar off the
edge, as the sidebar does; the content keeps its width and 8px end inset.
2026-11-10 10:33:52 +08:00
Yichen Jiang 7d2d22aaf9 fix(ui-primitives): look up file types in Maps so prototype keys miss
classifyFileType and classifyCodeFileType indexed plain objects by the
lowercased basename and extension, so a file named `constructor` or
`__proto__` (or with that extension) resolved an inherited
Object.prototype member and FileTypeIcon threw from its assertNever,
crashing every view that lists the file. The name and extension tables
are now Maps, so such names fall through to their real type or `other`.

Fixes #8205
2026-11-10 10:32:03 +08:00
Yichen Jiang 0eed137eca Merge pull request #8189 from deepseek-harness/feat/forge-overview
feat(forge): sync viewed files with GitHub and act on the change request overview
2026-11-10 10:18:54 +08:00
Yichen Jiang 8da1df0775 fix(forge-panel): round reviewer avatars in every engine and share the menu search keys
The reviewer avatar pairs its full-round radius with `corner-shape:
round`, as the theme requires of every full-round radius. The base
branch menu and the reviewer search share one handler for the keys of
their search field instead of two copies.
2026-11-09 21:27:06 +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
Yichen Jiang ef22fbe7d3 fix(forge): report unconfirmed writes and harden the overview actions
- ForgeActionFailure gains `unknown` for an answer that does not confirm
  the outcome; the GitHub provider passes it on instead of `failed`, the
  panel Remote refuses with `forgePanel/action-unknown`, a viewed mark
  stays, and the other actions ask the reader to check the browser.
- Reruns skip workflow runs with a pending check, try every finished run,
  and report the refused ones together; the card offers a rerun only when
  a failed check's run has finished.
- Review requests resolve users and teams to node ids and call
  `requestReviews`, which GitHub Enterprise Server 3.19 and 3.20 have;
  bots still go through `requestReviewsByLogin`.
- Viewed marks are kept per change request and head, so a reread at the
  same head keeps writes in flight and their locks, and paths named after
  object properties read only their own entries.
- The reviewer search never chooses from the listing of an earlier query.
- Documentation states the unknown code, the branch update evidence, and
  the `canBeRebased` approximation, and drops stray blank lines.
2026-11-09 20:56:46 +08:00
Yichen Jiang 6a2d06c16c feat(forge-panel): show the viewed progress as a ring
The changes toolbar shows how many shown files are viewed with a ring
filled to the viewed share and the label beside it, instead of a label
and a bar, which saves the bar's width. A narrow toolbar keeps the ring
and shortens the label to the bare count, as before.
2026-11-09 20:56:15 +08:00
LegGasai de0e059367 Merge remote-tracking branch 'origin/master' into feat/session-panel 2026-11-09 20:26:27 +08:00
Dudu-0223 fb1887b40d Merge pull request #8101 from deepseek-harness/fix/cua-ax-independent-selection
fix(cua): AX 读取失败不阻断应用、窗口选择与截图
2026-11-09 20:17:06 +08:00
Dudu-0223 651eb7817e merge: preserve CUA selection semantics with floating windows 2026-11-09 19:49:44 +08:00
Yichen Jiang e4410f6284 Merge remote-tracking branch 'origin/master' into feat/forge-overview 2026-11-09 19:42:55 +08:00
Yichen Jiang cc215d9e82 Merge pull request #8183 from deepseek-harness/fix/pi-ai-leading-http-status
fix(llm): classify pi-ai failures by the leading HTTP status
2026-11-09 19:07:46 +08:00
CreatixChu 1aa7c52f76 Merge pull request #6826 from deepseek-harness/fix/cua-floating-windows
fix(cua): 支持发现和操作 macOS 独立浮层窗口
2026-11-09 18:13:53 +08:00
Yichen Jiang 758d31869a Merge remote-tracking branch 'origin/master' into feat/forge-overview
# Conflicts:
#	apps/web/tests/forge-panel.e2e.ts
#	packages/experimental/client-ui-forge/README.i18n.yaml
2026-11-09 18:03:54 +08:00
Yichen Jiang 488f23f370 Merge remote-tracking branch 'origin/master' into fix/pi-ai-leading-http-status 2026-11-09 17:54:11 +08:00
Dudu-0223 0406adbda6 Merge remote-tracking branch 'origin/master' into fix/cua-ax-independent-selection 2026-11-09 17:53:13 +08:00
Yichen Jiang 8f3df318d5 Merge pull request #8185 from deepseek-harness/fix/git-timeout-exit-status
test(plugin-manager): 核对 Git 超时后的实际退出状态
2026-11-09 17:52:27 +08:00
Yichen Jiang 3e299a491d Merge pull request #8179 from deepseek-harness/fix/forge-narrow-toolbar-comments
fix(forge): fold the changes toolbar and keep comments in their own column
2026-11-09 17:36:49 +08:00
Yichen Jiang 6a6195ac28 test(llm): pin pi-ai leading-status classification through the Anthropic route
Add a composition test that sends a gateway 500 relaying an upstream 401
through the real Anthropic SDK, so a change in the SDK's rendering fails
here instead of reaching the classifier unnoticed. Label the unit matrix,
assert the preserved message, and pin a 400 that quotes a retryable 429.
Document the remaining text-classification gaps in the README.

Refs #8182
2026-11-09 17:28:49 +08:00
Dudu-0223 ab3e2e7db8 test(plugin-manager): narrow recorded Git invocation result 2026-11-09 17:22:56 +08:00
Dudu-0223 d71aa8df86 test(plugin-manager): preserve observed Git timeout status 2026-11-09 17:15:43 +08:00
Yichen Jiang b1fae5b326 docs(forge): document the overview and viewed marks
The forge subsystem page gains the overview and viewed mark types and
contracts, and the generated Cordis, configuration, and event catalogs
follow the new service methods and the maxViewedFiles option.
2026-11-09 17:13:17 +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
Yichen Jiang a71553a3fd feat(forge-github): sync viewed files and read and act on the pull request overview
Status reads add review requests, latest reviews, closing issue
references, and whether the viewer may update or rebase the head.
Viewed files are read through the files listing, bounded by the new
maxViewedFiles, and set with markFileAsViewed or unmarkFileAsViewed after
a head check. Failed GitHub Actions runs are rerun through the REST API,
reviews are requested with requestReviewsByLogin, and branches are
updated with expectedHeadOid. Every mutation goes through the sender
review writes use, now in mutation.ts.
2026-11-09 17:12:50 +08:00
Dudu-0223 c8191be1e8 Revert "test(plugin-manager): observe Git timeout exit status"
This reverts commit 3c904f6b3a78f92ae1f3b3eff42d354ffb58a952.
2026-11-09 17:12:47 +08:00
Yichen Jiang 0a4b8d1363 feat(forge): read and set viewed marks and act on the change request overview
ChangeRequestSnapshot now carries the reviewers, linked closing issues,
branch update methods, and the viewer's rights to request reviews and
rerun checks; each check names its rerun. Providers may implement viewed
mark reads and writes, failed check reruns, review requests with a
reviewer search, and head-pinned branch updates. The registry fails an
action a provider lacks without polling, and polls a watched change
request after every action the provider answered.
2026-11-09 17:12:38 +08:00
Dudu-0223 c1001a4b3c test(plugin-manager): observe Git timeout exit status 2026-11-09 17:10:45 +08:00
Yichen Jiang d1711894c8 fix(llm): classify pi-ai failures by the leading HTTP status
pi-ai's SDK-backed providers render an HTTP failure as `<status> <body>`.
A gateway 500 that embeds its upstream's 401 in the body matched the AUTH
rule before the 5xx rule, so Chat reported an invalid API key and the
retry policy gave up. When a message leads with a 4xx/5xx status, the
status rules now read only that status; other wordings still scan the
whole message.

Refs #8182
2026-11-09 16:54:57 +08:00
creatixchu a10aa4a2c7 test(cua): record hidden panel filtering and screenshot coordinate reuse 2026-11-09 16:54:05 +08:00
Dudu-0223 d4100b4d3f merge: preserve CUA selection fixes with AX traversal limits 2026-11-09 16:52:39 +08:00
creatixchu 719f0fdc33 Merge master and verify floating window observations across hide and resize 2026-11-09 16:51:47 +08:00
Dudu-0223 9e802994ca fix(cua): preserve trees when writability discovery fails 2026-11-09 16:47:12 +08:00
CreatixChu 5a18be1c9a Merge pull request #8164 from deepseek-harness/feat/cua-ax-traversal-limits
feat(cua): 支持按次设置 AX 树的节点数和深度上限
2026-11-09 16:40:21 +08:00
Dudu-0223 1d246ff9af fix(cua): merge master and address selection review feedback 2026-11-09 16:33:06 +08:00
creatixchu 1fb39a2283 test(cua): inspect the typed prompt section directly 2026-11-09 16:13:35 +08:00