Commit Graph
6093 Commits
Author SHA1 Message Date
_Kerman 085b5cbe11 Merge pull request #9040 from deepseek-harness/turtle/wrap-time-context-a5c9580e13f4
fix(time-context): wrap the time reading in <system-reminder>
2026-11-24 12:13:54 +08:00
LegGasai d96a7026c9 feat(ci): check whitespace in each pull request's changes (#9049)
* feat(ci): check whitespace in each pull request's changes

The static lane runs the pre-commit hook's git diff --check over the range
from the merge base with the base branch to the pull request head, before
dependencies are installed. Base-branch commits merged into the pull request
are outside that range.

* test(ci): match the checkout step without an untyped asymmetric matcher

expect.stringMatching returns any, which the type-aware lint rejects as an
unsafe assignment inside the expected object.
2026-11-24 03:43:21 +00:00
Turtleandkermanx 1f44b874a4 fix(time-context): wrap the time reading in <system-reminder>
Fixes #9039

Co-authored-by: kermanx <63178754+kermanx@users.noreply.github.com>
2026-11-24 10:45:49 +08:00
Shigma 75f08dba22 Merge pull request #6291 from deepseek-harness/feat/im-automation
feat(im): add experimental IM automation
2026-11-24 01:19:13 +08:00
imccyu 76afdbefc8 Merge pull request #9031 from deepseek-harness/list-all-children-study
feat(ui-renderer)!: expose a DOM root for each rendered list item
2026-11-24 00:35:17 +08:00
imccyu 22cc784439 feat(ui-renderer)!: expose a DOM root for each rendered list item
Group each selected list registration under one layout-neutral item, including a fixed only selection. Preserve registration identity and distinguish an empty component from a missing row. Adapt the affected panel, settings and toolbar consumers without changing other slot kinds.

BREAKING CHANGE: CSS selectors and DOM queries that cross a rendered list entry must account for its data-slot-item root.
2026-11-23 23:57:08 +08:00
imccyu ba5795bad8 perf(ci): stop verify-package-dependencies from re-running the type check
The gate only needs the generated typert.host.js text to count runtime
imports, but it built WorkspaceTypertGenerator without options, so the
default checkDiagnostics pass created one TypeScript program per
contributor package and ran semantic diagnostics over each. That was
most of the gate's 252 s.

The build plugin and every other generator call site already leave
diagnostics to the repository typecheck, which covers scripts/**/*.ts
through tsconfig.host.json.

Refs #9030
2026-11-23 23:56:51 +08:00
Shigma 675efe39eb Merge remote-tracking branch 'origin/master' into feat/im-automation
# Conflicts:
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
#	docs/module-graph.md
#	docs/module-graph.zh.md
#	docs/subsystems/filesystem.i18n.yaml
#	docs/subsystems/filesystem.md
#	docs/subsystems/filesystem.zh.md
#	docs/tool-catalog.i18n.yaml
#	packages/experimental/README.i18n.yaml
#	packages/extensions/cordis-host-runner/src/api-catalog.ts
#	packages/fs/fs-local/src/index.ts
#	packages/fs/fs-local/tests/filesystem.spec.ts
#	packages/fs/fs-sandbox/tests/fs-sandbox.spec.ts
#	packages/fs/fs/README.i18n.yaml
#	packages/fs/fs/README.md
#	packages/fs/fs/README.zh.md
#	packages/fs/fs/src/index.ts
#	packages/fs/fs/src/types.ts
#	packages/preset/agent-preset/skills/dsh-doc/references/packages.md
#	packages/ssh/fs-ssh/README.i18n.yaml
#	packages/ssh/fs-ssh/README.md
#	packages/ssh/fs-ssh/README.zh.md
#	packages/ssh/fs-ssh/src/index.ts
#	packages/ssh/fs-ssh/tests/provider.spec.ts
#	packages/ssh/ssh/src/helper.ts
#	packages/ssh/ssh/src/schemas.ts
#	packages/ssh/ssh/tests/helper-runtime.spec.ts
#	scripts/experimental-package-policy.ts
2026-11-23 23:33:33 +08:00
Shigma 0808eb8248 feat(fs): write exact bytes through the filesystem seam 2026-11-23 22:39:20 +08:00
imccyu 8cf079a9bd feat(ui-renderer)!: expose rendered Factory and local replacement roots
Mark the output of registered Factories and explicitly selected local components. Keep missing-definition fallbacks and default local content unwrapped. Select div or span at the definition, and keep existing menus, navigation, and scroll behavior across these roots.

BREAKING CHANGE: DOM queries and CSS that cross a rendered Factory or an explicitly replaced local position must account for its display: contents element.
2026-11-23 22:01:40 +08:00
imccyu 36b5d06fbb Merge pull request #9009 from deepseek-harness/test/bench-phase-retry
ci(bench): re-run a failed benchmark phase once
2026-11-23 20:11:16 +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 beb365a3be docs(fs): name the shipped presets that offer apply_patch in the tool catalog
The tool catalog note again names the Web standard, ptc, and cordis
presets beside the edit-derived default. rescope-vendor lists the catalog
and its generator as files that carry the `cordis` agent-preset id, and
its product-identifier test failed once the note stopped naming it.
2026-11-23 17:26:36 +08:00
LegGasai fcc03abc9f Merge remote-tracking branch 'origin/master' into feat/sandbox-policy-git 2026-11-23 16:29:45 +08:00
LegGasai 99a5edebdd Merge remote-tracking branch 'origin/master' into feat/sandbox-policy-git 2026-11-23 16:27:39 +08:00
LegGasai da9cfe2287 Merge pull request #8934 from deepseek-harness/feat/forge-review-activity
feat(forge): edit hosts, list GitLab merge requests for review, and add activity, comments, and auto-merge
2026-11-23 16:25:00 +08:00
MicroBlock e94f6b9c9e Merge remote-tracking branch 'origin/master' into feat/im-automation 2026-11-23 15:34:33 +08:00
LegGasai 240a73c3ee Merge remote-tracking branch 'origin/master' into feat/forge-review-activity 2026-11-23 15:31:21 +08:00
LegGasai 0bae2bafb9 Merge commit '7a52e43675aac1473790dc5c6c96ea12605753c7' into worktree/asr-transcribe-api-649cb4 2026-11-23 15:30:17 +08:00
LegGasai a81cb51dc0 fix(voice-input): register the cloud provider and recalibrate the npm layout budget
The release family test lists every published experimental package; add
dsh-speech-to-text-deepseek. The new package and its edges push the
dual-release npm graph to 341 packages x 3332 internal edges, above the
1,134,400-unit budget, so raise MAX_RESOLUTION_WORK_UNITS to 1,420,265
(1.25x the measured 1,136,212 units) and record the new timings in the
Agent Note.

The voice bundle summary now names cloud recognition, which the recorded
plugin and recommendation catalogs repeat; update those recordings, their
expected output, and the browser assertion.

Refs #8059
2026-11-23 15:04:05 +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 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
LegGasai 4c448ec8c3 Merge remote-tracking branch 'origin/master' into feat/forge-review-activity 2026-11-23 14:17:45 +08:00
sjw1231 5f20c2f19d fix(sdk): let the Python advanced patch reuse the bundle's Cordis rows
The sdk-app bundle now mounts cordis-host-runner and tool-cordis, so the
Python smoke's advanced patch no longer inserts its own copies. The
composition keeps one row per id and the recorded tool set unchanged.

The upgrade guide also names the rows that remove the inspection services
along with the tool.
2026-11-23 13:54:23 +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
LegGasai e69c67eeed Merge remote-tracking branch 'origin/master' into feat/forge-review-activity 2026-11-23 13:52:43 +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
LegGasai 6fe50791ed Merge commit '1cfc9279aa1dd58d953f00132914ca2bcd41b968' into feat/sandbox-policy-git
# Conflicts:
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
#	docs/module-graph.md
#	docs/module-graph.zh.md
#	packages/experimental/README.i18n.yaml
#	packages/preset/agent-preset/skills/dsh-doc/references/packages.md
2026-11-23 13:23:47 +08:00
LegGasai a480ce65c0 Merge commit 'd37a3dda9b7c3739cc69870c29ab356a97625650' into worktree/asr-transcribe-api-649cb4
# Conflicts:
#	packages/experimental/voice-input-bundle/package.json
2026-11-23 13:13:03 +08:00
imccyu 689b8cd418 Merge pull request #8915 from deepseek-harness/session/fold-run-results-on-commit
refactor(subagent,headless): replace Session event-array reads with per-event folds and a projection
2026-11-22 23:07:42 +08:00
LegGasai 00deef7873 Merge commit 'b4b75a83899c1d5ff1a3b60404c3f5f7424a3f77' into worktree/asr-transcribe-api-649cb4
# Conflicts:
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	docs/module-graph.md
#	docs/module-graph.zh.md
#	docs/subsystems/credentials.md
#	docs/subsystems/credentials.zh.md
#	packages/account/deepseek-account/README.i18n.yaml
#	packages/account/deepseek-account/README.md
#	packages/account/deepseek-account/README.zh.md
#	packages/client/ui-settings-account/README.i18n.yaml
#	packages/client/ui-settings-account/src/client/index.ts
#	packages/client/ui-settings-account/tests/access-revocation.client.spec.ts
#	packages/experimental/client-ui-voice-input/README.i18n.yaml
#	packages/experimental/client-ui-voice-input/src/client/VoiceSetupDialog.tsx
#	packages/experimental/voice-input-bundle/package.json
#	packages/extensions/tool-cordis/src/api-catalog.ts
#	packages/web/web-search-deepseek/README.i18n.yaml
#	packages/web/web-search-deepseek/README.md
#	packages/web/web-search-deepseek/README.zh.md
#	scripts/experimental-package-policy.ts
2026-11-22 12:27:17 +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
LegGasai dc4883ea65 Merge remote-tracking branch 'origin/master' into feat/forge-review-activity
# Conflicts:
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
2026-11-21 14:57:27 +08:00
yudshj d417b2a430 test(snapshots): 同步 master 后重新生成单 Office 入口的目录录制
master 新增的推荐技能(official-plugins、personalized-pages)改动了同一份
技能目录。rebase 时冲突的 SDK 与单文件 exe 录制取 master 版本,再把其中
四条 Office 目录项替换为单条 office;manual-compact 记录的压缩 token 估算
随目录长度变化,用 keyless refresh 重新计算。
2026-11-20 23:50:06 +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
MicroBlock b73ac58149 Merge remote-tracking branch 'origin/master' into feat/im-automation 2026-11-20 22:35:07 +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 97ddb7e5be Merge master and track system keyboard holds alongside mouse input 2026-11-20 18:34:57 +08:00
EricMoin c50abb6f2f fix(ui-conversation): preserve composer bar props for existing plugins 2026-11-20 16:41:36 +08:00
LegGasai 292efc07ff Merge remote-tracking branch 'origin/master' into feat/forge-review-activity 2026-11-20 16:18:05 +08:00
imccyu c0a05ff31e ci: rebuild the benchmark native addon when the restored one does not load
node-24-build can run on the self-hosted pool while the benchmarks stay on
hosted Linux; the phase jobs now load the restored Node-API addon and rebuild
it on their runner if it fails. The report spec cleans its directories with
onTestFinished, which also removes a clone the duplication gate reported.
2026-11-20 15:46:59 +08:00
imccyu 0394e32ce6 ci: run the benchmark phases in parallel on the shared build and render one report
node-24-bench becomes a two-entry matrix that restores the node-24-build
output, bundles only the benchmark workers, and runs one suite phase per idle
runner: phase first holds the corpus cases and phase last the serial files
listed in SERIAL_BENCH_FILES. Each phase uploads its results.jsonl and the
measuring environment; node-24-bench-report renders one benchmark-report on a
small runner under Node type stripping and stays out of all-checks-passed.
2026-11-20 15:23:15 +08:00
LegGasai 8541804c62 Merge commit '2be782f485ee233d3f6db0d397458ee9a8d5539d' into feat/sandbox-policy-git 2026-11-20 13:53:05 +08:00
imccyu f5dc990da8 ci: split coverage across two file shards and merge on a small report job (#8868)
* ci: split coverage across two file shards and merge on a small report job

Coverage runs as a three-lane matrix: two instrumented file shards that deal
path-sorted test files in snake order (DSH_COVERAGE_SHARD) and the
uninstrumented heavy suites. Each shard uploads its blobs, file list, and
durations; node-24-coverage-report re-lists the inventory, checks the shards
partition it, merges the blobs with thresholds on a 2-vCPU runner, and alone
saves the duration history. Only the report job joins all-checks-passed.

* ci: run the coverage heavy suites on the first shard and split shards by file size

The exempt heavy suites finished in about a minute on a dedicated 16-vCPU
runner, so they join shard 1 with the coverage lane's usual worker split.
Shards now deal files largest first by byte size instead of by path order,
so the heaviest suites no longer land on one shard. The coordinator repeats
each failed partition and its Vitest FAIL lines after all partitions finish,
and run-gates.spec clears DSH_COVERAGE_SHARD inherited from the CI shard.

* ci: give the coverage merge a 4 GB heap on the small report runner

Merging both shards' blobs exhausted Node's default heap of about 2 GB on
the 2-vCPU report runner (run 44664262449).

* ci: merge coverage shards on an 8-vCPU runner

The merge took 154s on the 2-vCPU report runner against ~30s on the former
16-vCPU lane (run 44667701311).

* ci: address review on the coverage shards

- Shards record their checkout root, and the merge rewrites that prefix in
  blobs from another checkout so one source file never merges as two.
- Shard blob uploads overwrite on a re-run of the same workflow run.
- The coverage report lane joins the runner-temp and compile-cache lane
  lists in ci-workflow.spec.
- The failover runbook states the self-hosted shard and exempt workers.

* ci: address the second coverage-shard review and leftover lane cleanup

- The cross-checkout blob rewrite spec builds roots and paths with join(),
  so it holds on Windows, where the rewrite prefix ends in a backslash.
- The failover runbook names the current coverage, build, consumer, and web
  snapshot checks instead of the former single-job names.
- node-24-build and node-24-consumers drop env variables that none of their
  gates read.
2026-11-20 13:03:57 +08:00
LegGasai e89dc1d564 Merge commit '1a451ffe2ed7774132e38e8c3e39e35b4e602450' into feat/sandbox-policy-git
# Conflicts:
#	packages/experimental/client-ui-forge/README.i18n.yaml
#	packages/experimental/worktree/README.i18n.yaml
#	packages/experimental/worktree/README.md
#	packages/experimental/worktree/README.zh.md
2026-11-20 12:46:59 +08:00
imccyu aa8c72d1d2 test(benchmarks): gate transcript restyles while the right Sidebar is dragged
Move the right Sidebar drag diagnostic into the required serial browser
benchmark inventory. It budgets the elements Chromium restyles during a
drag that leaves the content width unchanged, as a dimensionless multiple
of the page's elements, and replays recorded before/after samples as its
negative control. Also type the registered-property entries in the
end-reserve style test.

Refs #8856
2026-11-20 12:10:31 +08:00
imccyu 0ee562045e ci: build once and fan web snapshots out across weighted shards (#8861)
* ci: build once and fan web snapshots out across weighted shards

* ci: stamp restored build output with the extraction time

Build-time mtimes shifted past the clock made HMR treat freshly loaded
lib/ modules as changed and reload a plugin context while it was still
loading (plugin-manager-mcp headless snapshot).

* ci(web): run the longest web snapshot files as round-robin test slices

* ci: address review on the build-once fan-out
2026-11-20 12:09:36 +08:00