Commit Graph
2104 Commits
Author SHA1 Message Date
yudshj b86e7bf3b7 test(snapshot): align recorded skill text and shipped tool catalogs with the document names
Replay the skill description the Office skill now ships, assert the renamed tools in the SDK and Web profile catalogs, and keep the shipped tool order alphabetical.
2026-11-24 13:17:06 +08:00
yudshj 284670f1eb refactor(office): rename the Office tools to document_*
Rename dsh-tool-office to dsh-tool-document and office_render/convert/recalculate to document_*, keep the old names readable for pre-rename Sessions, and fix the Poppler page-count forgery, per-run pdfinfo, and real-Poppler test provider reported in review.

Refs #9015
2026-11-24 13:17:05 +08:00
gengruilin 4955f3a631 refactor(client-ui-connectors): rename the Connectors tab package
`packages/experimental/connectors` (`@deepseek-ai/dsh-connectors`)
becomes `packages/experimental/client-ui-connectors`
(`@deepseek-ai/dsh-client-ui-connectors`), the name form of the Client
UI packages, and its bundle patch row takes the id
`client-ui-connectors`. The name entered in Plugins → Add plugin changes
with it. The tab's slot id, its locale namespace, and the displayed
title stay `connectors` and "Connectors".

The optional and experimental bundle lists, the `apps/cli` dependency,
the Client aggregate, the explicit path aliases, the two gate
registrations, the release family expectation, the recorded
`creation-recommendations` session, the Web e2e cases, the READMEs, and
the Agent Note name the new package. The generated catalogs, the
translation pairings, and the lockfile are regenerated.
2026-11-19 21:02:50 +08:00
gengruilin d2059d2c7a refactor(connectors): fold the Connectors bundle and its tab into one package
`packages/experimental/connectors` (`@deepseek-ai/dsh-connectors`) replaces `connectors-bundle` and `client-ui-connectors`. Its bundle patch inserts the package's own row; the Host entry is an empty plugin and the browser entry registers the tab. The package is an ordinary Client plugin with one tsconfig, registered in the root Client aggregate, and its name is recorded in `EXPERIMENTAL_PACKAGE_NAME_EXCEPTIONS`.

The optional and experimental bundle lists, the slot catalog, the release family expectation, the README model-experience allowlist, the generated catalogs, and the Web e2e cases name the new package. The stand-in connectors of the Connectors tab e2e carry a patch row and an empty entry module, because the workspace's connector package of the same name now resolves first as the bundle layer and imports the profile's copy. A unit test calls the Host entry.
2026-11-19 14:38:53 +08:00
gengruilin 0ade56dc91 feat(connectors): add the experimental Connectors tab
The default-off Connectors bundle adds a Connectors tab to the Plugins page.
The tab lists the official connectors in CONNECTOR_BUNDLES with their titles
and descriptions, installs a missing one at the running DSH version through
the page's install dialog, and opens an installed one's page.

The package's Host entry provides the connectors service while the bundle is
enabled. A connector row that declares inject: [connectors] stays pending
without it, so switching the bundle off stops every connector and switching
it on resumes them, without changing each connector's own enabled state.

The bundle joins OPTIONAL_BUNDLES and EXPERIMENTAL_BUNDLES, so the Plugins
page lists one more official card and the personalized-pages skill catalog
gains its entry; the plugin manager goldens and the creation-recommendations
replay are refreshed accordingly.
2026-11-03 01:26:36 +08:00
Jiawei Song 11af1f910b Merge pull request #8565 from deepseek-harness/ci/sdk-desktop-context-parity
ci(sdk): compare the SDK profile and Desktop standard preset model context
2026-11-23 19:15:30 +08:00
fz 9133e31a29 Merge pull request #8965 from deepseek-harness/fix/cli-version-natural-exit
fix(cli): exit naturally instead of calling process.exit on CLI completion
2026-11-23 18:06:16 +08:00
sjw1231 cfda9eed61 Merge remote-tracking branch 'origin/master' into ci/sdk-desktop-context-parity
# Conflicts:
#	.agents/notes/implemented/feature/2026-10-29-shipped-fs-mutation-defaults.i18n.yaml
#	.agents/notes/implemented/feature/2026-10-29-shipped-fs-mutation-defaults.md
#	.agents/notes/implemented/feature/2026-10-29-shipped-fs-mutation-defaults.zh.md
2026-11-23 17:54:49 +08:00
Jiawei Song 7c6e48035c Merge pull request #8994 from deepseek-harness/feat/re-enable-apply-patch
feat(fs): default apply_patch to the edit switch in every shipped composition
2026-11-23 17:45:33 +08:00
sjw1231 ea1f4521e8 test(sdk): record the agent preset registry row as an intended difference
#8981 adds the registry to dsh-base switched off; Desktop enables it to
select each Session agent's preset, while the SDK composes its agent rows
directly.
2026-11-23 17:31:05 +08:00
sjw1231 ce2eb02c66 Merge remote-tracking branch 'origin/master' into ci/sdk-desktop-context-parity 2026-11-23 17:27:00 +08:00
sjw1231 f2a4386601 test(sdk): carry a preset group's disabled state to its members
The agent row comparison flattened cordis:group rows without their
disabled field, so the members of a disabled group still read as
enabled. Combine the group's value into each member: a disabled group
disables every member, and an expression is recorded beside the
member's own value.
2026-11-23 17:02:59 +08:00
sjw1231 3d2dae07f0 test(sdk): compare the order of the first request's sequences
Prompt sections, runtime context entries and injected messages were
keyed by name, so a reordering on one side passed although the model
reads different text. Compare the relative order of the entries both
sides share in each sequence, and of the tools, as an order layer.
2026-11-23 16:54:45 +08:00
Dudu-0223 02282f5d8d fix(headless): 保留 preset 配置,修复会话恢复和子代理轮次清理 (#8981)
* fix(headless): preserve preset selection and release closed turn state

* fix(agent-presets): report invalid preset selections and keep stored headers

Validate only agent-preset/selected records in the agentPreset projection and name the event sequence in the failure. The state and view schemas accept every header value the Session validator admits, so an empty stored header no longer fails restoration.

* fix(agent-presets): keep trusting logged preset selections

Restore the agentPreset projection, its tests, and the Agent Note consequence to their master state. Writers record non-empty preset IDs only, and Session format admission owns payload validation for stored events, so the projection does not re-validate the typed event payload.
2026-11-23 16:53:18 +08:00
sjw1231 4aff040ac3 test(sdk): compare SDK rows outside the Desktop preset against Desktop host rows
The agent row comparison only read the rows the Desktop standard preset
declares, so an SDK row outside the preset was never compared. Compare
such a row with the Desktop host row of the same id, report an enabled
SDK row that neither side declares, and record the existing differences:
the primary runtime rows, HMR, the title request and the SDK transport.
Unevaluated !!js nodes compare as their source text.
2026-11-23 16:51:20 +08:00
fz ece60ba9c7 fix(cli): drain event loop instead of calling process.exit on CLI completion 2026-11-23 15:32:34 +08:00
imccyu 0f6b7f2449 refactor(cordis): register Host inspect providers in cordis-host-runner
The first-party Host inspect providers (Service, Event, Config, Runtime,
Tool) lived in a second plugin entry, `@deepseek-ai/dsh-tool-cordis/host`,
that every host composition had to mount once beside the runner. The
runner now registers them into its own inspection registry when it mounts,
mirroring the Client runner, and `tool-cordis` keeps a single entry that
registers `cordis_inspect` per preset.

- Move the providers, the live Config projection, and the generated Host
  API catalog into `cordis-host-runner`; it gains the `dsh-app-boot` and
  Loader dependencies that `tool-cordis` drops.
- Remove the `./host` export, its locale files, and the
  `cordis-inspect-providers` rows from the Web bundle and the snapshot
  compositions.
- Document the providers in the runner README and record the removed
  entry point in an upgrade guide.
2026-11-23 14:38:15 +08:00
sjw1231 20aa08ba0b test(sdk): drop the cordis_inspect parity exceptions that #8991 resolves
The SDK profile now composes runtime inspection as the Desktop standard
preset does, so its tool and agent row exceptions no longer match a
difference.
2026-11-23 14:37:25 +08:00
sjw1231 58fa14c6a8 Merge remote-tracking branch 'origin/master' into ci/sdk-desktop-context-parity
# Conflicts:
#	apps/cli/tests/profiles/sdk/desktop-tools.expected.e2e.ts
#	apps/cli/tests/profiles/sdk/tool-parity.ts
2026-11-23 14:34:39 +08:00
sjw1231 b383eb8c75 Merge remote-tracking branch 'origin/master' into feat/re-enable-apply-patch
# Conflicts:
#	docs/tool-catalog.i18n.yaml
#	snapshots/sdk/legacy-context.patch.yml
2026-11-23 14:18:06 +08:00
sjw1231 e0c79d0cd1 feat(fs): default apply_patch to the edit switch
tool-fs.applyPatch no longer defaults to false: an explicit resolve step
takes the resolved edit value when a row leaves applyPatch unset. Agent
presets list complete plugin declarations with no shared parent, so this
decides the default in one place instead of on every shipped row; the
dsh-base row and the Web/Desktop standard, ptc, and cordis presets drop
their applyPatch lines, while the minimal preset and sdk-minimal keep the
tool off through edit: false. An explicit applyPatch still wins in both
directions.

The tool-fs unit tests cover the derived default and both overrides; the
read/write/edit guidance tests pin applyPatch: false because they assert
the three-tool text. subagent-agent-preset and the headless owner-local
expectations, whose tool-fs rows enable edit without applyPatch, are
refreshed and gain only the apply_patch section. The Agent Notes, tool-fs
README, tool and config catalogs, and the upgrade guide describe the
derived default and its effect on third-party tool-fs rows.
2026-11-23 13:54:01 +08:00
sjw1231 0168b0f88d feat(sdk): expose cordis_inspect in the SDK profile
Mount the Cordis inspection registry, the Host inspect providers, and the
`cordis_inspect` tool in the sdk-app bundle so the SDK model receives the
same runtime inspection tool as the Desktop standard and Creator presets.
The SDK serves no browser, so its directory lists Host providers only.

Remove the standard-mode parity exception, record the SDK-only PTC
difference, keep pre-desktop SDK and Python compositions pinned, refresh
the affected SDK snapshots, and document the change.
2026-11-23 13:39:06 +08:00
sjw1231 ed03eb53eb feat(fs): enable apply_patch in the ptc and cordis presets and the PTC overlay
The Web/Desktop ptc and cordis presets state applyPatch: true, and the
shipped PTC overlay no longer overrides the dsh-base tool-fs row, so every
shipped coding composition offers apply_patch beside edit: as a JSON tool
under native execution and as a run_code binding under PTC. The SDK and
Desktop PTC tool sets stay equal.

The SDK keyless smoke expects the apply_patch binding under the PTC
overlay, and the Web preset e2e asserts apply_patch in the cordis tool set
and the ptc run_code bindings. The shipped filesystem mutation defaults
Agent Note, the tool-fs README, and the tool catalog describe the new
defaults, and an upgrade guide records the change for 0.2.3-alpha.2.
2026-11-23 13:32:34 +08:00
sjw1231 01138b2ce0 fix(fs): re-enable apply_patch in dsh-base and the standard preset
Revert the temporary shipped default from #7698: the dsh-base tool-fs row
and the Web/Desktop standard preset state applyPatch: true again, matching
the shipped filesystem mutation defaults Agent Note, the tool-fs README,
and the tool catalog, which kept describing the enabled default.

The recording and test pins that held applyPatch: true while the default
was off are removed, since the default now supplies the same tool set; the
default tool lists in the SDK smoke and Web composition tests list
apply_patch again. team-default-enabled, recorded while the default was
off, is refreshed and gains only the apply_patch schema and guidance.
2026-11-23 13:32:22 +08:00
creatixchu d0c15ee785 docs(cua): keep shared show guidance scoped to app and window 2026-11-22 18:29:38 +08:00
creatixchu eed0c0db8a fix(cua-macos): restore minimized windows and hand keyboard focus back 2026-11-22 18:29:36 +08:00
creatixchu 71593137e9 docs(cua): keep platform-specific show behavior in macOS guidance 2026-11-22 18:29:32 +08:00
creatixchu 82337e9b79 fix(cua-macos): preserve keyboard focus on show 2026-11-22 18:29:15 +08:00
fz 6c448d39ff docs(cli): describe the completed version invocation 2026-11-22 18:21:09 +08:00
creatixchu c5d5bdf2ea Merge remote-tracking branch 'origin/master' into feat/cua-ax-show-diff 2026-11-22 17:51:10 +08:00
fz c8f38d5b5e fix(cli): exit naturally after printing the version 2026-11-22 17:45:45 +08:00
Huo Yaoyuan 14677d27f7 feat(cua): align application discovery and add app.launch (#8913)
* refactor(cua): unify application discovery records and identities

* feat(cua-windows): implement application search

* Remove sentinel PID and check

* feat(cua): list all applications for empty discovery queries

* getState should use findApps

* Update guidance

* Use neutral accessibility terminology

* Update tests

* Add app.launch

* Update README

* fix(cua): resolve typed lint errors in tests

* Align getState with previous behavior

* Update findApps on Windows to return installed only

* Remove PID tracking

* Remove redundant PID usage

* Update launch behavior

* Fix comment

* Update app identity guidance
2026-11-22 17:33:33 +08:00
imccyu 267805d20d release(dsh): 0.2.3-alpha.2 2026-11-22 15:27:28 +08:00
imccyu 09d9609a28 Merge pull request #8837 from deepseek-harness/chore/node-24-22-3-floor
chore(deps): raise the Node.js floor to 24.22.3
2026-11-22 11:23:51 +08:00
imccyu aae91d692e release(dsh): 0.2.3-alpha.1 2026-11-21 18:29:41 +08:00
yudshj b864a0b6fa refactor(office): office 技能正文内联精简指导,删除三个格式文件
格式指引以分步流程、库的选择、停止规则和示例为主,约束了模型自己的做法。
office 正文改为只写模型无法自行得知的 DSH 事实(工具下一步可用、缺失时重新
加载、内置 pypdf、旧格式先转换)和会悄悄丢数据的坑(run 格式、东亚字体、
文本框溢出、公式结果、DataFrame 覆盖工作簿),删除 docx.md、pptx.md、
xlsx.md,provider 也不再检查它们。

整份指导随 skill 结果到达,不再需要额外的 read,也不依赖会话文件系统能否
读到 Host 路径。真实模型 e2e 去掉依赖旧指引的过程断言,保留结果校验和显式
渲染意图;Office 场景删去读格式文件的步骤,office-skills-no-renderer 用真实
模型重录。README、升级指南和 Agent Note 同步更新。
2026-11-20 23:29:08 +08:00
yudshj 7f8e3720b8 feat(office): Office 技能目录只保留 office,格式指导改为按需读取的资源文件
docx、pptx、xlsx 的指导从独立技能移到 office 技能目录下的 docx.md、
pptx.md、xlsx.md,模型加载 office 后用 read 按需读取;tool-office 的
activationSkills 默认值改为 office。
2026-11-20 23:27:24 +08:00
Dudu-0223 d0be6ccd9d fix(recommendations): scope Creator skills and enable the SDK catalog 2026-11-20 21:31:56 +08:00
ZiyaZhangandDudu-0223 3259436cb1 feat(web): ship personalized recommendations by default
Mount the recommendation plugins in Web and Desktop and expose their skill
switch in General settings. Record card decisions as Session events and
replay decisions from older plugin records. Use English for the two skill
catalogs and retire the optional recommendations bundle.

Co-authored-by: Dudu-0223 <fsyo0223@gmail.com>
2026-11-20 21:31:55 +08:00
creatixchu ab4cfd8dd7 Refresh CUA replay outputs for the merged system input protocol 2026-11-20 18:35:19 +08:00
creatixchu 97ddb7e5be Merge master and track system keyboard holds alongside mouse input 2026-11-20 18:34:57 +08:00
sjw1231 88074595f2 test(sdk): match JSON-escaped paths and code-unit tool order in the parity observer
Replace the JSON string escapes of the fixture directories too, because
runtime context quotes the working directory with JSON.stringify, which
doubles Windows backslashes. Sort observed tools in code-unit order, the
order the test sorts request tool names in. Update the shipped fs mutation
defaults note, which still described a PTC tool set comparison.
2026-11-20 17:16:42 +08:00
creatixchu 89743cd2a1 Merge remote-tracking branch 'origin/master' into feat/cua-ax-show-diff
# Conflicts:
#	packages/experimental/cua-macos/README.i18n.yaml
#	packages/experimental/cua-macos/native/README.i18n.yaml
#	packages/experimental/cua-macos/src/guidance.ts
#	packages/experimental/cua-windows/README.i18n.yaml
#	packages/experimental/cua/README.i18n.yaml
#	packages/experimental/cua/tests/api.spec.ts
2026-11-20 16:55:58 +08:00
sjw1231 7a4e99f81d Merge remote-tracking branch 'origin/master' into pr-8832-narrow 2026-11-20 16:24:05 +08:00
sjw1231 b67be0905d revert(sdk): keep the workflow tool in the PTC executor overlay
The SDK PTC overlay is not shipped with @deepseek-ai/dsh and training
flips only the executor rows, so disabling workflow there would not
align any consumer. Restore the overlay, its docs, the keyless smoke
assertions, and the workflow parity exception, and drop the upgrade
guide that described the removal.
2026-11-20 15:26:32 +08:00
sjw1231 f30cc23eb2 test(sdk): compare only the native SDK profile with the Desktop standard preset
Drop the PTC comparison and its dependence on the example PTC overlay,
and with it the per-mode exception field. Compare runtime context values
and the other messages injected into the first request, after replacing
test paths and clock readings and running both sides in UTC, with the
Desktop user message reporting that zone as the GUI client does.
2026-11-20 15:22:49 +08:00
sjw1231 97e3dbcd9b Merge remote-tracking branch 'origin/master' into ci/sdk-desktop-context-parity 2026-11-20 15:14:53 +08:00
creatixchu 6eb6625063 Merge master and align scoped CUA replays with system input 2026-11-20 10:43:24 +08:00
imccyu 9fae65aeea test(ptc): name the Node PTC execution mode in tests and add scoped REPL counterparts 2026-11-20 00:27:32 +08:00
creatixchu f8334a2caf Merge master and refresh the CUA persistence acknowledgements 2026-11-19 21:35:26 +08:00