Commit Graph
26950 Commits
Author SHA1 Message Date
winewill 3fd0c6683d fix(desktop): narrow publisher metadata parse recovery 2026-11-12 12:15:13 +08:00
winewill 046df1b122 Merge master into desktop publisher and synchronize workspace version 2026-11-12 11:52:56 +08:00
Chinesezjc 63837bc684 Merge pull request #8335 from deepseek-harness/fix/ci-f2a8592-inspector-client-deadline
test(inspector): budget the Client Runtime deadline for a real round trip
2026-11-12 09:30:20 +08:00
Chinesezjc adf06d4804 Merge pull request #8325 from deepseek-harness/fix/ci-bubblewrap-cache
fix(ci): cache the verified bubblewrap archive and bound its download
2026-11-12 02:19:56 +08:00
dsh-ci-bot dd2fc67baf test(inspector): state the deadline bounds in the timeout case comment
The darwin parity lane runs `vitest run` without coverage instrumentation,
so concurrent suite load, not instrumentation, is what pushed a Client
Runtime round trip past the old 20 ms deadline. Name that load, keep the
case-specific reason for the headroom, and record the two bounds the value
must respect: CDP_CALL_TIMEOUT_MS and the default 5 s test budget. Drop the
sentence that restated the file-header lane rule.
2026-11-12 01:41:37 +08:00
dsh-ci-bot 0fd248d065 fix(ci): keep the verified-download spec within the line budget
The acquire helper's inline return type grew past the 140-column lint
limit when the env parameter was added; name the result type instead.
2026-11-12 00:56:28 +08:00
dsh-ci-bot cec43a7001 test(inspector): budget the Client Runtime deadline for a real round trip
The case proves that a fired Worker deadline leaves the Client Runtime
session usable, but it also gave the follow-up evaluation the same 20 ms
budget as the deadline. A Client Runtime round trip crosses the Worker
thread and a WebSocket to the Client fixture, so under the darwin lane's
concurrent suite it can exceed 20 ms and the follow-up is rejected with
the deadline error instead of returning 42.

Raise the deadline to 1000 ms. The never-settling promise still makes the
deadline fire, the follow-up keeps 50 times the failing observation's
budget, and the lane's 90 s fixture wait stays far above the deadline.
2026-11-12 00:50:05 +08:00
dsh-ci-bot 5f2ff8790a fix(ci): scope the verified archive cache to ephemeral runners
The archive cache was wired into lanes that can select the persistent
self-hosted pool, which keeps ~/.cache on its own layout and never needs
the remote cache, and the consolidated benchmark's Windows rows restored
and saved a directory they never create.

Guard the cache steps with the same self-hosted exclusion as the pnpm
store cache, drop them from the self-hosted standby and the manual
benchmark matrix, and assert the guards in the workflow specs. Probe for
sha256sum or shasum -a 256 so a host without either fails loudly instead
of reporting a digest mismatch, clean partial downloads when a job is
cancelled, keep the retry window plus its last attempt within five
minutes, pin that contract in the test, and report cache-directory
failures with the download URL.
2026-11-12 00:42:37 +08:00
Yichen Jiang 300f3f3498 Merge pull request #8200 from deepseek-harness/feat/cua-mcp
feat(cua): serve Computer Use to MCP clients from the cua-mcp profile
2026-11-11 20:58:41 +08:00
Yichen Jiang 3842f2b222 fix(ci): cache the verified bubblewrap archive and bound its download
Launchpad outages failed every Linux CI and E2E job in the bubblewrap
preparation step before any test ran, and a stalled connection held the
step for minutes because curl had no timeouts.

Restore and save the SHA-256-verified archive with actions/cache around
each preparation step so a warm cache needs no Launchpad request, verify
cached and downloaded files against the pinned digest before use, and
bound each curl attempt and the retry window. The download URL stays
pinned to the recorded Launchpad build.
2026-11-11 20:32:47 +08:00
Yichen Jiang 393b0f71f5 test(cua-mcp): release held promises at teardown in the reset unit tests
A reset unit test that fails before it resolves the promise it holds left the server's disposer waiting until the hook timeout. Each test now resolves its promise at teardown, so a failing run ends at once.
2026-11-11 19:22:23 +08:00
Yichen Jiang c2fa483000 test(cua-mcp): stop the looping program of the reset test when the reset does not
The test that resets during a program that cannot be interrupted gives the runtime a ten-minute stop grace, so a reset that no longer releases the environment fails the test by its timeout on every lane. The test records the program process and kills it at teardown, so such a failing run does not leave a process spinning.
2026-11-11 18:55:05 +08:00
Yichen Jiang c4dd37eb53 Merge remote-tracking branch 'origin/master' into feat/cua-mcp 2026-11-11 18:26:53 +08:00
Yichen Jiang d5e02356ea refactor(cua-mcp): reset by releasing the program environment through the runtime's owner release
cua_reset keeps its effect: only the program process is replaced, while the connection's Agent, its native connection, and its consent decisions stay. The PTC program-tool factory no longer carries a reset operation, so packages/core/tool-executor-ptc is unchanged against master. ctx.cuaPrograms exposes release(agent), the owner release of the provider's program runtime, and the MCP frontend orders its own calls around it: it cancels the running program, releases the environment, answers after the cancelled program has settled, and holds back programs that arrive during a reset. A failed release answers with an error that asks for another cua_reset; the runtime rejects programs until a release succeeds. The reset result names cua.getApp for selecting applications again.
2026-11-11 18:19:43 +08:00
Yichen Jiang 11fe934953 docs(cua-mcp): document the Codex entry as exercised, with required startup and unattended approval
The Codex entry gains required = true: without it Codex waits one second for the server, and the first model request can go out without the three tools. codex exec refuses cua_run_code under the approval policy never, so an unattended run sets approval_mode = "approve" on that tool. The entry was exercised through codex exec on codex-cli 0.153.2 and 0.166.0-alpha.5.1 against a macOS desktop.
2026-11-11 18:19:29 +08:00
Jiawei Song 0b8ee3b709 Merge pull request #8168 from deepseek-harness/refactor/tool-errors-mcp
feat(mcp,web,skill,cordis,plugin,ptc): give MCP, web, skill, inspect, plugin, and run_code tool failures error codes
2026-11-11 18:16:03 +08:00
Yichen Jiang b67e2ef48a Merge pull request #8297 from deepseek-harness/fix/forge-ptc-binding
fix(forge): bind pull requests that gh commands touch inside PTC programs
2026-11-11 17:53:24 +08:00
Yichen Jiang b2a46d2e96 Merge remote-tracking branch 'origin/master' into feat/cua-mcp 2026-11-11 17:51:30 +08:00
sjw1231 a8c3829a7f Merge remote-tracking branch 'origin/master' into claude/tool-errors-mcp-f5e887 2026-11-11 17:44:05 +08:00
Yichen Jiang 72c2a4cb01 Merge branch 'master' into fix/forge-ptc-binding 2026-11-11 17:41:54 +08:00
Yichen Jiang 75f9f6ef98 Merge remote-tracking branch 'origin/master' into feat/cua-mcp
master removed the Python PTC runtime (#8307) and rewrote three bilingual
documents this branch also edits.

Conflicts:
- docs/capability-seams.i18n.yaml, packages/core/tool-executor-ptc/README.i18n.yaml,
  and packages/experimental/README.i18n.yaml: both sides re-recorded the
  translation pairing records. The merged documents were reviewed in both
  languages and the three records recorded again from them.
2026-11-11 17:32:17 +08:00
Ziya d04a0488a3 Merge pull request #8293 from deepseek-harness/fix/composer-home-end
fix(ui-conversation): move to the line boundary on Home and End on macOS
2026-11-11 01:30:35 -08:00
Yichen Jiang 6234871e8d docs(forge-session): 更新模块图中的 dsh-llm 依赖
评审修复为 forge-session 新增了 @deepseek-ai/dsh-llm peer 依赖,
重新生成 docs/module-graph.md 与中文版。
2026-11-11 17:29:21 +08:00
sjw1231 75f5b13132 Merge remote-tracking branch 'origin/master' into claude/tool-errors-mcp-f5e887
# Conflicts:
#	docs/persistence-schema.json
2026-11-11 17:06:13 +08:00
Yichen Jiang 74c20de23f Merge remote-tracking branch 'origin/master' into fix/forge-ptc-binding
# Conflicts:
#	packages/experimental/forge-session/tests/loader-composition.spec.ts
2026-11-11 16:54:24 +08:00
imccyu 5e7206f6c6 refactor(exports): retire obsolete subpaths with compatible brand APIs (#8215)
* refactor(exports): consolidate type entries and remove obsolete subpaths

* fix(exports): preserve constructors while retiring brand subpaths

* fix(exports): retain guide relocation after parent squash
2026-11-11 08:39:14 +00:00
Yichen Jiang 94d7eb2045 Merge remote-tracking branch 'origin/master' into feat/cua-mcp
master renamed the macOS Computer Use provider to @deepseek-ai/dsh-cua-macos
(#8284) and moved identity construction to brandString (#8214).

Adapted to master:
- The cua-mcp profile mounts @deepseek-ai/dsh-cua-macos and declares it as the
  optional dependency; the bundle test follows the new name.
- The MCP adapter builds its Session and tool-call ids with brandString, so
  @deepseek-ai/dsh-brand becomes a runtime dependency of the package.

Conflicts:
- scripts/experimental-package-policy.ts and scripts/release/families.spec.ts:
  both sides added a row; the cua-macos, cua-mcp, and cua-windows rows coexist.
- scripts/package-dependency-policy.ts: took master's removal of the SessionId
  safe entry. longEdgeDimensions no longer sits in the safe-export list; it
  joins the existing peer-required @deepseek-ai/dsh-attachment entry, so this
  branch adds no safe-export exception.
- Generated catalogs, module graphs, and the dsh-doc package reference: took
  master and regenerated.
- Four translation pairing records: took master and re-recorded after
  reviewing both language diffs.
2026-11-11 16:31:58 +08:00
sjw1231 c28409ba22 fix(plugin-market): convert market Remote failures before HarnessError passthrough
RemoteError now extends HarnessError, so the early passthrough returned
plugin-market/* Remote failures unconverted. Map the four Remote codes the
tool's market reads reject with first; other HarnessErrors keep their
identity.
2026-11-11 16:29:35 +08:00
sjw1231 c670457442 Merge remote-tracking branch 'origin/master' into claude/tool-errors-mcp-f5e887 2026-11-11 16:25:44 +08:00
ZiyaZhang 9f62f9966c fix(ui-conversation): move to the line boundary on Home and End on macOS
Apple key bindings map Home and End to scrolling the document, and the
composer sits inside the conversation scroller, so the keys scrolled the
conversation instead of moving the caret. On Apple platforms the composer
keymap now moves the caret to the start or end of the visual line, with
Shift extending the selection, and End right before a quote moves to the
end of its line as Cmd+Right does. Other platforms already move to the
line boundary.

Fixes #8291
2026-11-11 00:19:21 -08:00
Turtle 085e749cf0 Merge pull request #8095 from deepseek-harness/turtle/fix-vscode-launch-env-ab3748b25da7
fix(open-in-app): drop inherited ELECTRON_RUN_AS_NODE when launching apps
2026-11-11 16:15:28 +08:00
Turtle c7b2c5e3e5 Merge pull request #7936 from deepseek-harness/turtle/fix-sidebar-fullscreen-line-a73e32287f80
fix(sidebar-right): clip the fullscreen left divider past the window edge
2026-11-11 16:13:54 +08:00
sjw1231 b86821fc59 fix(extensions): name the discarded error in the plugin tool code read
The verify-empty-catch gate added on master requires an empty catch to
name the failure it discards; the trapped code read now binds
_codeReadTrapped.

Refs #7869
2026-11-11 16:12:28 +08:00
Turtle 2ee432f559 Merge pull request #8173 from deepseek-harness/turtle/fix-mention-latency-5c3691371b70
perf(session-persistence-jsonl): reuse unchanged headers across listings
2026-11-11 16:11:38 +08:00
_Kerman f34250ca9b Merge pull request #8307 from deepseek-harness/xtr/remove-python-ptc-runner
refactor(ptc): remove the experimental Python runtime
2026-11-11 16:03:49 +08:00
Yichen Jiang c5261dbe32 refactor(forge-session): 处理 #8297 评审意见
- reference-lookup:prepare() 为每个 gh 引用各返回一项查询,不再只取
  第一项;补 JSDoc,并注明排队查询依赖工具管线对每个执行都发布
  tools/result、作用域销毁时一并释放。
- projection:textOf 参数改为 readonly ContentBlock[],新增
  @deepseek-ai/dsh-llm peer 依赖与 tsconfig 引用。
- index:重排 ForgeSessionService JSDoc 段落。
2026-11-11 15:57:01 +08:00
Jiawei Song bc45c6c17c Merge pull request #8057 from deepseek-harness/refactor/tool-errors-agent
feat(subagent,workflow,plan): give delegation, workflow, plan, and interaction tool failures error codes
2026-11-11 15:53:22 +08:00
sjw1231 e5611f8281 Merge remote-tracking branch 'origin/master' into claude/tool-errors-mcp-f5e887
# Conflicts:
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	docs/module-graph.md
#	docs/module-graph.zh.md
#	packages/boot/plugin-market/tests/tools.spec.ts
#	packages/mcp/mcp-client/tests/mcp-client.spec.ts
#	pnpm-lock.yaml
2026-11-11 15:51:19 +08:00
Turtle b3e8a77bdf Merge pull request #8051 from deepseek-harness/turtle/snapshot-diff-viewer-127358e84afe
ci(preview): publish a snapshot diff page with each PR preview
2026-11-11 15:49:48 +08:00
CreatixChu 9e6fd09813 Merge pull request #8285 from deepseek-harness/cleanup/platform-package-names
按平台区分 CUA helper 的 Actions 工作流和产物
2026-11-11 07:48:52 +00:00
Turtle cd25788e5c Merge pull request #8222 from deepseek-harness/turtle/update-notes-43ec0dc7e41b
docs(automation): deliver every event candidate as a normal turn
2026-11-11 15:48:33 +08:00
sjw1231 3524a7a3e5 Merge remote-tracking branch 'origin/master' into refactor/tool-errors-agent
Resolves import conflicts with the brand-export split (#8214): value
brand factories are now brandString<T>() calls, and dsh-workflow's
WorkflowRunId is imported from its types entry. Generated persistence
and config catalogs are regenerated.
2026-11-11 15:40:30 +08:00
_Kerman f141464b59 docs(ptc): clarify remaining extension support and migration 2026-11-11 15:37:46 +08:00
creatixchu 27bbae4a59 Sync master into the CUA helper packaging workflows 2026-11-11 15:37:16 +08:00
creatixchu 1cd79de4e8 Explain missing macOS helper jobs and verify artifact name selection 2026-11-11 15:35:08 +08:00
Turtle 2099 ca7e7f4018 Merge pull request #8010 from deepseek-harness/turtle/subagent-fork-divider-20436572857c
feat(web): divide a forked session's inherited history from its own messages
2026-11-11 15:32:21 +08:00
_Kerman 5ea79d1fe7 fix(ci): prune retired Python PTC catch entries 2026-11-11 15:29:39 +08:00
_Kerman da91532aaa merge: sync master into Python PTC removal 2026-11-11 15:27:25 +08:00
imccyu 455f7a38a6 Merge pull request #8214 from deepseek-harness/split-exports-brand-strings
refactor(brand): migrate internal identity construction
2026-11-11 15:15:26 +08:00
creatixchu 29de5f9e04 Keep the existing Desktop packaging workflow names 2026-11-11 15:14:28 +08:00