Commit Graph
25461 Commits
Author SHA1 Message Date
gengruilin 0e856b5ebd Merge branch 'feat/mcp-oauth' into feat/mcp-tool-loading 2026-11-03 13:15:58 +08:00
gengruilin 07ef37ba82 refactor(mcp): follow the ctx.mcpManager rename
The base publishes the MCP manager as `ctx.mcpManager`. Inject and call
it under that key in the account UI, list its authorization endpoints
as `mcpManager/*` in the LiveShare viewer table, and update the OAuth
and composition tests and the generated configuration catalog.
2026-11-03 13:07:09 +08:00
gengruilin ef059a2e3a Merge branch 'feat/mcp-manager-core' into feat/mcp-oauth 2026-11-03 13:03:13 +08:00
gengruilin 9cd3fbec45 revert(webworker): drop the cross-spawn refusal from the preview worker
The refusal kept the MCP manager loading in the browser preview while
the worker had no `global` binding, which cross-spawn's isexe dependency
reads at evaluation. The worker now publishes `global`, so the real
package loads. A stdio MCP server still cannot start in the preview: it
now fails through the worker child_process instead of an explicit
refusal, and HTTP MCP servers are unaffected.
2026-11-02 23:31:27 +08:00
gengruilin 30bf5733d6 refactor(mcp-manager): publish the manager as ctx.mcpManager
The `ctx.mcpServers` key reads as a collection of servers, but the
service manages that collection, and ACP already uses `mcpServers` for
a plain server list. Publish the service as `ctx.mcpManager`, matching
the package name, the `mcp-manager/` event prefix, and
`ctx.pluginManager`. Remote endpoints become `mcpManager/*`; the class
keeps its name, McpServerManager.
2026-11-02 21:01:42 +08:00
gengruilin 62c6a2658d Merge remote-tracking branch 'origin/master' into feat/mcp-manager-core 2026-11-02 17:11:12 +08:00
Chinesezjc fdff707b82 Merge pull request #7303 from deepseek-harness/fix/read-guidance-line-ranges
fix(prompt): name line ranges and shell readers in the read guidance
2026-11-02 16:57:54 +08:00
Chinesezjc ec587a015d test(snapshot): carry the read guidance into the apply-patch scenarios
The apply-patch scenarios were recorded before this restore; their shared
system prompt sidecar still shows the old read sentence.
2026-11-02 16:42:47 +08:00
Dudu-0223 36a0cab333 Merge pull request #7533 from deepseek-harness/fix/subagent-model-selection-guidance
fix(subagent): 推理强度要求完整路由,显式选路使用模型默认强度
2026-11-02 16:30:49 +08:00
Chinesezjc 401bfa8b3c Merge branch 'master' into fix/read-guidance-line-ranges 2026-11-02 16:22:24 +08:00
CreatixChu 4eb2118dba Merge pull request #7515 from deepseek-harness/feat/cua-optional-bundle
feat(cua): 随 DSH 分发 Computer Use,并在实验性插件列表中显示
2026-11-02 16:21:57 +08:00
CreatixChu d203f5c418 Merge pull request #7516 from deepseek-harness/feat/cua-desktop-helper
fix(desktop): 随附并独立启动 macOS Computer Use helper
2026-11-02 16:19:16 +08:00
Turtle 58a3febaf2 Merge pull request #7663 from deepseek-harness/agent/stale-auth-cookie-431-6faa8d4c5eb6
fix(desktop): stop accumulating Host auth cookies across launches
2026-11-02 16:15:56 +08:00
Chinesezjc 1d2e1c6be5 Merge remote-tracking branch 'origin/master' into fix/read-guidance-line-ranges
# Conflicts:
#	packages/fs/tool-fs/tests/tools.spec.ts
2026-11-02 16:14:57 +08:00
Dudu-0223 05225052f9 docs(subagent): clarify discovery covers explicit model selection 2026-11-02 16:13:04 +08:00
Dudu-0223 65a87a5860 fix(subagent): clarify selection guidance and stabilize Web smoke capture 2026-11-02 15:52:24 +08:00
Dudu-0223 5a75c8b4a5 fix(subagent): require an explicit route for reasoning overrides 2026-11-02 15:06:10 +08:00
Dudu-0223 7301fa98b0 fix(subagent): state when to query child routes and when to omit them
The discovery tool presented itself as the place to inspect options before
selecting a child route, and rejected every provider or model outside the
Session's authorized routes, including providers that do not exist. A model
that skipped the no-argument call therefore had no way to learn the correct
ids or that omission was legal, and repeated identical denials.

Say that queries exist to override the child route, that omitting both route
fields inherits the parent route, that a field is omitted rather than sent
empty, and, in each optional route field, that omitting it inherits the
parent value.
2026-11-02 15:05:53 +08:00
Chinesezjc 73090b5e56 Merge pull request #7602 from deepseek-harness/turtle/plugin-detail-git-auth-525da1436301
fix(plugin-market): retry detail clone fetches over SSH after https is refused
2026-11-02 15:02:20 +08:00
Magolor 8d0c3b4633 fix(settings): show saved API keys and preserve environment detection (#7695)
* fix(settings): show saved API keys in provider editors

* test(settings): retain DeepSeek environment detection states

* fix(settings): classify saved-key reads and align browser expectations

* test(settings): cover saved keys under derived references

* test(settings): verify saved endpoints and keys on provider requests

* fix(settings): preserve credential drafts without changing authentication
2026-11-02 15:00:19 +08:00
creatixchu 7d9bc01a50 Merge updated master and helper identity into bundled Computer Use 2026-11-02 14:58:31 +08:00
gengruilin 1d681739d4 test(mcp): refresh the tool-loading snapshot after the stack sync 2026-11-02 14:56:57 +08:00
gengruilin 4df2443158 Merge branch 'feat/mcp-oauth' into feat/mcp-tool-loading 2026-11-02 14:56:22 +08:00
gengruilin 180b3e6029 refactor(ui-mcp-account): register connector accounts on the Host
Connector plugins register their OAuth server's account with the Host
service ctx.mcpAccounts instead of a browser registry: the server name,
the bundle package, and the text that names the service as
LocalizedText. The registry serves every account with the MCP manager's
view of its server through one mcpAccounts Remote; authorization,
cancellation, sign-out, and restart stay on the manager's Remote.

One browser half follows that stream, renders each account's section,
tag, activation guidance, and notices with the connector's text and the
26 strings every connector shares, and keeps authorization page opening,
notices, and the pending-action guard per browser. Connectors no longer
need a browser half or their own dictionary for the account.
2026-11-02 14:55:26 +08:00
creatixchu 4ac71ed747 Merge master with separate development helper identity 2026-11-02 14:55:17 +08:00
CreatixChu 0089109f00 Merge pull request #7538 from deepseek-harness/feat/cua-dev-signing
feat(cua): 区分开发 helper 身份,支持显式签名配置与开发者 skill
2026-11-02 14:50:57 +08:00
gengruilin f0cd6d0fe2 test(mcp): refresh the OAuth error snapshot after the manager-core sync 2026-11-02 14:48:51 +08:00
creatixchu a313ff916b docs(cua): proactively recommend developer signing identities 2026-11-02 14:31:28 +08:00
Turtle 77ef574af7 Merge pull request #7691 from deepseek-harness/turtle/fix-math-copy-mojibake-815c3ff5d09c
fix(client): copy selected KaTeX math as TeX source
2026-11-02 14:24:55 +08:00
gengruilin 00ed20c130 Merge branch 'feat/mcp-manager-core' into feat/mcp-oauth
# Conflicts:
#	packages/client/README.i18n.yaml
#	snapshots/session/headless.snapshot.ts
2026-11-02 14:11:56 +08:00
gengruilin 683daea572 test(mcp): await the status reload and refresh the template snapshot after master sync 2026-11-02 11:56:58 +08:00
gengruilin be167ec989 Merge remote-tracking branch 'origin/master' into feat/mcp-manager-core 2026-11-02 11:43:57 +08:00
creatixchu 2bd4226dc9 fix(cua): preserve system keychain lock lifecycle 2026-11-02 11:41:57 +08:00
creatixchu d052805f96 fix(cua): preserve unowned files during developer signing setup 2026-11-02 11:37:23 +08:00
creatixchu 8de3a97f8d Merge origin/master into feat/cua-dev-signing 2026-11-02 11:19:00 +08:00
Turtle e17596cf1f Merge remote-tracking branch 'origin/master' into turtle/fix-math-copy-mojibake-815c3ff5d09c 2026-11-02 10:10:15 +08:00
fz a2119d6184 Merge pull request #7689 from deepseek-harness/fix/7688-locked-runtime-deploy
fix(python): 按锁文件部署 runtime 依赖
2026-11-02 10:03:39 +08:00
Turtle 0039a8879a fix(client): scope math copy to one Markdown document
Refs #7690
2026-11-01 22:00:57 +08:00
Turtle 898b2875b3 fix(client): copy selected KaTeX math as TeX source
Refs #7690
2026-11-01 21:47:19 +08:00
fz eab19efcf8 fix(python): preserve deployed dependency validation 2026-11-01 21:24:41 +08:00
fz a7d0d02146 fix(python): deploy the runtime from the workspace lockfile 2026-11-01 20:31:59 +08:00
imccyu e428c74d51 Merge pull request #7207 from deepseek-harness/feat/sidebar-plugin-pin-preview
feat(ui): 优化侧栏插件固定与 More 交互
2026-11-01 01:05:56 +08:00
imccyu 24ac78d283 fix(ui): show unpinned sidebar panels while More is absent 2026-10-31 22:47:22 +08:00
Dudu-0223andimccyu 0487699ae4 feat(subagent): share ID-based identity and collaboration guidance (#7519)
* feat(subagent): share identity and collaboration guidance

* fix(subagent): complete shared guidance snapshot expectations

* fix(subagent): match task descriptions to the user language

* refactor(subagent): retain shared guidance with Session ids

* test(subagent): recognize parent ids in shared identity

* Checkpoint ID collaboration guidance generated expectations

* Preserve historical Web schema sidecars

* fix(test-support): preserve job references during snapshot refresh

* test(subagent): refresh ID-only collaboration guidance outputs

* fix(subagent): rely on list_agents tool description

* fix(subagent): keep collaboration guidance consistent with live identity

* test(team): parse parent identity from shared guidance

* test(subagent): address parent from shared identity context

* test(subagent): refresh compiled Web guidance snapshots

* test(subagent): refresh browser collaboration context fixtures

* docs(subagent): attribute required identity to standard controls

* fix(subagent): clarify collaboration identity prompts

* test(subagent): remove duplicate PowerShell collaboration context

* refactor(subagent): match unavailable-root errors by name and code

---------

Co-authored-by: imccyu <[email protected]>
2026-10-31 22:38:07 +08:00
Yif 36e66f583e fix(ui): align sidebar focus coverage and chrome snapshots 2026-10-31 22:19:45 +08:00
Yif 5b559def7c feat(ui): customize sidebar plugin pins and More menu 2026-10-31 22:19:44 +08:00
Turtleandlsdsjy 8394c706fc test(desktop): cover legacy Host cookie cleanup failure
Co-authored-by: lsdsjy <[email protected]>
2026-10-31 20:22:50 +08:00
Turtleandlsdsjy 93bef27ec7 fix(desktop): remove legacy Host auth cookies from the default session
Earlier releases left one dsh-auth-* cookie per launch in the default
Electron session. Each Host start now removes them so other requests to
127.0.0.1 stop carrying them.

Co-authored-by: lsdsjy <[email protected]>
2026-10-31 19:55:51 +08:00
Turtleandlsdsjy 5868dbc357 fix(desktop): stop storing Host auth cookies in the Electron session
Each Desktop launch picks a random Host port and the native welcome client
authenticated through net.fetch with credentials: 'include', so the default
Electron session kept one port-named 30-day dsh-auth cookie per launch.
Cookies ignore ports, so every request carried all of them; after about 70
launches the Cookie header exceeded Node's 16 KiB limit, the Host answered 431,
and startup failed with 'Web authentication failed'.

The welcome RPC client and the account WebSocket now send the Cookie header
returned by authenticateWebHost explicitly and use no cookie jar.

Co-authored-by: lsdsjy <[email protected]>
2026-10-31 19:46:38 +08:00
Yifffan a1c3458e12 Merge pull request #7504 from deepseek-harness/feat-agent-teamwork-ui-polish
feat(web): improve agent collaboration panels and tool receipts
2026-10-31 11:10:03 +08:00