Commit Graph
24913 Commits
Author SHA1 Message Date
sjw1231 89e486ba14 Merge remote-tracking branch 'origin/master' into feat/apply-patch-default-on 2026-10-29 19:27:40 +08:00
Jiawei Song 92e8a6f604 Merge pull request #6747 from deepseek-harness/feat/apply-patch
feat(fs): add apply_patch multi-file editing tool
2026-10-29 19:19:12 +08:00
Ziya c36b7ef620 Merge pull request #7545 from deepseek-harness/docs/automation-event-trigger-rfc
docs(automation): propose event-triggered automation tasks
2026-10-29 04:04:29 -07:00
_Kerman 50157d0586 Merge pull request #7069 from deepseek-harness/xtr/trajectory-code-highlight
fix(trajectory): restore recorded run_code syntax highlighting
2026-10-29 18:58:26 +08:00
sjw1231 c9970438d3 Merge branch 'feat/apply-patch' into feat/apply-patch-default-on
Takes master's re-recorded plan-review, creation-recommendations, and
plugin-recommendations scenarios from the base and refreshes their headers
and schema sidecar for the enabled apply_patch tool.
2026-10-29 18:57:53 +08:00
ZiyaZhang 6d8c7c8104 docs(automation): deliver candidates and drop the end tool 2026-10-29 03:52:17 -07:00
sjw1231 5e1f146eba Merge branch 'master' into feat/apply-patch
Regenerates the client slot, Cordis API, tool, and config catalogs on the
merged tree and re-records the tool-catalog pairing.
2026-10-29 18:49:24 +08:00
_Kerman 426c231f73 Merge pull request #7399 from deepseek-harness/xtr/trajectory-failure-output
fix(trajectory): 保留失败工具的实际文本输出
2026-10-29 18:45:30 +08:00
ZiyaZhang 1209f095e4 docs(automation): specify event-turn tools, notify cards, unread marks, and storage 2026-10-29 03:39:07 -07:00
_Kerman 154263c2f1 Merge latest master into xtr/trajectory-code-highlight 2026-10-29 18:37:06 +08:00
sjw1231 14d3e53c19 feat(fs): ship apply_patch on and the observation policy off
Evaluation on the shipped compositions decided the defaults: the `dsh-base`
`tool-fs` row and the Web `standard` preset enable apply_patch, keeping the
SDK and Desktop `standard` tool sets equal (the SDK PTC overlay keeps the
base row while the Desktop PTC preset lists its own, which the parity
exceptions record); the `fs-observation-policy` row ships `disabled: true`,
so write, edit, and apply_patch mutate unconditionally in every profile, and
the package is classified as an optional product package.

The write and edit guidance stops citing the policy as the default and the
apply_patch guidance asks for enough hunk context instead of a prior read.
The two recordings that capture a policy refusal re-enable the row through a
per-scenario runtime.cordis.yml; the fixed-budget compaction scenarios pin
`applyPatch: false` so their recorded thresholds hold; every other sidecar
and recorded header follows. An upgrade guide records the default change.
2026-10-29 18:36:52 +08:00
sjw1231 ea4837abb1 feat(fs): keep apply_patch opt-in and the observation policy mounted
This pull request lands the tool; switching the shipped defaults is a
separate pull request stacked on it. Every shipped `tool-fs` row states
`applyPatch: false`, the `fs-observation-policy` row stays mounted, the
write, edit, and apply_patch guidance names the policy, and every recorded
expectation outside the apply-patch scenarios returns to the master
baseline. The upgrade guide, the parity exception, and the optional
classification of the policy package move to the stacked change.
2026-10-29 18:36:31 +08:00
sjw1231 fe81bef43e test(web): count apply_patch in the collapse-timing tool-update goldens 2026-10-29 18:30:02 +08:00
_Kerman bcaa348038 Merge pull request #7490 from deepseek-harness/xtr/trajectory-subcall-folding
feat(trajectory): add independent subcall folding
2026-10-29 18:29:58 +08:00
ZiyaandMagolor 341ea6eea4 feat(schedule): integrate standalone tasks with the existing WebUI (#6189)
* feat(schedule): manage Host tasks with typed timing and delivery targets

* fix(schedule): align task creation button halves

* refactor(schedule): remove obsolete Session reminder runtime

* refactor(schedule): simplify task UI and preserve keyboard navigation

* fix(schedule): address task delivery and interface review findings

* test(schedule): normalize bundle module paths on Windows

* fix(schedule): cover reserved targets and trim unrelated changes

* refactor(schedule): minimize task management changes after rebase

* test(schedule): align rebased fixtures and documentation records

* test(schedule): refresh SDK scenarios added on master

---------

Co-authored-by: Magolor <[email protected]>
2026-10-29 18:11:48 +08:00
Turtle fdd9f9f6d8 Merge pull request #7527 from deepseek-harness/turtle/load-earlier-broken-ca4d9cb21ffc
fix(ui-chat): keep Load earlier working when a prepended page hides the system prompt
2026-10-29 17:55:00 +08:00
ZiyaZhang b0c374d550 docs(automation): judge event tasks in their own Session 2026-10-29 02:53:22 -07:00
sjw1231 d8243a3f52 feat(base): enable apply_patch on the dsh-base tool-fs row
The SDK/Desktop parity check requires the `standard` tool sets to match, so
the base row enables apply_patch like the Web standard preset; the SDK PTC
overlay keeps that row while the Desktop PTC preset lists its own, which the
parity exceptions now record. fs-observation-policy, no longer mounted by
default, is classified as an optional product package.

Every headless, SDK, and ACP recording follows: sidecars and recorded headers
gain the apply_patch schema, the fixed-budget compaction scenarios pin
`applyPatch: false` so their recorded thresholds hold (model-switch-notice and
session-resume own their schema sidecars again), the parent presets that
borrow the default pin mirror the base row, and the pwsh and Python PTC pins
carry the schema and guidance.
2026-10-29 17:34:25 +08:00
sjw1231 e6f54cecbb Merge branch 'master' into feat/apply-patch
Keeps the apply_patch toolview registration with master's file-menu inject,
takes master's shortened slot JSDoc, re-adds the seven filesystem type-equiv
manifest entries, regenerates the event matrix and client catalogs, moves the
fs-observation-policy upgrade guide under v0.2.2-alpha.2 with the matching
fs-patch version, and refreshes the two SDK scenarios master added for the
write and edit guidance change.
2026-10-29 17:00:06 +08:00
ZiyaZhang 3366284d6e docs(automation): propose event-triggered automation tasks 2026-10-29 01:46:26 -07:00
sjw1231 fe5450b152 feat(fs): ship without the observation policy and enable apply_patch in the Web standard preset
Evaluation on the shipped Web composition decided the defaults: the
`fs-observation-policy` row in dsh-base ships `disabled: true`, so write,
edit, and apply_patch mutate unconditionally in every profile; the Web
`standard` preset lists apply_patch; and the tool-fs `applyPatchGuard` switch
is gone, apply_patch always consulting the fs/* intent waterfalls like the
other mutating tools.

The write and edit guidance stops citing the policy as the default, and the
apply_patch guidance asks for enough hunk context instead of a prior read.
The two recordings that capture a policy refusal (fs-policy-reject and
apply-patch-rejected) re-enable the row through a per-scenario
runtime.cordis.yml; every other sidecar follows the prompt change, and the
Web standard-preset recordings gain the apply_patch schema. An upgrade guide
records the default change.
2026-10-29 16:38:42 +08:00
EricMoin 5444d2220c fix(web): 修复手机端插件发现页工具栏溢出 (#7542)
* fix(ui): wrap plugin discovery toolbar

Keep search, label filters, sorting, and refresh reachable on narrow screens.

Refs #6097

* test(plugin-market): cover responsive discovery toolbar

* test(plugin-market): clarify fixture cleanup callback
2026-10-29 16:31:42 +08:00
TurtleandMagolor b45eee4fca docs(ui-chat): describe the hidden prompt node, not a card
Refs #7526

Co-authored-by: Magolor <[email protected]>
2026-10-29 16:13:02 +08:00
Yichen Jiang 548fa6b843 Merge pull request #7531 from deepseek-harness/worktree/hfai-session-request-header
feat(llm): allow plugins to prepare pi-ai request headers
2026-10-29 16:03:19 +08:00
Yichen Jiang d54475a681 fix(llm): preserve header overrides and safe failure diagnostics 2026-10-29 15:52:41 +08:00
Kexin Liu 9e52bf1009 Merge pull request #7518 from deepseek-harness/perf/client-modules-entry-name-index
perf(client-modules): index Loader entries once per flush
2026-10-29 15:49:22 +08:00
Yudong Han 821043d6bf Merge pull request #6759 from deepseek-harness/feat/workspace-tree-per-pane
feat(sidebar): 文件预览旁按分栏保留工作区目录树
2026-10-29 15:45:45 +08:00
liukx0205 8b1e5e7d88 fix(client-modules): contain flush enumeration failures 2026-10-29 15:37:23 +08:00
Kexin Liu 984c0f62b6 Merge pull request #7532 from deepseek-harness/perf/assistant-visibility-cache
perf(web): 缓存 Assistant 块可见性,减少流式组装开销
2026-10-29 15:36:35 +08:00
yudshj 13e8ca59a4 fix(sidebar): 仅在标签已显示时闪烁并减弱光晕 2026-10-29 15:32:17 +08:00
yudshj 4b11531c86 fix(sidebar): 修正柔光反馈、停靠展开和铺满焦点交接并精简树接口
连续揭示同一分栏时保留新一次柔光;精简文件树接口、测试与文档。
2026-10-29 15:32:17 +08:00
yudshj a7d2b5c214 feat(sidebar): 文件菜单支持在侧栏或浮窗中打开并移动已有标签
openResource、openResourceIn 与 tab.actions.openResource 新增可选
destination: 'sidebar' | 'float',以单条布局历史揭示目标宿主中的副本、
把另一宿主中的副本连同 tab id 与 occurrence 移过去,或在该宿主新开。
未传 destination 时落位规则不变。open-in-app 的文件菜单改为传
destination 而非来源 paneId,修复浮窗内文件菜单因浮动 paneId 抛出
openTab requires a docked pane 的问题。
2026-10-29 15:32:17 +08:00
yudshj 2e6370fe1d feat(sidebar): 按分栏保留文件树并由挂载插件处理打开 2026-10-29 15:32:16 +08:00
yudshj c160db284e fix(hygiene): 完整读取仓库的 Git 跟踪文件列表 2026-10-29 15:30:54 +08:00
Yudong Han 568f93e617 Merge pull request #7529 from deepseek-harness/fix/issue7241-preview-scroll
fix(artifact): 刷新后保留文本预览的阅读位置
2026-10-29 15:27:46 +08:00
EricMoin 9b2bc5a783 fix(web): 修复手机端模型目录输入框挤压 (#7512)
* fix(web): prioritize model ids in narrow rows

Keep the model ID in the compact row and expose its display name when expanded. Preserve wide layouts and input focus while resizing.

Fixes #7511

* test(desktop): wait for supervised network recovery

* fix(web): keep folding rows visible through the viewport

* test(web): measure fold movement within the viewport

* test(snapshot): await cancelled job settlement before retry

* fix(web): stabilize model name focus across responsive layouts

* revert: remove unrelated CI fixes from model layout PR

Revert d1c8ef1de1a, 1050ece1980, 6f2f0906341 and 8f7efbca6b0. Preserve the responsive model layout and its review fixes.

* test(web): align DeepSeek Messages model row snapshot
2026-10-29 15:20:12 +08:00
yudshj 004d46fed6 test(artifact): drop new unknown cast in text preview spec 2026-10-29 14:58:10 +08:00
imccyu 4d5945cb72 Merge pull request #7523 from deepseek-harness/07akioni/show-devtools-menu
fix(desktop): 在应用菜单显示 DevTools 开关
2026-10-29 14:51:22 +08:00
liukx0205 4955eaa680 perf(web): cache Assistant block visibility during streaming 2026-10-29 14:49:31 +08:00
Yichen Jiang a05a0d02fa feat(llm): allow plugins to prepare pi-ai request headers 2026-10-29 14:42:09 +08:00
TurtleandMagolor ab627b91ce fix(ui-chat): rebuild the hidden prompt card through chatNode
Refs #7526

Co-authored-by: Magolor <[email protected]>
2026-10-29 14:42:05 +08:00
yudshj 1598d8113b fix(artifact): keep text preview reading position across refresh
Restore the larger of the current and remembered offsets, reading further
pages until the remembered offset is reachable. Scroll events that only pin
the body to the end of shorter content no longer overwrite the remembered
offset, and the body disables scroll anchoring so the offset stays a pixel
distance.

Renderers declare sourceLines; a line navigation in a renderer without it,
such as Markdown, is answered without moving instead of staying pending.

Refs #7241
2026-10-29 14:40:14 +08:00
07akioni bc705e0ff1 fix(desktop): use developer tools as the localized menu name 2026-10-29 14:31:22 +08:00
TurtleandMagolor 19956a1da9 fix(ui-chat): hide a shown system prompt card instead of withdrawing it
A prepended page with a surface replacement before the window start makes
the system prompt order unknown. The system-message Definition returned no
node for a card it had already shown, so the assembler threw during flush
and Load earlier stopped working until reload.

Fixes #7526

Co-authored-by: Magolor <[email protected]>
2026-10-29 14:11:13 +08:00
07akioni b83f38a44b fix(desktop): group DevTools before quit and isolate shortcuts 2026-10-29 14:10:47 +08:00
_Kerman 728bf7e71c fix(trajectory): validate recorded language hints and cover review cases 2026-10-29 14:09:29 +08:00
07akioni b5be2c0339 fix(desktop): localize DevTools menu labels 2026-10-29 14:03:00 +08:00
_Kerman d10576ea02 fix(trajectory): restore run_code syntax highlighting 2026-10-29 14:02:10 +08:00
07akioni 4214f86da3 fix(desktop): show DevTools toggle in application menus 2026-10-29 13:40:11 +08:00
Logos 1a8939248a Merge pull request #6955 from deepseek-harness/feat/python-sdk-slash-commands
在现有 run() 接口上,为 Python 和 TypeScript SDK 接入与桌面端共用的原生 /compact、/permission <preset>、/plan 和 /goal 命令,沿用内容块数组支持图片输入,并统一返回原有的 RunResult。带任务的计划命令等待模型活动、审阅及获批后的执行;目标创建和恢复等待目标终止及最后回复。保留普通输入的排队语义,完善附件校验、错误处理、并发与取消行为,并补齐运行时和快照回归测试。
2026-10-29 13:36:04 +08:00