Commit Graph
28531 Commits
Author SHA1 Message Date
Turtle 2a807b4a3b docs: align business-domain placement and tighten scope wording 2026-11-19 16:55:26 +08:00
Turtle 498b681a09 docs: state the status and scope of DSH Core Guidelines 2026-11-19 16:40:57 +08:00
Dudu-0223 c687affe65 chore(session-query): remove trailing blank line from observation test (#8814) 2026-11-19 08:39:12 +00: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
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
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
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
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
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
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 d97276d876 docs(skills): take dependency edges from every workspace manifest and fix the example 2026-11-19 13:12:59 +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
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
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
LegGasai 347cb3c65c Merge pull request #8771 from deepseek-harness/fix/files-api-multipart-bytes
fix(llm): keep a cancelled Files upload from ending the runtime
2026-11-19 12:26:40 +08:00
yudshj 0c5e9de2c4 fix(sdk): 固定 Python 快照时区并更新升级指南与错误说明 2026-11-19 12:22:06 +08:00
yudshj 11752f26fc test(sdk): 刷新 master 上的时区回放快照 2026-11-19 12:00:49 +08:00
yudshj b7a50ae503 test(sdk): 更新 session/query 参数校验报错的期望文本
session/query 允许可选的 timeZone 后,非法字段的报错改为列出该字段。
2026-11-19 11:58:07 +08:00
yudshj 0173308347 fix(sdk): 重新生成 module graph,更新 Python 单文件 SDK 快照的时区输出
sdk-server 新增对 dsh-util-time 的依赖,module graph 需要重新生成。
Python 单文件 smoke 不传 time_zone 时记录运行时进程时区;smoke 固定 TZ=UTC,
快照中普通 prompt 的来源带 clientTimeZone: UTC,时间行报告 UTC。
2026-11-19 11:58:07 +08:00
yudshj dca075e2a2 feat(sdk): 普通 prompt 逐条上报用户时区
session/prompt 与 session/query 接受可选 timeZone,TS/Python 客户端透传;省略时逐条采样进程时区,写入 sdk-user 来源的 clientTimeZone。time-context 读取不带 rpcId 的 user 来源时区。补持久化记录、Agent Note、升级指南、README,并刷新 SDK snapshot。
2026-11-19 11:58:00 +08:00
yudshj 71ce86fae6 fix(bundle): 对齐 base 与 Web 的 plan-mode 措辞
base 的 plan-mode section 与 web-app presets 逐字一致;刷新受影响的 SDK system-prompt sidecar。
2026-11-19 11:57:11 +08:00
sjw1231 f0fb3692d3 fix(skills): list dsh-doc in the SDK profile and the Desktop PTC preset
The SDK profile and the Desktop PTC preset now add the agent-preset skills
directory to skill-filesystem, as the Desktop standard and Creator presets do,
so the first model request of every SDK session and of Desktop standard, PTC,
and Creator sessions lists the same dsh-doc skill.

Fixes #8557
2026-11-19 11:54:56 +08:00
gengruilin 490b5879a6 chore(wecom): align the package version with 0.2.2-rc.5 2026-11-19 11:51:04 +08:00
gengruilin 5d62fbdf71 Merge remote-tracking branch 'origin/master' into feat/wecom-plugin 2026-11-19 11:50:39 +08:00
Ruilin Geng 98c79866f2 Merge pull request #5771 from deepseek-harness/feat/feishu-plugin
feat(feishu): 新增飞书插件并支持在插件页连接账号
2026-11-19 11:39:52 +08:00
LegGasai 9d5181ade3 test(llm-deepseek): build the parsed upload request from a Headers instance 2026-11-19 11:36:01 +08:00
LegGasai 961a8c7920 docs(skills): require module responsibilities and dependency edges in PR descriptions 2026-11-19 11:29:26 +08:00
LegGasai c64f311035 fix(llm-deepseek): upload Files API images as encoded multipart bytes
Node's fetch copies a FormData body into the request stream from a detached
task. Cancelling the request within one event-loop turn of its start failed
that task with the unhandled rejection 'Invalid state: ReadableStream is
already closed', and the launcher's fatal handler then ended the runtime
process. upload() now encodes the three multipart fields itself and sends a
Uint8Array with an explicit boundary.
2026-11-19 11:28:49 +08:00
Turtle 49b2403397 docs: tighten G.1 layout and G.2 event-handler exception wording 2026-11-19 11:13:16 +08:00
Turtle 1a42cb0e3f docs: split core guidelines into one file per section; merge G.2 handler exceptions 2026-11-19 11:09:04 +08:00
winewill 9220db6c97 Fix uninstall home path normalization and cleanup diagnostics 2026-11-19 11:05:32 +08:00
gengruilin 1297248b8a chore(feishu): align the package version with 0.2.2-rc.5 2026-11-19 11:03:08 +08:00
gengruilin e360b8f017 Merge remote-tracking branch 'origin/master' into feat/feishu-plugin 2026-11-19 11:02:44 +08:00
Turtle 0daee08a35 docs: state the two reasons for G.2 directly 2026-11-19 10:47:26 +08:00
Turtle 423d26abf8 docs: separate core-guidelines and defensive-patterns placement criteria 2026-11-19 10:38:10 +08:00
Turtle 44165ccc3e docs: add DSH Core Guidelines with format and callback rules 2026-11-19 10:27:07 +08:00
dsh-ci-bot ca5eb1ce17 Merge master 92bee14e37 into fix/ci-ec10fb1-e2e-cleared-key-scope
Keep the row-scoped key locator and the saved-notice wait. The base already carries the 10 s poll timeouts on the same assertions (e21776d781), so the merged test file matches the branch's version.
2026-11-19 05:14:06 +08:00
imccyu 54062b0d8b Merge pull request #8753 from deepseek-harness/fix/forge-panel-defer-session-resume
fix(forge-panel): follow the panel after the Session opens and name cold Sessions by id
2026-11-19 04:43:33 +08:00