Commit Graph
28808 Commits
Author SHA1 Message Date
sjw1231 159b3edfeb test(web): add plugin_manager to the scoped PTC round system prompt
The persistent-in-memory PTC round snapshot from master uses the Desktop
ptc preset, which now provides plugin_manager when the Host supplies an
editable profile.
2026-11-20 16:26:45 +08:00
sjw1231 7a4e99f81d Merge remote-tracking branch 'origin/master' into pr-8832-narrow 2026-11-20 16:24:05 +08:00
LegGasai 972e441cf5 Merge pull request #8827 from deepseek-harness/feat/models-catalog-reasoning-levels
feat(ui-settings-models): edit reasoning levels of catalog provider models
2026-11-20 16:21:50 +08:00
imccyu 24fbc36d6a Merge pull request #8899 from deepseek-harness/sidebar-restyle-peak
test(benchmarks): measure peak elements restyled during sidebar drag
2026-11-20 16:18:30 +08:00
LegGasai b53e7208e1 Merge pull request #8898 from deepseek-harness/fix/token-cookie-accumulation
fix(web): expire other ports' auth cookies at browser sign-in
2026-11-20 16:13:40 +08:00
LegGasai 07b713a0a5 Merge remote-tracking branch 'origin/master' into feat/models-catalog-reasoning-levels
# Conflicts:
#	packages/client/ui-settings-models/README.i18n.yaml
#	packages/client/ui-settings-models/README.md
#	packages/client/ui-settings-models/README.zh.md
2026-11-20 16:08:08 +08:00
imccyu 374237f4d0 test(benchmarks): measure peak elements restyled during sidebar drag
Report the per-pass element histogram, the broadest pass and its duration, and the longest in-gesture frame gap. Guard the fixed 720px column against a single oversized pass independently of its cumulative restyle budget. Refs #8856.
2026-11-20 16:03:57 +08:00
imccyu f64b63fd9c Merge pull request #8906 from deepseek-harness/fix/fold-blank-frame-sampling
test(web): sample fold gaps after animation frame writes
2026-11-20 16:03:43 +08:00
imccyu e74d53ccbf Merge pull request #8903 from deepseek-harness/ci/bench-two-phases
ci: run the benchmark phases in parallel on the shared build and render one report
2026-11-20 16:02:52 +08:00
LegGasai beaa489423 test(voice-input): give the manual-source readiness wait the spawn budget
"pins a manual source to one preparation" waited for `ready` with
vi.waitFor's default 1,000 ms after starting a real worker subprocess.
On a loaded coverage runner that start took longer (the file ran 28 s
against 11 s on the passing run), so the case failed twice in a row on
this branch with `expected 'loading' to be 'ready'`.

The wait now takes the 10,000 ms budget that this file's other
readiness waits after a subprocess start already use.
2026-11-20 16:02:31 +08:00
CreatixChu 139c84202d Merge pull request #8716 from deepseek-harness/fix/pi-image-input-limits
接入pi更新的图片大小上限和宽高上限
2026-11-20 16:01:19 +08:00
imccyu f5b4ef4cc9 test(web): sample fold gaps after animation frame writes
Observe the rendered root anew each frame so an earlier test callback cannot count a gap corrected later in that frame. Keep the existing size/frame limits and check consecutive equal bad frames with a deterministic Chromium control. Refs #6336.
2026-11-20 15:50:49 +08:00
imccyu c0a05ff31e ci: rebuild the benchmark native addon when the restored one does not load
node-24-build can run on the self-hosted pool while the benchmarks stay on
hosted Linux; the phase jobs now load the restored Node-API addon and rebuild
it on their runner if it fails. The report spec cleans its directories with
onTestFinished, which also removes a clone the duplication gate reported.
2026-11-20 15:46:59 +08:00
imccyu fd5037037a Merge pull request #8848 from deepseek-harness/feat/ptc-default-scoped-repl
feat(ptc-runtime-node): default executionMode to persistent-in-memory with the scoped REPL
2026-11-20 15:41:55 +08:00
LegGasai 824aefbdb6 test(web): derive the token Loader fixture ports from the listener port
The case took ports 40000 to 40016 as other authorities while its
listener used an OS-assigned port. Linux assigns from 32768 to 60999 by
default, so the listener could receive one of those ports; the matching
fixture cookie then carried the listener's own cookie name, 16 others
remained, and the sign-in expired nothing where the case expects one
expiry.

The fixture now counts 17 ports down from the listener's port, so none
of them can be the listener's own authority.
2026-11-20 15:39:46 +08:00
sjw1231 b67be0905d revert(sdk): keep the workflow tool in the PTC executor overlay
The SDK PTC overlay is not shipped with @deepseek-ai/dsh and training
flips only the executor rows, so disabling workflow there would not
align any consumer. Restore the overlay, its docs, the keyless smoke
assertions, and the workflow parity exception, and drop the upgrade
guide that described the removal.
2026-11-20 15:26:32 +08:00
imccyu 0394e32ce6 ci: run the benchmark phases in parallel on the shared build and render one report
node-24-bench becomes a two-entry matrix that restores the node-24-build
output, bundles only the benchmark workers, and runs one suite phase per idle
runner: phase first holds the corpus cases and phase last the serial files
listed in SERIAL_BENCH_FILES. Each phase uploads its results.jsonl and the
measuring environment; node-24-bench-report renders one benchmark-report on a
small runner under Node type stripping and stays out of all-checks-passed.
2026-11-20 15:23:15 +08:00
LegGasai 50fde0cb2a fix(web): expire other ports' auth cookies at browser sign-in
Browsers send one hostname's cookies to every port, and each `dsh web`
port names its 30-day cookie after its own authority. A browser that
signed in to about 70 ports therefore sent more than Node.js's 16,384
bytes of request headers to every local Host and received HTTP 431
before any handler ran.

A successful root token exchange now also expires the other
authorities' generated-name cookies its request carries, except the 16
with the latest claimed issue time. Cookie names, format, lifetime and
the `/connect` exchange are unchanged, and a sign-in with nothing to
expire answers with the same single Set-Cookie value as before.

Measured with Chromium 149 against a real `dsh web`: a jar of 69
cookies (15,515 bytes of Cookie header) shrinks to 18 (3,887 bytes)
after one sign-in, and two Hosts on different ports stay signed in
together. A browser already over the limit still receives 431 until
its site data for that hostname is cleared.
2026-11-20 14:34:53 +08:00
creatixchu 851ec95aa0 Keep the message persistence declarations at their catalog locations 2026-11-20 13:52:48 +08:00
creatixchu ace8d03ab2 Expose image preparation on the shared message entry 2026-11-20 13:50:36 +08:00
creatixchu 6cbd5b94a5 Refresh the LLM event reference after image helper extraction 2026-11-20 13:44:36 +08:00
creatixchu 32367f911e Share retained image collection and request budget checks 2026-11-20 13:42:16 +08:00
std4453 69ebdc8446 Merge pull request #8359 from deepseek-harness/feat/composer-draft-history
feat(ui-conversation): recall sent drafts with ArrowUp and ArrowDown
2026-11-20 13:38:12 +08:00
imccyu f5dc990da8 ci: split coverage across two file shards and merge on a small report job (#8868)
* ci: split coverage across two file shards and merge on a small report job

Coverage runs as a three-lane matrix: two instrumented file shards that deal
path-sorted test files in snake order (DSH_COVERAGE_SHARD) and the
uninstrumented heavy suites. Each shard uploads its blobs, file list, and
durations; node-24-coverage-report re-lists the inventory, checks the shards
partition it, merges the blobs with thresholds on a 2-vCPU runner, and alone
saves the duration history. Only the report job joins all-checks-passed.

* ci: run the coverage heavy suites on the first shard and split shards by file size

The exempt heavy suites finished in about a minute on a dedicated 16-vCPU
runner, so they join shard 1 with the coverage lane's usual worker split.
Shards now deal files largest first by byte size instead of by path order,
so the heaviest suites no longer land on one shard. The coordinator repeats
each failed partition and its Vitest FAIL lines after all partitions finish,
and run-gates.spec clears DSH_COVERAGE_SHARD inherited from the CI shard.

* ci: give the coverage merge a 4 GB heap on the small report runner

Merging both shards' blobs exhausted Node's default heap of about 2 GB on
the 2-vCPU report runner (run 44664262449).

* ci: merge coverage shards on an 8-vCPU runner

The merge took 154s on the 2-vCPU report runner against ~30s on the former
16-vCPU lane (run 44667701311).

* ci: address review on the coverage shards

- Shards record their checkout root, and the merge rewrites that prefix in
  blobs from another checkout so one source file never merges as two.
- Shard blob uploads overwrite on a re-run of the same workflow run.
- The coverage report lane joins the runner-temp and compile-cache lane
  lists in ci-workflow.spec.
- The failover runbook states the self-hosted shard and exempt workers.

* ci: address the second coverage-shard review and leftover lane cleanup

- The cross-checkout blob rewrite spec builds roots and paths with join(),
  so it holds on Windows, where the rewrite prefix ends in a backslash.
- The failover runbook names the current coverage, build, consumer, and web
  snapshot checks instead of the former single-job names.
- node-24-build and node-24-consumers drop env variables that none of their
  gates read.
2026-11-20 13:03:57 +08:00
LegGasai 6a562053a8 Merge pull request #8883 from deepseek-harness/fix/composer-typed-path-order
fix(ui-conversation): keep hand-typed path references in typed order
2026-11-20 12:36:21 +08:00
creatixchu 4e4856598f Refresh the pi image limits session against master 2026-11-20 12:35:01 +08:00
creatixchu 286f2f3a20 Keep requestImageMaxBytes as the pi profile setting 2026-11-20 12:31:53 +08:00
zhc 99f8afd16f feat(ui-conversation): recall loaded prompts with ArrowUp and ArrowDown
Web 输入框不能用方向键调出刚发过的消息,修改或重发相似请求时只能重新输入。

候选菜单未处理按键、且光标位于草稿末尾时,不带修饰键的 ArrowUp 和 ArrowDown 按由新到旧的顺序,召回已加载的 Session 历史中用户发出的消息文本(user/message,source.kind 为 user)。召回直接读 Session 事件窗口,composer 不另存历史,刷新页面或切换会话后仍能召回。

- 只有空草稿才能开始浏览;只有草稿仍是上一次显示且未修改的消息时才能继续。任何编辑(包括撤销)都会结束浏览,已输入或改过的文字不会被替换。
- 每次切换都是一次普通的、可撤销的编辑;发送后撤销栈被清空时,会补上撤销基线。
- 按纯文本召回:引用 chip 以 mention 文本出现,quote 以 Markdown 出现;没有文字的消息和连续重复的消息会被跳过;命令、附件和发送失败的提交不召回。
- IME 组字、带修饰键的按键、命令提交或裁决进行中都不触发召回。

Closes #8360
2026-11-20 12:31:18 +08:00
creatixchu 2d5b444e0e Sync master into the pi image limits branch 2026-11-20 12:30:03 +08:00
Dudu-0223 2771604182 fix(extensions): 修复子代理 Client inspect 持续超时 (#8615)
* fix(extensions): route client inspect replies by session identity

* fix(extensions): preserve inspect reply wire identity in source mode
2026-11-20 04:24:19 +00:00
imccyu 40c607086c Merge pull request #8858 from deepseek-harness/perf/conversation-width-axis-restyle
perf(ui-conversation): stop restyling the transcript on every resize frame
2026-11-20 12:21:34 +08:00
Turtle c1286be3bf Merge pull request #8818 from deepseek-harness/turtle/prefer-rebase-rerere-639b61438d11
docs(agents): prefer rebase with rerere for PR branch refreshes
2026-11-20 12:17:56 +08:00
涂轶翔 2229ef90b3 Merge pull request #8889 from deepseek-harness/turtle/global-pycache-ignore-7178ab1c09f9
chore: ignore __pycache__ in every directory
2026-11-20 12:12:38 +08:00
imccyu 081855ab12 perf(web): keep sidebar resize signals out of unrelated subtrees
Keep slide distance off settled open Sidebar content and stop the Session panel docking threshold from propagating into transcript rows. Exercise the threshold in both directions with a measured, fixed 720px message column and a real moving panel. Refs #8856.
2026-11-20 12:10:31 +08:00
imccyu 0341b3b7ac perf(web): avoid synchronous layout reads during sidebar resizing
Paint a fixed tab-title fade, refresh split capacity from actual box changes instead of width-only React commits, and consume the sizes already delivered to the conversation header and width axis. Guard script-nested layout counts in the right Sidebar drag benchmark. Refs #8856.
2026-11-20 12:10:31 +08:00
imccyu aa8c72d1d2 test(benchmarks): gate transcript restyles while the right Sidebar is dragged
Move the right Sidebar drag diagnostic into the required serial browser
benchmark inventory. It budgets the elements Chromium restyles during a
drag that leaves the content width unchanged, as a dimensionless multiple
of the page's elements, and replays recorded before/after samples as its
negative control. Also type the registered-property entries in the
end-reserve style test.

Refs #8856
2026-11-20 12:10:31 +08:00
imccyu 330a13ba82 perf(ui-conversation): stop restyling the transcript on every resize frame
Register the Conversation width axis inputs and its continuously varying
derived lengths without inheritance, publish the content width and end
inset to descendants as computed lengths, and derive the Session panel's
docking step on the body as a registered 0px/1px length. A right Sidebar
drag no longer restyles the whole transcript when the resolved width is
unchanged.

Refs #8856
2026-11-20 12:10:31 +08:00
imccyu 0ee562045e ci: build once and fan web snapshots out across weighted shards (#8861)
* ci: build once and fan web snapshots out across weighted shards

* ci: stamp restored build output with the extraction time

Build-time mtimes shifted past the clock made HMR treat freshly loaded
lib/ modules as changed and reload a plugin context while it was still
loading (plugin-manager-mcp headless snapshot).

* ci(web): run the longest web snapshot files as round-robin test slices

* ci: address review on the build-once fan-out
2026-11-20 12:09:36 +08:00
Turtleandimccyu 477e646e1c docs(agents): require unset rerere.autoUpdate and translate zh note title
Co-authored-by: imccyu <[email protected]>
2026-11-20 11:59:49 +08:00
Turtleandimccyu 54f44f3681 docs(agents): prefer rebase with rerere for PR branch refreshes
Refs #8817

Co-authored-by: imccyu <[email protected]>
2026-11-20 11:59:49 +08:00
brickmaker 7598e5d640 Merge pull request #8887 from deepseek-harness/turtle/check-vitepress-temp-ignore-562122df2baf
chore(website): ignore VitePress .vitepress/.temp directory
2026-11-20 11:57:23 +08:00
TurtleandTuyixiang c7dbc538c0 chore: ignore __pycache__ in every directory
Refs #8888

Co-authored-by: Tuyixiang <[email protected]>
2026-11-20 11:38:35 +08:00
Turtleandbrickmaker 61df0dbc59 chore(website): ignore VitePress .vitepress/.temp directory
Co-authored-by: brickmaker <[email protected]>
2026-11-20 11:32:53 +08:00
lsdsjy 973fb08ee4 feat(desktop): add Settings to the application menu (#8663)
* feat(desktop): add Settings to the application menu

* refactor(desktop): align settings menu shortcut handling with closeBinding
2026-11-20 11:28:01 +08:00
LegGasai b7b18abef7 fix(ui-conversation): keep hand-typed path references in typed order
Typing a path one character at a time, such as @src/index.ts, produced
@src/indexs.t. The "." counts as punctuation outside the reference until
the next character arrives. The entity transform then extended the
reference over ".t" after collapsing the selection to the reference's
previous end, so later characters landed before the moved text.

A transform registered ahead of the entity transforms now makes that
extension with splitText and mergeWithSibling, which keep the selection
beside the moved characters.
2026-11-20 11:02:53 +08:00
CreatixChu 63f7d5fa30 Merge pull request #8714 from deepseek-harness/creatixchu/cua-system-input
feat(cua): unify system input and macOS keyboard modifiers
2026-11-20 11:02:09 +08:00
creatixchu 6eb6625063 Merge master and align scoped CUA replays with system input 2026-11-20 10:43:24 +08:00
creatixchu 236147cfac Rename CUA system input and locale modules 2026-11-20 10:40:48 +08:00
LegGasai 9c60743a11 Merge pull request #8843 from deepseek-harness/turtle/base-branch-search-e0f5af0f6b55
feat(forge): use the shared menu search in the base branch pickers
2026-11-20 10:32:00 +08:00
imccyu 10d5578ce3 Merge pull request #8857 from deepseek-harness/ci/css-selector-gate-v2
ci(css): reject costly unkeyed CSS selectors and retire existing ones
2026-11-20 02:34:03 +08:00