Commit Graph
28580 Commits
Author SHA1 Message Date
LegGasai b87a481bcf Merge pull request #8323 from deepseek-harness/fix/forge-github-status-batches
fix(forge): bound status queries, share polls, and drop repeated reads
2026-11-19 17:23:51 +08:00
Turtle 6e2fa257f0 Merge pull request #8820 from deepseek-harness/turtle/core-guidelines-scope/dsh-core-guidelines-83ad6c5e5a01
docs: state the status and scope of DSH Core Guidelines
2026-11-19 17:12:15 +08:00
Yudong Han f868dc2718 Merge pull request #8461 from deepseek-harness/feat/content-preview-values
feat(client): preview compaction summaries in the sidebar
2026-11-19 17:09:01 +08:00
Dudu-0223 d72d80bea7 fix(subagent): 恢复共享并发上限和容量(#8698) (#8809)
* fix(subagent): restore shared concurrency guidance from #8698

Restore the change removed when master was rolled back.

Cherry-picked from 014aa1659bcd0ba3cf5d2b4c096773f01f56ec50.

* refactor(ui-tool): clarify subagent member parsing
2026-11-19 08:58:42 +00:00
Turtle 2a807b4a3b docs: align business-domain placement and tighten scope wording 2026-11-19 16:55:26 +08:00
yudshj 6329d3ae52 Cover compaction summary content, fallback and tab title 2026-11-19 16:51:52 +08:00
yudshj 8256284aca Merge remote-tracking branch 'origin/master' into rewrite/pr8461-master
# Conflicts:
#	packages/client/ui-chat/README.i18n.yaml
2026-11-19 16:47:54 +08:00
LegGasai a35ced7385 Merge pull request #8609 from deepseek-harness/worktree/session-panel-stay-pinned-128657
feat(session-panel): dock beside the transcript at narrower widths and reorder sections
2026-11-19 16:46:48 +08:00
Turtle 498b681a09 docs: state the status and scope of DSH Core Guidelines 2026-11-19 16:40:57 +08:00
yudshj 1a3d9387f3 Record the recovery policy for window-local sidebar tabs 2026-11-19 16:40:02 +08:00
Dudu-0223 c687affe65 chore(session-query): remove trailing blank line from observation test (#8814) 2026-11-19 08:39:12 +00:00
yudshj ce5bc3df56 Retain transient content across sessions and close its tabs on reload 2026-11-19 16:38:47 +08:00
Turtle 4d4e0b6be1 Merge pull request #8767 from deepseek-harness/turtle/dsh-core-guidelines-83ad6c5e5a01
docs: add DSH Core Guidelines
2026-11-19 16:35:34 +08:00
Dudu-0223 4ae3ccffba fix(team): 明确任务写入范围与 claim 诊断 (#8709)
* fix(team): clarify task scopes and claim diagnostics

* docs(team): shorten edit write scope guidance

* test(team): cover write scope edits through the task tool
2026-11-19 16:09:51 +08:00
yudshj ed08ff8364 Open typed preview content in the sidebar or a floating panel 2026-11-19 16:07:39 +08:00
LegGasai 5a3e2ccb57 Merge remote-tracking branch 'origin/master' into worktree/session-panel-stay-pinned-128657 2026-11-19 16:05:24 +08:00
LegGasai 0750436cb4 feat(sdk): report why a session agent was disposed (#8738)
* feat(sdk): report why a session agent was disposed

A request for a session whose agent left the registry now states whether the
whole runtime is shutting down, the SDK server is shutting down, or only the
agent loop was unloaded. During runtime shutdown it names the last process
event observed before teardown; for an agent-loop unload it gives the time and
the plugin whose unload began first. The liveness check reads the registry as
optional, so both stages of root disposal report the same failure.

Refs #8737

* fix(sdk): keep the runtime observation out of the plugin entry exports

The static gates reject a new read of the Cordis root context, a value export
from a function plugin entry, and new assertions to unknown. The plugin entry
now passes the server an observation built from the root fiber it already
holds, the helper lives in the internal process-events module, and the new
tests complete the handshake instead of casting the server.

Refs #8737

* fix(sdk): keep the process-event record from throwing and state the unload origin as an observation

A rejection value without a string form made the failure text throw inside a
prepended listener, which would end the dispatch before the listener that owns
the event. The text now falls back to a fixed marker. The plugin named for an
agent-loop unload is the first one unloading at that time, which overlapping
unloads can make unrelated, so the message and README say that.

Refs #8737

* feat(python-sdk): log the runtime's stderr lines as they arrive

The runtime writes its fatal report, including the stack of an unhandled
rejection that ends the process, to its own stderr. The SDK kept those lines
in memory and attached them only to initialization, timeout, and transport
failures, so a host saw none of it for an ordinary JSON-RPC error. Each line
now also goes to the Python logger deepseek_harness.runtime at INFO.

Refs #8737
2026-11-19 07:59:52 +00:00
yudshj 34897717d4 Limit sidebar preview changes to compaction summaries 2026-11-19 15:59:00 +08:00
winewill 6fcc447c7f Merge pull request #7970 from deepseek-harness/fix/windows-uninstall-registry
fix(desktop): clean Windows registrations and report uninstall failures
2026-11-19 15:30:11 +08:00
LegGasai 4f611e1cfa test(forge-panel): measure drag positions after the collapsed-lines strip left
The hover plus case measured where to drag in notes.txt while README.md
above it still drew the strip for the unchanged lines after its last
hunk. The strip leaves once the file's text was read for highlighting,
which moves the rows below it up by 26 pixels. When it left between the
press and the release, the drag crossed one more row and opened a
comment on L3-5 in place of L3-4. The case now waits for the strip to
leave before it measures.

The race is in the test on master too: with master's forge sources the
case failed 1 of 15 runs alone, and the strip left 60 to 357 ms before
the drag began.
2026-11-19 15:26:38 +08:00
imccyu 99e2d584e5 perf(web): avoid whole-document style recalculation in long histories (#8791)
Scope the empty reasoning-wrapper rule to a `.reasoning` class so Chromium
no longer tests a class-less `:empty:not([class])` subject against every
restyled element while streaming. Split the files navigator cover rule so
`:has()` only sets a custom property on the row, which keeps unrelated
scrolls such as the Chat turn rail from restyling the whole document.

Refs #8790
2026-11-19 15:19:36 +08:00
LegGasai 43f699290d Merge pull request #8770 from deepseek-harness/docs/pr-description-module-dependencies
docs(skills): add module responsibilities and dependencies to PR descriptions
2026-11-19 15:10:34 +08:00
imccyu 7c30b2b75e perf(web): avoid whole-document style recalculation in long histories
Scope the empty reasoning-wrapper rule to a `.reasoning` class so Chromium
no longer tests a class-less `:empty:not([class])` subject against every
restyled element while streaming. Split the files navigator cover rule so
`:has()` only sets a custom property on the row, which keeps unrelated
scrolls such as the Chat turn rail from restyling the whole document.

Refs #8790
2026-11-19 15:02:14 +08:00
winewill 396593b9fd Revert network home expansion and retain uninstall diagnostics 2026-11-19 14:44:58 +08:00
Ruilin Geng 8659ee9956 Merge pull request #6531 from deepseek-harness/feat/tencent-meeting-plugin
feat(tencent-meeting): 新增腾讯会议插件并支持在插件页登录账号
2026-11-19 14:37:09 +08:00
winewill 25c10e7fd1 Handle network uninstall home paths and reap timed-out fixtures 2026-11-19 14:17:59 +08:00
Jiawei Song e1f2ffc469 Merge pull request #8772 from deepseek-harness/fix/sdk-dsh-doc-parity
fix(skills): 在 SDK profile 和 Desktop PTC preset 中列出 dsh-doc
2026-11-19 13:54:58 +08:00
LegGasai 9d11b1d89c Merge remote-tracking branch 'origin/master' into feat/forge-status-tiers 2026-11-19 13:54:38 +08:00
gengruilin ede4efaca6 docs(connector): drop the signed-in sentence from the Tencent Meeting and Feishu previews
The account card in the English and Chinese previews of both connectors no longer names an example user; it keeps the sentence that tells the user to ask the agent, as the previews of the other connectors do. Feishu is already on master, so its two files change here.
2026-11-19 13:54:36 +08:00
LegGasai 336a33bd58 test(forge-github): give the hanging gh query test a deadline a loaded machine meets
The test ran its queries under a 1-second deadline and required the log
line of the gh run that hangs. Beside the other specs of the four forge
packages, that run was ended before it logged its query. The deadline
is now 5 seconds, and the test requires only that the query after the
hanging one is sent once.
2026-11-19 13:54:29 +08:00
gengruilin 2187dbe3e6 chore(tencent-meeting): align the package version with 0.2.2-rc.5 2026-11-19 13:54:05 +08:00
gengruilin 52adb67290 Merge remote-tracking branch 'origin/master' into feat/tencent-meeting-plugin 2026-11-19 13:53:38 +08:00
sjw1231 5a2aec4c90 test(python-runtime): share the SEA prelude helpers for the VFS stats spec 2026-11-19 13:43:15 +08:00
yudshj 45e873da0b Keep compaction summary previews in Chat 2026-11-19 13:37:41 +08:00
sjw1231 4fbf99cc01 fix(python-runtime): serve BigInt stats from the SEA virtual filesystem
pkg's /snapshot VFS returned number-valued stats even for { bigint: true },
so dsh-fs-local and dsh-fs-sandbox failed with "Cannot mix BigInt and other
types" on every packaged path. In the Python SDK executable the read tool
could not open packaged skill files, and the dsh-doc skill root inside the
VFS left skill discovery incomplete.

The pkg patch converts VFS stats to BigIntStats fields for bigint callers in
the main and worker bootstraps.
2026-11-19 13:35:36 +08:00
LegGasai b00f5c644f docs(forge): bring the status briefs note in line with the shipped polling
The note described the two status levels and bounded queries only. It
now also records the decisions of the four commits before this one:
polls that share a fetch, the 15 and 60 second intervals, one provider
call per query, reads after the agent's commands, no reads for a hidden
page, panel state kept between followers, and viewed marks kept on the
Host, with the measurements behind them and the alternatives that lost:
a queue per host, a random offset, pausing a host, a background budget,
and a faster cadence after a push.
2026-11-19 13:33:16 +08:00
LegGasai 5b7aaab289 fix(forge): give each provider call of a status fetch its own deadline
One fetch of the registry called the provider once with every due change
request of a forge, under one fetchTimeoutMs deadline. forge-github read
that call in several queries, so a read of many pull requests could
outlive the deadline as a whole, and a query whose gh run hung ended the
read before its own timeout isolated it. Either way the results of the
queries already answered were discarded.

A provider may now name snapshotBatchSize and briefBatchSize. The
registry then calls it once per that many due change requests of a host,
one call after another, each within its own fetchTimeoutMs, and settles
the watches of a call when it returns. A call that fails or outlives its
deadline fails only its own change requests. A change request that lost
its watchers while it waited is not read, and one whose watchers changed
what its polls read is read by the fetch of that level.

forge-github names its two query sizes, so one polling call holds one
query. briefBatchSize now defaults to 25: a query of 50 took up to 6.8
seconds against GitHub's 10-second limit, and one of 25 up to 3.4.

The subsystem page and the Cordis catalog also take in the signatures
the three commits before this one added.
2026-11-19 13:27:44 +08:00
yudshj c435f12473 Open recorded summaries as content and show only available preview controls 2026-11-19 13:23:49 +08:00
LegGasai d97276d876 docs(skills): take dependency edges from every workspace manifest and fix the example 2026-11-19 13:12:59 +08:00
LegGasai ac69d4b1a9 perf(forge-panel): keep viewed marks on the Host and keep threads across a saved mark
Every saved viewed mark announced a review change, which dropped the
review threads kept for the change request and made each open changes
view read all viewed marks and all threads from the code host again.

The Host now keeps the viewed marks it read for a change request by head
commit, under the bounds the kept threads have. A mark saved through
ctx.forge at that head replaces the kept state of its file, and the kept
threads stay, since a viewed mark changes no thread. The read that
follows a save is answered from memory, so a save costs the provider's
write and no further read. The reader's refresh passes fresh and reads
the code host again, as it does for threads.

ReviewCache is generic over what it keeps and gains amend() for a write
whose effect on the kept read is known.
2026-11-19 13:12:47 +08:00
Ruilin Geng 87f4bc3001 Merge pull request #6251 from deepseek-harness/feat/wecom-plugin
feat(wecom): 新增企业微信插件并支持在插件页扫码授权
2026-11-19 13:10:23 +08:00
sjw1231 c19f8fadfe Merge remote-tracking branch 'origin/master' into fix/sdk-dsh-doc-parity
# Conflicts:
#	packages/bundle/sdk-app/README.i18n.yaml
#	packages/bundle/sdk-app/README.md
#	packages/bundle/sdk-app/README.zh.md
#	scripts/snapshots/python-sdk-single-exe/authoring/model-visible.json
#	scripts/snapshots/python-sdk-single-exe/authoring/win-x64/model-visible.json
2026-11-19 13:03:11 +08:00
Chinesezjc 9643605bc5 Merge pull request #8762 from deepseek-harness/fix/ci-ec10fb1-e2e-cleared-key-scope
test(web): scope the cleared-key close check to the edited provider's card
2026-11-19 13:02:12 +08:00
LegGasai 40f74e81e6 perf(forge): poll after a push and at the end of a turn that ran a tool
A push to the head branch of a bound change request started no status
read, so its new checks showed after the next regular poll, and a
command such as `gh pr merge` likewise left the card unchanged until
then.

ctx.forge.expectChange(ref) polls a watched change request at once and
then at the active interval until a status reports running checks or a
closed or merged change request, for at most one idle interval.
forge-session calls it after each push result for the visible change
requests in the pushed repository. When a turn that had a tool result
ends, forge-session refreshes the Session's visible change requests with
the age of that result as maxAgeMs; a turn without a tool result polls
nothing.

A refresh with maxAgeMs now compares against the start of the latest
poll, in flight or settled, since a status reflects the host as of the
start of its read, and leaves a merged change request alone.
2026-11-19 12:57:12 +08:00
sjw1231 35261017d5 docs(sdk-app): note the dependency behind the dsh-doc skill directory 2026-11-19 12:55:11 +08:00
Yudong Han c68faa601f Merge pull request #8081 from deepseek-harness/feat/sdk-time-zone
feat(sdk): 普通 prompt 逐条上报用户时区,对齐 plan mode 措辞
2026-11-19 12:50:03 +08:00
LegGasai 072267c156 perf(forge): share status fetches, pause while hidden, and reopen panels from kept state
Change requests were read together only when they became due in the same
millisecond, so 14 list watches that drifted apart cost up to 415 brief
queries an hour in place of 30. A poll now also reads the change
requests past the midpoint of their wait, which brings them back into
one fetch. The default intervals become 15 seconds while checks run and
60 seconds otherwise. An unknown mergeability earns one poll at the
active interval; a change request that keeps reporting it waits the idle
interval. refresh() accepts maxAgeMs and then leaves a change request
alone whose poll is in flight or recent.

The panel, Session list, and review count streams close once the page
has been hidden for 30 seconds and reopen when it shows, so the Host
polls no code host for a page nobody sees.

A Session's panel keeps its last state, snapshots, and branch lookup
when its last follower leaves, and the next panel starts from them: it
publishes that state first and repeats neither the sign-in probe of a
ready host nor the branch lookup. Showing the panel and focusing the
window call the new revisit Remote, which reinspects the checkout and
polls only change requests whose latest poll is older than
statusMaxAgeMs; refresh stays the forced read a reader asks for. A
status read refused as unauthenticated on a host shown as ready probes
sign-in again, once per run of refusals. The changes view waits for the
first status of a panel stream before it reads a change request whose
entry shows a kept snapshot.
2026-11-19 12:47:29 +08:00
imccyu 7e5721d713 Merge pull request #8763 from deepseek-harness/worktree-archive-observe-session
refactor(session-query): remove inspectSession; worktree archive reads through observeSession
2026-11-19 12:45:31 +08:00
yudshj 5dc1009c8d Synchronize history paging and Node cancellation tests 2026-11-19 12:43:54 +08:00
yudshj 73723b46c7 Use one document factory for file and titled content previews 2026-11-19 12:28:35 +08:00