Commit Graph
9338 Commits
Author SHA1 Message Date
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 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
gengruilin 52adb67290 Merge remote-tracking branch 'origin/master' into feat/tencent-meeting-plugin 2026-11-19 13:53:38 +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
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
yudshj 0c5e9de2c4 fix(sdk): 固定 Python 快照时区并更新升级指南与错误说明 2026-11-19 12:22:06 +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
gengruilin 5d62fbdf71 Merge remote-tracking branch 'origin/master' into feat/wecom-plugin 2026-11-19 11:50:39 +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
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
imccyu 6544a7171e docs: regenerate event producer-consumer graph for the forge panel session/disposed listener 2026-11-19 00:08:54 +08:00
imccyu 16072178a9 fix(forge-panel): follow the panel after the Session opens and name cold Sessions by id
The panel follow resolved its Session argument by resuming the Agent while the
main view was still opening the same Session, so the Host read the Session log
twice. The follow stream now holds a forgePanel Session reference and waits for
the Session's history to open before following. refresh, reviewStage, and
worktreeCleanup only need the identity, so they take a SessionId and no longer
resume an Agent; worktrees.cleanupOf takes the id as well.
2026-11-18 23:06:35 +08:00
Ruilin Geng 51d084e0f6 Merge pull request #8727 from deepseek-harness/feat/upstream-skills-profile-cache
feat(upstream-skills): 上游技能按 profile 存放,新的固定提交替换旧的
2026-11-18 19:40:16 +08:00
gengruilin bb41d5e1e0 Merge remote-tracking branch 'origin/master' into feat/tencent-docs-plugin 2026-11-18 18:52:55 +08:00
Ruilin Geng 35f1614ba0 Merge pull request #5933 from deepseek-harness/feat/notion-plugin
feat(notion): 新增 Notion 插件并支持在插件页连接账号
2026-11-18 18:28:12 +08:00
gengruilin 5de4257956 fix(upstream-skills): delete the other pins once per registration
Processes of one profile can run different versions of a plugin at the same time, and they share
the profile's pin directory. A registration that deleted the other pins after every download made
two such processes delete each other's pin and download their own again at every check. Each
registration now deletes the other pins once, the first time its own pin is in place; a process
whose pin another process deleted downloads it again and leaves that process's pin in place.

The README and the Agent Note no longer state that no other installation reads the directory, and
the README lists the remaining case as a known limitation.
2026-11-18 18:24:39 +08:00
LegGasai 3891a53527 Merge commit '6eeb115fd19' into worktree/forge-m7-review-page-ee17bf 2026-11-18 17:45:41 +08:00
imccyu e252633945 Merge pull request #8726 from deepseek-harness/worktree-sync-release-dsh-0.2.2-0.2.2-rc.5-to-master
chore(release): sync release/dsh-0.2.2 0.2.2-rc.5 to master
2026-11-18 17:43:02 +08:00
gengruilin 918e5c0531 Merge remote-tracking branch 'origin/master' into feat/notion-plugin 2026-11-18 17:42:57 +08:00
Ruilin Geng d826f38c92 Merge pull request #7683 from deepseek-harness/feat/linear-plugin
feat(linear): 新增 Linear 插件并支持在插件页连接账号
2026-11-18 17:26:05 +08:00
gengruilin f5c30538f8 feat(upstream-skills): keep each profile's pins in its own cache directory and replace earlier ones
In a profile that dsh launches, the Service publishes a plugin's upstream files under
$DSH_HOME/cache/<name>/<profile>. Once a pin is in place there, at load or after its download, it
deletes the other pins of that directory, so a plugin update that changes the pin leaves one copy
and an unchanged pin is not downloaded again. Without a profile the shared directory and every pin
in it stay as before, and a configured skillsDir is never deleted.
2026-11-18 16:54:06 +08:00
imccyu 5d3f7b5063 chore(release): sync release/dsh-0.2.2 0.2.2-rc.5 to master
# Conflicts:
#	.agents/notes/implemented/feature/2026-10-15-deepseek-search-fetch-api.i18n.yaml
#	packages/web/tool-web/tests/integration.spec.ts
#	packages/web/tool-web/tests/tool-web.spec.ts
#	packages/web/web-deepseek-api/README.i18n.yaml
#	packages/web/web-deepseek-api/README.md
#	packages/web/web-deepseek-api/README.zh.md
#	packages/web/web-search-deepseek/README.i18n.yaml
#	packages/web/web-search-deepseek/README.md
#	packages/web/web-search-deepseek/README.zh.md
#	packages/web/web/README.i18n.yaml
2026-11-18 16:22:08 +08:00
LegGasai f47a0a2b52 Merge pull request #8707 from deepseek-harness/feat/web-search-deepseek-model-default
feat(web): default DeepSeek model conversations to Messages search
2026-11-18 15:41:59 +08:00
gengruilin 09e6d8f982 docs(feishu): regenerate the config catalog for the plugin entry's Config line
The catalog records the line of Config in the plugin entry, which moved up two lines when the entry stopped exporting the account types.
2026-11-18 15:23:43 +08:00
gengruilin 3d0f2ebd09 docs(wecom): regenerate the config catalog for the plugin entry's Config line
The catalog records the line of Config in the plugin entry, which moved up two lines when the entry stopped exporting the account types.
2026-11-18 15:15:37 +08:00
gengruilin 0d8f613dbd docs(tencent-meeting): regenerate the config catalog for the plugin entry's Config line
The catalog records the line of Config in the plugin entry, which moved up two lines when the entry stopped exporting the account types.
2026-11-18 15:11:33 +08:00
LegGasai 338175acda Merge commit 'bd331686bc1' into worktree/forge-m7-review-page-ee17bf
# Conflicts:
#	packages/experimental/client-ui-forge/README.i18n.yaml
2026-11-18 13:36:35 +08:00
LegGasai 792cc9b967 Merge pull request #7820 from deepseek-harness/feat/session-workspace-root-consumers
feat(working-directory): route sandbox, file views, and discovery through the Session workspace root
2026-11-18 05:16:34 +00:00
creatixchu a2bd085fd2 Merge remote-tracking branch 'origin/master' into feat/cua-macos/mouse-toggle 2026-11-18 12:10:53 +08:00
LegGasai e24af31773 Merge remote-tracking branch 'origin/master' into feat/session-workspace-root-consumers 2026-11-18 11:46:53 +08:00
LegGasai 7c34ed36cc docs(forge): move the rate-limited failure upgrade guide to v0.2.2-rc.4
Master released 0.2.2-rc.4, so the guide for the change this pull request introduces belongs to the new version's
directory. The Agent Note links follow it.
2026-11-18 11:13:13 +08:00
LegGasai a86c488ba1 Merge commit '65056bc614a' into worktree/forge-m7-review-page-ee17bf 2026-11-18 11:02:26 +08:00
gengruilin 1d04f0c75d Merge remote-tracking branch 'origin/master' into feat/linear-plugin 2026-11-18 02:17:33 +08:00
gengruilin 994c3dc57d Merge remote-tracking branch 'origin/master' into feat/tencent-docs-plugin 2026-11-18 02:05:41 +08:00
gengruilin d28b3e4966 Merge remote-tracking branch 'origin/master' into feat/notion-plugin 2026-11-18 01:58:46 +08:00
gengruilin afc88f172e Merge remote-tracking branch 'origin/master' into feat/feishu-plugin 2026-11-18 01:27:46 +08:00
gengruilin 4d9cc0d7f3 Merge remote-tracking branch 'origin/master' into feat/tencent-meeting-plugin 2026-11-18 01:13:45 +08:00
gengruilin 4a61813759 Merge remote-tracking branch 'origin/master' into feat/wecom-plugin 2026-11-18 01:06:53 +08:00
imccyu 4799c27d0b docs(client): state that live-share viewers follow plugin events with schema defaults and correct the recovery NaN rationale 2026-11-17 22:20:30 +08:00
imccyu 34481579ed fix(client): pass the connection synced Config in the built Remote chain and regenerate event graphs and the plugin package list 2026-11-17 22:20:30 +08:00
imccyu 724c2695b8 fix(client): keep the account contact form on its page global and read the stop interval at each first press 2026-11-17 22:20:29 +08:00
imccyu 3c0cef3560 refactor(client): deliver page-global Host configuration through synced plugin Config
Move shortcuts, account notifications, Models onboarding, document preview,
account contact, and connection recovery off their own webserver/index-inject
page globals onto top-level volatile Config fields that reach each browser face
as SyncedConfig. Keep cordis.yml keys and defaults, keep a typed Host config
parameter so the config catalog still lists these packages (also restoring
ui-context-menu), and regenerate catalogs.
2026-11-17 22:20:29 +08:00