Commit Graph
7648 Commits
Author SHA1 Message Date
LegGasai f4ac78bb34 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
master moved internal identity construction to brandString (#8214) and
added the empty-catch gate with its recorded baseline (#4862); both touch
files this branch changes or moves.

Conflicts:
- packages/llm/llm-deepseek/tests/adapter.spec.ts,
  packages/llm/llm-deepseek-account/tests/provider.spec.ts,
  packages/experimental/translator/tests/paid-fixture.ts, and
  packages/web/web-search-deepseek/tests/deepseek.spec.ts: master rewrote
  the id constructor calls to brandString<T>() with type-only imports,
  while this branch replaced the hand-built account stand-ins with
  accountStub. The result keeps master's id construction and imports and
  this branch's stand-ins; the one Session this branch's own search test
  creates follows master's construction.
- packages/web/web-deepseek-api/package.json and
  packages/web/web-search-deepseek/package.json: this branch's sorted
  devDependencies plus master's dsh-brand entry.
- docs/capability-seams.md and docs/capability-seams.zh.md: master's
  cuaPrograms consumer edge and this branch's deepseekAccount consumer
  edges coexist; the pairing record is recorded again from the merged
  pair.
- docs/module-graph.md, docs/module-graph.zh.md,
  docs/persistence-schema.json, and pnpm-lock.yaml: regenerated from the
  merged sources.

Beyond the conflicts:
- scripts/empty-catch.baseline.json: master recorded two clauses under
  packages/credentials/deepseek-account, which this branch moves to
  packages/account/deepseek-account. The two keys are renamed with the
  files, as the gate requires for a moved file.
- AGENTS.md: master's checker link and this branch's account/ layout row
  together exceeded the frozen 2,080-word ceiling by one word, so the row
  reads "account/ DeepSeek".
2026-11-12 13:53:45 +08:00
CreatixChu 8d9c78459c Merge pull request #8343 from deepseek-harness/feat/cua-windows/key-mod
fix(cua-windows): align modifier names and support the Win key
2026-11-12 13:03:38 +08:00
creatixchu 8b0966c5e9 Merge master and update the MCP modifier reference 2026-11-12 12:44:57 +08:00
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
LegGasai 3ca18d169f fix(account): invalidate a rejected token on the account service mounted at rejection
- deepseek-account: the request credential's reject() re-resolves the
  account service through the resolving context, so a reload between a
  request and the destination's HTTP 401 still removes the stored grant;
  without a mounted service the grant stays for the next one to reject.
  resolveToken and rejectToken become private; the e2e sign-in stand-in
  and the generated API catalog follow.
- llm-deepseek: routeCredential().resolve() publishes the grant's headers,
  value, and rejection only, keeping the adapter's onRequestError behind
  the seam.
- web-deepseek-api: a route publishing an unparsable base URL becomes a
  misconfigured source instead of throwing from readiness or dispatch.
2026-11-11 20:29:37 +08:00
Yichen Jiang c4dd37eb53 Merge remote-tracking branch 'origin/master' into feat/cua-mcp 2026-11-11 18:26:53 +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 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
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 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 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
_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
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
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 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
_Kerman d1cf1dede1 refactor(ptc): remove the experimental Python runtime 2026-11-11 15:07:01 +08:00
creatixchu 3f4704cb6d Merge master into the macOS CUA naming change 2026-11-11 14:47:24 +08:00
Yichen Jiang 30e56b50bb Merge remote-tracking branch 'origin/master' into fix/forge-ptc-binding
# Conflicts:
#	apps/web/tests/forge-panel.e2e.ts
2026-11-11 14:41:33 +08:00
Yichen Jiang 0c3c508ea8 feat(cua-mcp): mount the Windows provider on native Windows
The profile mounted only the macOS provider, so a Windows Host listed no cua_run_code. Add a second
provider row for @deepseek-ai/dsh-cua-windows, enabled on native Windows only, with the same fixed
screenshot target and PTC preset as the macOS row, and declare the package as an optional dependency
beside the macOS provider. The profile e2e fixture switches both native rows off. The no-provider
message names both platforms and points at the launcher's stderr.

README: Windows helper setup through the row's helperPath, with the fields a config override must
restate, and the Windows provider's limits that apply through MCP.

Not exercised on a Windows desktop. On macOS the row was forced on through a profile patch: the
Loader resolved the package, accepted the documented config, rejected an invalid one, and reached
the provider's own host check.
2026-11-11 14:02:22 +08:00
Yichen Jiang 69f53d442b test(cua-mcp): compare resolved working directories
The Windows coverage job failed on the new working-directory assertion: realpath expands the
runner's 8.3 short temporary path (RUNNER~1) while the program's process.cwd() keeps the spelling
it was started with. Both sides are now resolved before comparison in the composition test and in
the profile end-to-end test; macOS still needs the resolution because its temporary directory is a
symlink. The parsed window id is annotated as the string it has been since window ids became strings.
2026-11-11 13:37:36 +08:00
Yichen Jiang b2e064fecb Merge remote-tracking branch 'origin/master' into feat/cua-mcp
Conflicts: both sides added one adjacent entry (cua-mcp here, cua-windows on master) to
scripts/experimental-package-policy.ts, scripts/release/families.spec.ts, and tsconfig.host.json;
both entries are kept. Generated and recorded files take master's side and are regenerated: the
config catalog, the module graph, the package list, two pairing records, pnpm-lock.yaml, and the
creation-recommendations fixture.

Adaptations to master:
- @deepseek-ai/dsh-cua-mcp follows its release family to 0.2.2-rc.2.
- Window ids are strings: this branch's fixture programs and assertions pass "7".
- The retained program environment is a scoped REPL, in which a later call may declare an earlier
  name again: cua_reset no longer names declaration conflicts as its use, and the cua-mcp README
  and Agent Note state the registration's current description length.
- The cua-mcp README names the Windows provider, which this profile does not mount.
- The profile's expected reference and tool list are re-recorded.
2026-11-11 13:13:22 +08:00
Yichen Jiang d429d1b00d fix(forge-session): 关联 PTC 程序内 shell 调用操作的 PR
PTC 程序内的工具调用只写 tool/ptc-dispatch-start / tool/ptc-dispatch
事件,不写 tool/call / tool/result,因此 forgeChangeRequests 投影看不到
程序内的 gh pr create/view/edit/checkout 与 git push;reference-lookup
又跳过带 parent 的嵌套调用。

- 投影折叠 bash / pwsh 的 tool/ptc-dispatch 事件,复用直接调用的绑定
  与推送规则;stateVersion 3 -> 4,旧检查点重新折叠。
- 服务对 tool/ptc-dispatch 事件触发推送发现并刷新监听方。
- 嵌套调用的不带主机数字引用排队到外层根调用结算后查询,
  使用原调用的 shell 执行环境,随根调用取消。
- 单测、Loader 真实 PTC 组合测试与 Web e2e 覆盖 PTC 路径。

Fixes #8290
2026-11-11 13:05:51 +08:00
Yichen Jiang 3a0779f905 feat(cua-mcp): serve the API reference through cua_get_api_reference and give programs a workspace
- Add the read-only cua_get_api_reference tool. It returns the provider's cua guidance for the
  connection's Agent and keeps no state. The reference no longer rides on the first program result
  of each environment: the server cannot observe a new conversation on a held connection, a
  cancelled or failed first call, or a compacted context, and the delivery flag had two writers
  without a common ordering point.
- Create the connection's Agent in a dedicated workspace: DSH_CUA_WORKSPACE, or cua-mcp/workspace
  under the Harness home. An Agent's working directory is the workspace-write root of its programs,
  so the directory a client launched the server from, which can be /, is no longer writable.
- Report startup failures on stderr and exit with code 1, including a relative workspace path and a
  workspace directory that cannot be created. The profile mounts no log sink.
- Run each program call as the Agent's maintenance activity, so Agent disposal cancels an in-flight
  call and waits for it and its nested calls to settle before the Session closes.
- Return a failed call's message without DSH's "Error: " prefix; isError already marks it.
2026-11-11 12:52:59 +08:00
LegGasai 1685f46873 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	packages/web/web/package.json
#	scripts/plugin-entry-existing-exports.ts
2026-11-11 12:52:40 +08:00
Yichen Jiang 8c192ad810 Merge pull request #8228 from deepseek-harness/feat/forge-extension-api
feat(forge): open change request review to plugins with lenses, line annotations, and slots
2026-11-11 12:07:19 +08:00
sjw1231 32bbcb9997 Merge remote-tracking branch 'origin/master' into claude/tool-errors-mcp-f5e887
# Conflicts:
#	docs/module-graph.md
#	docs/module-graph.zh.md
#	packages/core/tool-executor-ptc/README.i18n.yaml
#	packages/core/tool-executor-ptc/src/errors.ts
#	packages/core/tool-executor-ptc/src/ptc.ts
#	packages/ptc-runtime/ptc-runtime-node/src/bindings.ts
#	packages/ptc-runtime/ptc-runtime-node/src/execution.ts
#	packages/ptc-runtime/ptc-runtime-node/src/index.ts
#	packages/ptc-runtime/ptc-runtime/package.json
#	packages/ptc-runtime/ptc-runtime/tsconfig.json
#	packages/util/atomic-write/package.json
#	pnpm-lock.yaml
2026-11-11 11:48:52 +08:00
creatixchu e7950b0ca8 Align the macOS Computer Use provider package and entry names 2026-11-11 11:43:44 +08:00
imccyu 4e205cd66d Merge release/dsh-0.2.2 (0.2.2-rc.2) into master
# Conflicts:
#	packages/experimental/cua-bundle/package.json
#	packages/ptc-runtime/ptc-runtime-node/package.json
2026-11-11 10:34:31 +08:00
imccyu 91319233e1 release(dsh): 0.2.2-rc.2 2026-11-11 10:18:52 +08:00
imccyu 378efd8556 Merge pull request #8265 from deepseek-harness/saafo/duo-text-autosizing
🐛 Prevent automatic text enlargement on mobile Safari
2026-11-11 10:14:58 +08:00
Saafo 01ad3f8b68 🐛 Preserve authored text sizes on mobile Safari 2026-11-11 09:56:15 +08:00
Turtle e19c7f1a02 Merge pull request #8225 from deepseek-harness/turtle/add-desktop-ua-suffix-e911e659413d
feat(llm): report the booted profile in the provider User-Agent
2026-11-11 09:51:11 +08:00
Turtle ce6ab42635 Merge pull request #8225 from deepseek-harness/turtle/add-desktop-ua-suffix-e911e659413d
feat(llm): report the booted profile in the provider User-Agent
2026-11-11 09:28:02 +08:00
creatixchu 73303a3a01 test(web): prevent automatic paging before the turn navigation jump 2026-11-10 22:39:43 +08:00
creatixchu 2deb3189c6 Merge master and adapt scoped CUA replay to string window IDs 2026-11-10 22:38:49 +08:00
imccyu 37e0924f68 Merge pull request #8257 from deepseek-harness/ptc-scoped-repl-switch
feat(ptc): run the scoped REPL by default for persistent-in-memory execution
2026-11-10 22:34:59 +08:00
creatixchu c30a94a0c4 fix(cua): declare PID selectors, document Windows limits and check native PR builds 2026-11-10 21:41:16 +08:00
creatixchu 3b8c672e6f test(web): keep image history paging independent of pointer scrolling 2026-11-10 20:35:19 +08:00
LegGasai 7b03477365 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential 2026-11-10 20:00:23 +08:00