Commit Graph
7880 Commits
Author SHA1 Message Date
imccyu bd1d6dcd0c Merge pull request #8504 from deepseek-harness/feat/client-config-live-update
feat(client): sync volatile plugin config to the browser
2026-11-17 16:08:14 +08:00
LegGasai 4c74abdbad Merge pull request #6372 from deepseek-harness/fix/web-unresolved-at-mention
fix(web): render @ mentions as chips only for existing paths
2026-11-17 16:02:24 +08:00
Kexin Liu 9c8d8c3932 Merge pull request #8391 from deepseek-harness/feat/session-persistence-sqlite
feat(session): 可选启用 SQLite 并在打开时导入 JSONL
2026-11-17 07:36:29 +00:00
Turtle aed2e33042 Merge pull request #8620 from deepseek-harness/turtle/plugin-skill-engines-7b40b97ec8b7
feat(tool-cordis): expose the running DSH version to plugin authors
2026-11-17 15:19:45 +08:00
LegGasai 6f0445e307 Merge pull request #8625 from deepseek-harness/worktree/session-panel-forge-cards-958b38
feat(forge): compact change request cards, and worktrees created only for the first message
2026-11-17 15:15:22 +08:00
liukx0205 fa69e91481 Merge remote-tracking branch 'origin/master' into feat/session-persistence-sqlite 2026-11-17 15:12:22 +08:00
LegGasai e20f9b9e1a fix(forge): create a requested worktree for the first message only
The inbox listener of the forge panel held a turn for every inserted
message. A notice queued for the next step, such as the approval policy
notice that follows a switch to or from full access, opens no turn, so
the hold only created the requested worktree before any message was
sent. The same listener started the removed-worktree check for such
notices.

Hold only for a message in the next-turn queue. A steered message that
wakes an idle Agent keeps the creation at the first step proposal.
2026-11-17 14:56:33 +08:00
winewill d76f5cada3 Merge pull request #8548 from deepseek-harness/turtle/fix-credit-toast-position-aaf5e1935b33
fix(web): give account notifications their own sidebar row
2026-11-17 14:52:11 +08:00
Turtle 91307e6630 feat(tool-cordis): expose the running DSH version to plugin authors
Add a Host Runtime.getVersion inspect provider and a dsh-doc reference
on reading that version and writing engines.dsh.

Refs #8618
2026-11-17 14:49:44 +08:00
LegGasai abc9575eea feat(forge): draw change requests as compact cards in the Session panel
Each change request is one 36px line on the panel's row columns in a
filled block: state glyph, title, number, and checks outcome, with the
actions menu on hover and the expansion toggle in the end column. A
press on the line opens the change request's changes in the right
sidebar; the modifier key, the middle button, and a change request no
provider serves or has read open the host's page. The hover card names
the full title, the branches, and the status in words.

The list shows three cards and then the panel's fold control. The card
fill is the platform fill, which stands apart from the panel's surface
in the dark theme, where the card fill is nearly that surface's color.
Check outcomes share one ring, so a failed check is a ringed cross.
2026-11-17 14:48:15 +08:00
LegGasai 6db6ff9be0 fix(ui-reference): retry a rejected mention stat and record presence trade-offs
A stat that rejects left its Session and path marked as outstanding, so the
mention stayed original text until reload. The flag now clears on rejection
and the rejection stays unhandled, so the Remote assembly fault is reported.

The README states why presence does not read the `file` resource through
`useResource`, that a symbolic link counts as present, and that a picked
candidate is confirmed only for the same Session and page load. The module
comment states that outstanding stats are unbounded. `openReference` and
`presenceFor` reuse `mentionPath` and `MentionSessionId`, and the Web scenario
drops a fixture write the scaffold already performs on refresh.
2026-11-17 14:15:01 +08:00
Dudu-0223 0fdcff09b1 Merge pull request #8424 from deepseek-harness/fix/subagent-human-message
fix(subagent): 区分 agent 任务与真人消息
2026-11-17 14:06:25 +08:00
Dudu-0223 327d5de8d6 Merge pull request #8121 from deepseek-harness/fix/cua-output-failures
fix(ptc): 输出超限后截断并继续执行
2026-11-17 13:59:03 +08:00
Chinesezjc a7e061bbff Merge pull request #8339 from deepseek-harness/fix/ci-907c47c-fold-settle-wait
test(web): let the sampled fold transition settle before the next posture change
2026-11-17 12:51:36 +08:00
LegGasai 014d02b96c Merge remote-tracking branch 'origin/master' into fix/web-unresolved-at-mention
# Conflicts:
#	packages/client/ui-chat/tests/user-content.client.spec.tsx
#	packages/client/ui-conversation/tests/user-text-component-fixture.client.tsx
#	packages/client/ui-reference/src/client/FileReference.tsx
#	packages/client/ui-reference/src/client/index.ts
#	packages/client/ui-reference/tests/file-reference.client.spec.tsx
2026-11-17 12:50:52 +08:00
LegGasai 58d8ccc11f Merge pull request #8256 from deepseek-harness/refactor/llm-route-credential
refactor(llm): publish DeepSeek route credentials through ctx.llm
2026-11-17 11:09:59 +08:00
imccyu 20b83df745 Merge pull request #8445 from deepseek-harness/chore/cordis-loader-rc9
chore(cordis): sync loader 1.0.0-rc.9 and include 1.2.0
2026-11-17 10:51:08 +08:00
LegGasai 0c8078e196 feat(forge): name worktree branches, start them from remote branches, and show changes being read (#8536)
* feat(forge): name worktree branches, start them from remote branches, and show changes being read

The New Session worktree option's base menu now searches local branches and
each remote's branches, pins the current branch and every remote's default
branch, and names each remote group by its repository. Its last row opens a
dialog that names the new branch, starting from `worktreePrefix` and checking
Git's branch-name rules; the Host refuses an invalid or taken name. A request
records the full ref of its base and the optional name; every attempt uses the
name.

A remote-tracking base is fetched first: the worktree service gains a
`fetch` request field and a `fetch` phase, fetching only that branch without
tags. A failed fetch leaves the message waiting with Retry, Use the last
fetched version, and Continue without a worktree; a taken name offers Rename.

While the changes view reads changes it has not shown yet, it says
"Reading changes" above file card placeholders, and the files menu names no
count.

* fix(worktree): forward only the declared create_worktree arguments

The create_worktree parameter object is open, and the tool passed it to the
worktree runtime unchanged. Now that a runtime request can ask to fetch, an
undeclared `fetch: true` from the model would have fetched, or refused a local
`from`. The tool now forwards only `name` and `from`, so it never fetches.

* docs(forge): say that only generated worktree branch names come from the Session id

* fix(forge): keep the collapsed change request status on one line

In the Session panel the collapsed card's number line kept every part at
full width inside a clipping row, so a narrow panel cut the most urgent
flag off without an ellipsis, such as "有冲突" after "3 项检查失败".

The number and status now form one MarqueeText line as wide as the row.
While the line with failed checks does not fit, they take the shorter
wording without their count; a line that still does not fit ends in an
ellipsis and crawls into view with the title while the pointer rests on
the card's head. The line measures again when its width or the fonts
change. Expanded cards keep their branch names as before.

* fix(forge): hide remote credentials and read the branch a tag shares its name with

The base menu named an unrecognized remote's group by its fetch URL as
`git remote -v` prints it, so a token in the URL, such as
`https://oauth2:[email protected]/...`, reached the browser and showed
in the menu. The group now shows the URL without its user name and password.

Inspection read the checked-out branch with `symbolic-ref --short HEAD`,
which prints `heads/main` while a tag is also named `main`; the New Session
option then requested `refs/heads/heads/main` and every worktree attempt
failed. Inspection now reads the full ref and takes the name under
`refs/heads/`, so the option, the pinned current branch, and the checkout
row name `main`. HEAD that names a ref outside `refs/heads/` reads as no
branch.

* test(worktree): set up nested remotes and line endings the CI runners' Git accepts

Git 2.55 on the CI runners refuses `git remote add team` next to an
existing `team/fork` remote; the check runs only in `git remote add`, so
the longest-remote case now writes the second remote with `git config`, as
configuration written earlier or by hand holds it. The test clone also
turns off `core.autocrlf`, as `repository` does, because the Windows
runner's global setting checked the fetched file out with CRLF.
2026-11-16 16:13:00 +00:00
LegGasai d36dbee3d6 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	docs/capability-seams.i18n.yaml
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
#	packages/web/web-deepseek-api/src/index.ts
2026-11-16 21:23:43 +08:00
Ziya ffea1cb57a Merge pull request #8540 from deepseek-harness/feat/schedule-weekly-review-recommendation
feat(ui-schedule): recommend a weekly review task
2026-11-16 04:17:38 -08:00
ZiyaZhang 8cbd73efff feat(ui-schedule): scope the weekly review to the user's own work
The weekly review request now asks for what the user did in the current
workspace this week. In a code repository it looks only at the user's
commits this week and the pull requests the user opened that merged this
week or are still open, instead of every commit and pull request in the
repository. The tile description follows the same scope in all eight
languages.
2026-11-16 03:48:59 -08:00
Huo Yaoyuan 077a9cde0b feat(cua): add toggleMouse with initial Windows support (#8425)
* feat(cua-windows): implement window-level mouse button toggles

* Update guidance

* Fix prompt test
2026-11-16 18:10:15 +08:00
Shigma a99b811912 Merge remote-tracking branch 'origin/master' into chore/cordis-loader-rc9
# Conflicts:
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
2026-11-16 18:05:14 +08:00
Dudu-0223 dacd257e77 Merge master and resolve subagent context snapshot conflicts 2026-11-16 17:42:38 +08:00
Dudu-0223 f70ec1ac46 Merge pull request #8348 from deepseek-harness/feat/subagent-report-guidance
feat(subagent): tell delegated agents to report results with send_message
2026-11-16 09:35:17 +00:00
Dudu-0223 1de452556a Merge remote-tracking branch 'origin/master' into pr8424-delegation-context
# Conflicts:
#	scripts/snapshots/python-sdk-single-exe/advanced/session.1.v4.jsonl
#	scripts/snapshots/python-sdk-single-exe/advanced/session.2.v4.jsonl
2026-11-16 17:31:35 +08:00
Shigma 897de8769b fix(app-boot): audit rejected entry options and isolate dump snapshots 2026-11-16 17:11:48 +08:00
Turtle 4002caa7ea fix(web): float account notifications over the session list
The settings.notice row takes no height and anchors its content above the
launcher row at full width, so a notification no longer shortens the
session list while status indicators still cannot narrow it.
2026-11-16 16:53:15 +08:00
Turtle fe1d4c2cd7 fix(web): keep the notification slot name and bound card copy height
Keep settings.launcher.notifications so existing plugins still register
into it. Long notification copy scrolls inside the card so the account row
stays in short windows. Cover the shell's settings.notice declaration and
document it in the settings shell README.
2026-11-16 15:59:43 +08:00
Turtle 4ba4a5eb54 fix(web): give account notifications their own sidebar row
Status indicators beside the account launcher narrowed the notification
card because it was positioned inside the launcher. The settings shell now
renders a settings.notice row above the launcher row, and account settings
places the notification slot (renamed settings.notice.notifications) there.

Refs #8547
2026-11-16 15:49:17 +08:00
Shigma a85b27fdd4 fix(cordis): address loader rc.9 review and CI findings 2026-11-16 15:46:58 +08:00
ZiyaZhang 3e42e0f617 feat(ui-schedule): recommend a weekly review task
The empty automation page lists an eighth built-in recommendation,
Weekly review, after Daily brief. Its request asks for a Friday 16:00
task that reviews the week's changes in the current workspace, lists
unfinished work and what to do first next week, covers commits and pull
requests when the workspace is a code repository, and summarizes in the
conversation without changing workspace files. Its tile draws a
calendar with a check in the style of the other glyphs, and the copy
covers all eight UI languages.
2026-11-15 23:26:13 -08:00
mektpoy df7a21330c fix(client): keep draft attachments across session switches
切到另一个会话再切回时,附件栏被清空而文字保留(#5070):会话 scope 销毁时
会释放退役输入框持有的全部附件并回收图片预览。

- ConversationController 记录每个草稿附件所属的会话;退役的输入框只在发送在途
  或会话已删除时释放附件,其余情况保留登记,下一个输入框按顺序接回。
- 切走期间上传照常进行,失败的上传切回后仍可原位重试。
- 没有挂载输入框时被删除的会话,由 hub 的会话目录监听释放其附件。
- 刷新不恢复附件:pagehide 时为仍持有附件的会话写标记,重新挂载且没有已登记附件时
  提示「部分草稿附件已失效,请重新添加」;往返缓存恢复时清除标记。
2026-11-16 15:17:55 +08:00
LegGasai a1c0299977 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential 2026-11-16 15:17:39 +08:00
LegGasai 251e3300a4 Merge pull request #7990 from deepseek-harness/feat/session-panel-sections
feat(panel): move change requests, jobs, and subagents into the Session panel
2026-11-16 14:45:47 +08:00
LegGasai 8eda7cfb7c Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	scripts/empty-catch.baseline.json
2026-11-16 14:36:05 +08:00
Dudu-0223 8ca5019928 fix(subagent): state human authorship in delegation context
Replace the per-message human prefix with one sentence in the child delegation context, so direct human messages keep their original content in logs, UI, titles and exports.
2026-11-16 14:28:35 +08:00
Dudu-0223 08e5a9b059 Merge remote-tracking branch 'origin/master' into fix/cua-output-failures
# Conflicts:
#	apps/cli/tests/profiles/cua-mcp/expected/tools.json
#	packages/core/tool-executor-ptc/README.i18n.yaml
#	packages/ptc-runtime/ptc-runtime-node/README.i18n.yaml
#	packages/ptc-runtime/ptc-runtime-node/README.md
#	packages/ptc-runtime/ptc-runtime-node/README.zh.md
#	packages/ptc-runtime/ptc-runtime-node/src/bootstrap.ts
#	packages/ptc-runtime/ptc-runtime-node/src/process.ts
#	packages/ptc-runtime/ptc-runtime-node/src/protocol.ts
#	packages/ptc-runtime/ptc-runtime-node/tests/bootstrap.spec.ts
#	snapshots/sdk/cua-run-code/tool-schemas.expected.json
#	snapshots/session/cua-run-code-ptc/system-prompt.expected.md
#	snapshots/session/cua-run-code-scoped/tool-schemas.expected.json
#	snapshots/session/cua-run-code/tool-schemas.expected.json
#	snapshots/session/ptc-persistent-scoped/tool-schemas.expected.json
#	snapshots/session/ptc-persistent/tool-schemas.expected.json
#	snapshots/session/ptc-reset/tool-schemas.expected.json
#	snapshots/session/ptc-scoped-repl/tool-schemas.expected.json
#	snapshots/session/ptc-timeout-fallback/tool-schemas.expected.json
2026-11-16 12:43:20 +08:00
Turtle 843fc0fa24 Merge pull request #8428 from deepseek-harness/turtle/clean-empty-catch-69cac4a2ccee
fix: retire the legacy empty-catch baseline
2026-11-16 12:16:11 +08:00
Turtle cb92e8d6cf Merge remote-tracking branch 'origin/master' into turtle/clean-empty-catch-69cac4a2ccee 2026-11-16 12:01:22 +08:00
Turtleandoraluben 79487993e7 docs(sidebar-right): describe the scrolling Start guide; restore the e2e viewport in finally
Co-authored-by: oraluben <[email protected]>
2026-11-16 10:51:22 +08:00
Turtleandoraluben 00b9fef246 fix(sidebar-right): pad the scrolling Start guide and cover it in e2e
Co-authored-by: oraluben <[email protected]>
2026-11-16 10:40:18 +08:00
LegGasai 1d200479dc refactor(primitives): place compact hover cards by CSS anchor positioning
The compact card's side and bottom hold were computed in script from the
window size and the anchor's rect, measured again after the card mounted, and
kept current by scroll and resize listeners. The stylesheet now anchors the
card to its wrapper: beside the end edge, else the start edge, each also with
the card's bottom held at the viewport's margin.

A card that fits on neither side used to sit over its anchor, which left the
row under it unclickable. It now opens below the anchor from the anchor's
start edge, or above it; a card too tall for either stays in the viewport's
bottom end corner.
2026-11-15 18:34:14 +08:00
LegGasai 26a0c6ae02 test(web): count the marquee's frame callbacks without an unknown cast
The sidebar marquee test kept its frame counter on window through an
assertion to unknown, which the no-unknown-casts gate rejects.
2026-11-15 18:07:36 +08:00
LegGasai bc75e0ed84 perf(primitives): carry the hover marquee by a CSS animation instead of a frame script
The marquee moved its text by setting the scroll position in a
requestAnimationFrame callback on every frame of the travel. The text now
sits in an inner span that a keyframe animation translates: the handler
measures the overflow once on entry and gives the stylesheet the distance and
the time it takes at 30px/s. A delayed zero-length animation lifts the end
fade at the far edge, and reduced motion is a media query. Speed, the far-edge
hold, the one-step return, the 8px threshold, and the touch exclusion stay.
2026-11-15 17:26:29 +08:00
LegGasai 0277971e87 refactor(session-panel): offer row hover details as a panel Factory with data props
The details a panel row shows in its hover card took React nodes for the
title, lines, and measure icons and lived in ui-primitives. The three lists
pass strings for the first two and one of two icons, so the component moves
to ui-session-panel as the conversation.session.panel.details Component
Factory: props are data, and a measure names its kind, which selects the icon.
2026-11-15 17:04:30 +08:00
LegGasai e66b080437 feat(jobs): fold each job group past five rows, newest live jobs first
The Background jobs section showed every live job and, once nothing ran,
every settled one, which filled the panel. Each of its two groups now
shows five rows followed by the panel's fold control, "Show N more
running" or "Show N more finished", once that holds back two rows or
more. Each fold is kept per Session, across hiding the panel, and Clear
folds the settled group to five rows again.

Live rows now list the most recently started job first instead of the
earliest, so the rows a group holds back are the ones that have run
longest, not the ones that just started.

An expanded row observes its output only while its row shows: folding it
out of the list, or closing the settled group over it, stops the stream,
and showing the row again reopens it.
2026-11-15 16:22:36 +08:00
LegGasai 66bf0a7178 feat(agent-team): order shared tasks by state and fold the list past five
The Shared tasks section listed every task in source order, so completed
tasks often came first and a long plan filled the panel. It now lists the
tasks in progress, then the pending ones, each in source order, then the
completed ones with the latest in source order first, and shows five
tasks followed by the panel's fold control once that holds back two tasks
or more. The fold is kept per Session, across hiding the panel.

A task carries no completion time, so source order stands in for it
among the completed tasks. The recorded task list moves the completed
task after the pending ones.
2026-11-15 16:22:35 +08:00
LegGasai d4519bb470 feat(subagent): list running subagents first and fold the list past five rows
The Subagents section listed every direct subagent in creation order, so
a Session with many of them filled the panel and put the newest at the
bottom. It now lists running subagents first, the most recently started
first, then the others by their Session's last update, and shows five
rows followed by the panel's fold control once that holds back two rows
or more. The fold is kept per Session, across hiding the panel; an
expanded branch's own rows all show.

A subagent sorts by when its parent created it while the Client holds no
turn timing for it, or only the stand-in row of a Session outside the
Host list, whose update time is 0. The e2e found that case: catalog-only
members all tied at 0 and kept creation order.
2026-11-15 16:22:34 +08:00
LegGasai 6df95fd991 feat(session-panel): offer a fold control for long panel lists
A section's list could grow without bound and push the later sections
out of the panel's height. The panel now offers the control such lists
end with as the `conversation.session.panel.fold` Component Factory: one
more row of the list that shows the rows held back or folds them again.

The control takes data and a callback only: whether the list shows every
row, the visible text and accessible name for that state, and the toggle.
It renders a row on the panel's row marks, `data-session-panel-row="fold"`,
in the 12px tertiary type of the section counts with a 14px chevron in
the icon column. Each section keeps its fold state and decides which rows
show.

A Factory fits here although rows are contributor markup: the control is
the same in every section, and three copies of it would be clones.
2026-11-15 16:22:11 +08:00