Commit Graph
7590 Commits
Author SHA1 Message Date
imccyu 4e205cd66d Merge release/dsh-0.2.2 (0.2.2-rc.2) into master
# Conflicts:
#	packages/experimental/cua-bundle/package.json
#	packages/ptc-runtime/ptc-runtime-node/package.json
2026-11-11 10:34:31 +08:00
imccyu 91319233e1 release(dsh): 0.2.2-rc.2 2026-11-11 10:18:52 +08:00
imccyu 378efd8556 Merge pull request #8265 from deepseek-harness/saafo/duo-text-autosizing
🐛 Prevent automatic text enlargement on mobile Safari
2026-11-11 10:14:58 +08:00
Saafo 01ad3f8b68 🐛 Preserve authored text sizes on mobile Safari 2026-11-11 09:56:15 +08:00
Turtle e19c7f1a02 Merge pull request #8225 from deepseek-harness/turtle/add-desktop-ua-suffix-e911e659413d
feat(llm): report the booted profile in the provider User-Agent
2026-11-11 09:51:11 +08:00
Turtle ce6ab42635 Merge pull request #8225 from deepseek-harness/turtle/add-desktop-ua-suffix-e911e659413d
feat(llm): report the booted profile in the provider User-Agent
2026-11-11 09:28:02 +08:00
creatixchu 73303a3a01 test(web): prevent automatic paging before the turn navigation jump 2026-11-10 22:39:43 +08:00
creatixchu 2deb3189c6 Merge master and adapt scoped CUA replay to string window IDs 2026-11-10 22:38:49 +08:00
imccyu 37e0924f68 Merge pull request #8257 from deepseek-harness/ptc-scoped-repl-switch
feat(ptc): run the scoped REPL by default for persistent-in-memory execution
2026-11-10 22:34:59 +08:00
creatixchu c30a94a0c4 fix(cua): declare PID selectors, document Windows limits and check native PR builds 2026-11-10 21:41:16 +08:00
creatixchu 3b8c672e6f test(web): keep image history paging independent of pointer scrolling 2026-11-10 20:35:19 +08:00
creatixchu 1aefd4de11 Merge master and migrate Windows CUA callers to explicit inspection 2026-11-10 18:24:02 +08:00
creatixchu 77c722d9e3 Wait for the sidebar tab to settle before measuring the reorder target 2026-11-10 17:37:55 +08:00
_Kerman a4e6f7ceea test(web): sync remaining PTC newline expectations 2026-11-10 17:18:59 +08:00
_Kerman 5de18e6090 fix(ui-tool): localize and validate compact image output 2026-11-10 17:02:36 +08:00
creatixchu 5ee1c02eb8 fix(cua-windows): align provider, platform checks and replay with master 2026-11-10 16:47:17 +08:00
Turtleandsjw1231 51951b1593 feat(llm): report the booted profile in the provider User-Agent
Co-authored-by: sjw1231 <[email protected]>
2026-11-10 16:19:32 +08:00
_Kerman 4e9adccec7 Merge branch 'master' into xtr/ptc-inspect-output 2026-11-10 16:18:34 +08:00
_Kerman 47fafbbfcb fix(ui-tool): show compact image references in code output 2026-11-10 16:07:14 +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
_Kerman 86984d8358 Merge branch 'feat/cua-run-code-standard' into xtr/ptc-inspect-output 2026-11-10 14:24:26 +08:00
turtle1999 6729530215 chore(cua): merge current application selection semantics 2026-11-10 00:01:53 +08:00
turtle1999 8a898cac60 refactor(cua): make native connections own input cleanup 2026-11-09 23:13:36 +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
_Kerman 20fbd860f8 fix(ptc): keep ordinary snapshots live-recordable 2026-11-09 18:53:04 +08:00
turtle1999 e4a2972627 chore(cua): merge current native window observations 2026-11-09 18:35:17 +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 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
_Kerman a03cf79fc7 Merge origin/master into xtr/ptc-inspect-output 2026-11-09 18:03:41 +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
_Kerman 83e3d0ebc0 Merge remote-tracking branch 'origin/master' into xtr/ptc-inspect-output
# Conflicts:
#	packages/experimental/cua-macos/README.i18n.yaml
#	packages/experimental/cua-macos/README.md
#	packages/experimental/cua-macos/README.zh.md
#	packages/experimental/cua/src/api.ts
#	packages/experimental/cua/src/guidance.ts
#	packages/experimental/cua/src/types.ts
#	packages/experimental/cua/tests/api.spec.ts
#	snapshots/session/cua-native/system-prompt.expected.md
#	snapshots/session/cua-ptc/system-prompt.expected.md
#	snapshots/session/ptc-script-retained/system-prompt.expected.md
2026-11-09 16:17:18 +08:00
turtle1999 b9966a12a6 feat(cua): expose persistent code tool outside PTC mode 2026-11-09 15:53:22 +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
_Kerman 724e56b286 feat(ptc): unify explicit text and image inspection 2026-11-09 15:06:09 +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 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
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
_Kerman 78b7b27089 test(web): pace present replay for recorded throughput 2026-11-09 13:13:17 +08:00
_Kerman b7a3fba945 test(ptc): derive migrated replay scripts from sessions 2026-11-09 12:56:55 +08:00
Yichen Jiang 1ba5977691 fix(forge-panel): address the review thread findings
- A jump to a thread centered its card on every later jump to the same file, since the jump target outlived the jump.
  The scroll target now carries the card to center and is cleared when the jump ends; unfolding still follows the
  latest thread jump.
- In a commit range view, a thread on a file the chosen commits do not change opened on the host instead of choosing
  all commits; a thread the chosen commits do not hold now always chooses all commits first.
- A quote of an old-side thread named the head as the commit its lines number. It now says the lines number the file
  before the change and names the head only as where the diff ends, and ForgeAnchor documents the same.
- Refresh reads review threads from the host past the panel's cache (`changeRequestReview` takes `fresh`), so a thread
  resolved since shows without waiting for `reviewRefreshMs`; `maxCachedReviewBytes` defaults to 16 MiB, at least
  one read under forge-github's default `maxOutputBytes`.
- Picking a thread from a list that covers the files moves the focus to the thread's card.
- `ForgeReviewData.viewer`, its GraphQL field, `ThreadActions.viewer`, and `ThreadReadState.unsupported` had no
  consumer and are removed.
- A quoted outdated thread is named by the lines it was written on; a missing pull request or repository makes a
  review read `not-found`; a truncated read that kept no thread still offers the thread list.
2026-11-09 12:50:33 +08:00
_Kerman 71b5e93457 test(ptc): migrate remaining inspection consumers 2026-11-09 12:48:09 +08:00
Yichen Jiang 088cd5dfba test(forge-panel): read the end position after scroll anchoring settles 2026-11-09 12:20:08 +08:00
Yichen Jiang 2d44c4ecc9 fix(forge-panel): let scroll anchoring keep a jumped-to file in place
The per-frame alignment after a jump pulled back scrolls it did not start,
such as a script or find in page setting the scroll position. Measured on
#7985, the browser's scroll anchoring already keeps an early, middle, or
late jump target at the top while the sections above it draw.
2026-11-09 12:07:17 +08:00
_Kerman c1783e9dff feat(ptc): select program output with Harness.inspect 2026-11-09 12:00:07 +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 ce1e1f2681 Merge remote-tracking branch 'origin/master' into perf/forge-changes-view 2026-11-09 11:47:49 +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
dsh-ci-bot 8590ed6d92 Merge remote-tracking branch 'origin/master' into fix/master-ci-flaky
# Conflicts:
#	packages/experimental/forge-github/tests/gh.spec.ts
2026-11-09 01:09:22 +08:00