Commit Graph
26580 Commits
Author SHA1 Message Date
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
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
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
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
creatixchu 719f0fdc33 Merge master and verify floating window observations across hide and resize 2026-11-09 16:51:47 +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
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
creatixchu 9425b6defe fix(cua): report configured AX budgets and document migration 2026-11-09 14:23:46 +08:00
dsh-ci-bot 37ee8d34ad fix(ci): retry the Electron provisioning fetch
The Windows coverage lane provisions the locked Electron binary through the
runner proxy. A gateway timeout on that one fetch failed the required lane
before any test ran: on 2026-11-09 four jobs on three branches stopped at
`504 (Gateway Time-out)` for the release archive, while other jobs fetched the
same archive minutes later (2.5 s from a warm cache, 14.7 s cold).

`electron-install` now declares two retries with a 15 s wait, and the
aggregate executor repeats a failed gate only when it declares `retries`. A
gate the fail-fast signal terminated is not repeated, and the returned
duration covers every attempt.
2026-11-09 14:18:13 +08:00
creatixchu 1e0a200304 test(cua): refresh the PTC window inventory fixture 2026-11-09 14:18:05 +08:00
creatixchu 1bd41d063e docs(cua): record why AX configuration sets per-read defaults 2026-11-09 14:17:42 +08:00
creatixchu ec892f6b93 fix(cua): retain hidden panel coordinate frames without exposing them 2026-11-09 14:16:10 +08:00
creatixchu dfc8671279 test(cua): refresh portable AX option and macOS guidance snapshots 2026-11-09 14:14:21 +08:00
creatixchu 75a25e8571 test(cua): verify floating windows on the current native protocol 2026-11-09 14:13:20 +08:00
creatixchu 9bd4a9aad7 test(cua-macos): exercise traversal budgets on the AppKit fixture 2026-11-09 14:13:11 +08:00
creatixchu 6b3ed06115 feat(cua-macos): raise AX traversal ceilings and document them per platform 2026-11-09 14:12:43 +08:00
creatixchu b0e4df81f5 Merge master and keep floating window discovery on the existing CUA API 2026-11-09 14:10:58 +08:00
Yichen Jiang 6e882cd6e3 fix(forge): confine review writes to the bound pull request and reconcile unknown submissions
A write to a thread or comment now reads, in the head check, the pull
request that holds it and is refused without a mutation when that is
another pull request. Submitting the pending review keeps the
submission to reconcile, so an unknown outcome blocks a second review.
GraphQL errors count as refusals only when every type names one, so a
GitHub timeout reports an unknown outcome. Pending reviews are found
by viewerDidAuthor among up to 100, without the unused commit field. A
resolved thread stays open while the reader writes in it, unsupported
writes no longer poll, and the docs state the partial two-step write.
2026-11-09 14:08:22 +08:00
creatixchu 47254be6f7 test(cua): capture typed traversal limits in model guidance and tool schemas 2026-11-09 14:02:28 +08:00
creatixchu 91f9d14fa8 feat(cua): bound accessibility tree reads with typed traversal options 2026-11-09 14:00:21 +08:00
Yichen Jiang e29a8f57c5 Merge pull request #8157 from deepseek-harness/fix/app-boot-home-env-deepseek-endpoints
fix(app-boot): accept DeepSeek endpoints from the Harness-home .env
2026-11-09 14:00:02 +08:00
Jiawei Song b43fcce60e Merge pull request #8006 from deepseek-harness/refactor/tool-errors-fs
feat(fs,lsp,present): give file, search, LSP, and present tool failures error codes
2026-11-09 13:59:49 +08:00
Jiawei Song 74ae5f0da9 Merge pull request #8053 from deepseek-harness/refactor/tool-errors-shell
feat(shell,sandbox,jobs,terminal): give shell, sandbox, job, and terminal tool failures error codes
2026-11-09 13:56:40 +08:00
Chinesezjc a6fc2ac61b Merge branch 'master' into fix/ci-21078ac-scan-dot-dirs 2026-11-09 13:54:30 +08:00
CreatixChu e5359d9a49 Merge pull request #8107 from deepseek-harness/feat/session-mouse-consent
feat(cua): 按会话授权 macOS 悬停移动系统鼠标
2026-11-09 13:51:42 +08:00