Commit Graph
26631 Commits
Author SHA1 Message Date
LegGasai 4884003c4e Merge remote-tracking branch 'origin/master' into feat/session-panel 2026-11-10 11:50:13 +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 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
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
creatixchu 9f5f2f5ae4 test(cua): verify scoped provider guidance independently of read defaults 2026-11-09 16:09:18 +08:00
Chinesezjc e9eeabacb6 Merge pull request #8046 from deepseek-harness/fix/ci-21078ac-scan-dot-dirs
test(ui-theme): skip dot directories in the package scan
2026-11-09 15:50:12 +08:00
Yichen Jiang 4d01598a26 Merge remote-tracking branch 'origin/master' into fix/forge-narrow-toolbar-comments
# Conflicts:
#	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/client/DiffFile.tsx
#	packages/experimental/client-ui-forge/src/client/ReviewThread.tsx
2026-11-09 15:48:26 +08:00
Yichen Jiang eba697f3d4 fix(forge): fold the changes toolbar and keep comments in their own column
A narrow changes toolbar wrapped its controls onto a second row and the
header's buttons broke their labels across two lines. Side by side, a
right-side comment was placed with clamp(10px, 100% - 700px, 50% + 10px),
so below about 1,420 px it crossed into the left column, and only one
comment editor could be open at a time.

The toolbar now keeps one line. observeToolbarFold measures what each
fold level needs and sets data-fold to the shallowest level that fits:
level 1 moves the line totals, expanding all files, two columns, and
wrapping into a More view options menu, level 2 the test file switch,
with the viewed progress shown as a ring and a count, and level 3
refresh; at level 3 the file list entry shortens its label. The menu
lists the controls of the level shown when it opens. Measuring instead of
fixed widths keeps every locale on one line: the full toolbar needs about
650 px in Chinese and nearly 800 px in Russian. Header buttons keep their
labels on one line.

Side by side, the comments that end on a row now sit in a row of two
cells under its columns, each continuing its line's gutter and
background, so a left and a right comment share the row. Any number of
editors can stay open; choosing an open editor's range focuses it.

Resolves #8176
2026-11-09 15:27:21 +08:00
Yichen Jiang 3e73384e25 Merge pull request #8156 from deepseek-harness/feat/forge-review-writes
feat(forge): reply to and resolve review threads, and keep pull request drafts in the GitHub pending review
2026-11-09 07:26:19 +00:00
Yichen Jiang c27eeb8eac fix(forge-panel): rebind the scrollbar on the review dialog's confirmation box 2026-11-09 15:15:09 +08:00
Yichen Jiang c49ffe9808 Merge pull request #8112 from deepseek-harness/feat/forge-review-threads
feat(forge): overlay GitHub review threads on the changes view
2026-11-09 15:05:48 +08:00
Yichen Jiang 7bbc407c99 test(forge-panel): spy on the memoized DiffFile's render in the pending review callback case 2026-11-09 15:01:34 +08:00
Yichen Jiang 28df6c3117 Merge remote-tracking branch 'origin/feat/forge-review-threads' into feat/forge-review-writes
# Conflicts:
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	packages/experimental/client-ui-forge/README.i18n.yaml
#	packages/experimental/client-ui-forge/src/client/ChangesTab.tsx
#	packages/experimental/forge-github/README.i18n.yaml
#	packages/experimental/forge-github/README.md
#	packages/experimental/forge-github/README.zh.md
#	packages/experimental/forge/README.i18n.yaml
#	packages/experimental/forge/src/index.ts
#	packages/extensions/tool-cordis/src/api-catalog.ts
2026-11-09 14:53:18 +08:00
Yichen Jiang 2479e6ddab Merge remote-tracking branch 'origin/master' into feat/forge-review-threads
# Conflicts:
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
2026-11-09 14:43:20 +08:00
dsh-ci-bot b840ff5b9f fix(ci): brace the retry cleanup hook
`typescript/no-confusing-void-expression` rejects the shorthand arrow that
returns `rmSync`'s void expression; the staged lint configuration does not
enable type-aware rules, so only the full lint gate caught it.
2026-11-09 14:34:35 +08:00
Yichen Jiang dacbc37209 Merge remote-tracking branch 'origin/master' into feat/forge-review-threads
# Conflicts:
#	docs/config-catalog.md
#	docs/config-catalog.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/client/DiffFile.tsx
#	packages/experimental/forge-github/README.i18n.yaml
#	packages/experimental/forge-github/README.md
#	packages/experimental/forge-github/README.zh.md
#	packages/experimental/forge/README.i18n.yaml
#	packages/experimental/forge/src/index.ts
#	packages/extensions/tool-cordis/src/api-catalog.ts
2026-11-09 14:28:39 +08:00
creatixchu aeb278ce98 test(cua): replay recovery from truncated AX observations 2026-11-09 14:24:58 +08:00