Commit Graph
9620 Commits
Author SHA1 Message Date
yudshj 5cb2df5be6 refactor(office-kit): drop redundant render guards
Let the Office kit trust the argument rules its model-facing tool already enforces, and stop validating PNG chunk structure the splitter inherently depends on.
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
yudshj b302da83c8 feat(office-kit): render PDFs with Poppler before LibreOffice
Add a renderer option to office_render and a per-type renderer order to the Office kit. PDFs use Poppler pdfinfo/pdftoppm through piped short-lived subprocesses when available, falling back to LibreOffice only when Poppler is unavailable.

Refs #9015
2026-11-24 13:17:05 +08:00
Ruilin Geng 6423b8d39a Merge pull request #7692 from deepseek-harness/feat/connectors-hub
feat(connectors): 新增实验性“连接器”标签页,在插件页列出并安装官方连接器
2026-11-24 13:05:01 +08:00
_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
LegGasai 18e5eaef80 Merge pull request #8423 from deepseek-harness/feat/forge-change-request-links
feat(web): show PR and MR links as references and open them in code review
2026-11-24 03:05:45 +00:00
Turtleandkermanx cfb4ba4236 docs(upgrade-guide): record the time-context reminder frame
Co-authored-by: kermanx <63178754+kermanx@users.noreply.github.com>
2026-11-24 10:57:46 +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 2cacb13ed9 Merge pull request #9029 from deepseek-harness/session/drop-time-context-feedback-sync-reads
refactor(time-context): read browser time zones only from the projection
2026-11-24 00:32:55 +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
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 4e4a0f1bc2 fix(fs): bound ssh byte writes before sending and drop the derived byte count 2026-11-23 22:59:33 +08:00
Shigma 0808eb8248 feat(fs): write exact bytes through the filesystem seam 2026-11-23 22:39:20 +08:00
imccyu f21039b254 refactor(time-context): read browser time zones only from the projection
The agent/pre-step listener now derives the browser time-zone context
from the timeContext projection's zones for the latest entered turn plus
the step's proposed messages on every request.

The removed fallback walked the Session log backward with the deprecated
eventAt reader when a pre-step named a turn other than the latest
entered one. The only production emitter, the agent-loop preStep,
always passes the open turn, whose turn/start it appends before the
turn's first step, so the fallback ran only for direct test dispatches.

Remove the unit test that dispatched a pre-step with no turn/start and
point the zone-reset test at the open turn. Drop the README limitation
that described the fallback, and regenerate the config catalog for the
moved Config declaration line.
2026-11-23 22:34:41 +08:00
imccyu cb9a4a8a6d test(ui-renderer): cover Factory roots and document selector migration 2026-11-23 22:01:40 +08:00
Xu Hanxiang edc5a1e932 Merge pull request #8907 from deepseek-harness/feat/session-log-batch-records
feat(telemetry): report one Session-log record per delivery batch
2026-11-23 11:59:13 +00:00
07ad3a4dc5 perf(session): merge short SQLite frames inside the append transaction (#8674)
* perf(session): merge short SQLite frames inside the append transaction

Live writes store one to three events per frame, so compression barely
works. When the newest short frames of a Segment reach frameEvents events,
the append transaction re-encodes them as full frames. The frames_no_delete
trigger is dropped from the unreleased schema and from existing databases.

Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>
Co-authored-by: Kexin Liu <69756503+liukx0205@users.noreply.github.com>

* perf(session): read SQLite frame payloads only for a merge

Scan only frame ranges to decide whether the trailing short frames merge,
then read their payloads. Append decoded lines one by one so a large
frame size cannot exceed the argument limit.

Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>
Co-authored-by: Kexin Liu <69756503+liukx0205@users.noreply.github.com>

* perf(session): cap SQLite frame merges by decoded bytes

A merge skips a run of short frames whose stored or decoded text exceeds
4 MiB, bounding how long it holds the event loop and the write lock. Tests
cover merged compression, the live event path, a failure after the merge's
delete, and large events; a seeded synthetic diagnostic measures size and
append cost. Documentation drops the one-frame-per-write wording and lists
the write stop after short-frame corruption.

Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>
Co-authored-by: Kexin Liu <69756503+liukx0205@users.noreply.github.com>

* perf(session): store short SQLite frames uncompressed until merged

A short frame below min(64 KiB, 2 MiB / frameEvents) of JSON text is stored
as text; the merge compresses it together with its neighbours. This skips a
compression on every live append that the merge would redo, and keeps any run
of such frames within the 4 MiB merge limit.

Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>
Co-authored-by: Kexin Liu <69756503+liukx0205@users.noreply.github.com>

* perf(session): seal short SQLite frames when a writer closes

* test(session): assert the reported seal failure without an untyped matcher

---------

Co-authored-by: Turtle <turtle1999@deepseek.com>
Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>
Co-authored-by: Kexin Liu <69756503+liukx0205@users.noreply.github.com>
Co-authored-by: Magolor <magolor@qq.com>
2026-11-23 18:09:42 +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
imccyu 19be4e2e8b Merge pull request #8973 from deepseek-harness/feat/hoc-children-outlet
feat(ui-renderer)!: expose HOC children outlets
2026-11-23 17:32:57 +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
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
LegGasai 6cceb00ce3 Merge pull request #8897 from deepseek-harness/feat/workspace-directory-links-outside-root
feat(workspace-files): browse directory links that resolve outside the workspace
2026-11-23 16:47:03 +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
LegGasai 858efa428b Merge remote-tracking branch 'origin/master' into feat/workspace-directory-links-outside-root 2026-11-23 16:09:17 +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
imccyu 348558376c fix(ui-renderer): preserve the supplying slot across HOC forwarding
Bind each children outlet to the slot passing it to the layer. Key compiled HOC chains by the slot name as well as the declaration and dispatch key so distinct named slots can safely reuse one spec.
2026-11-23 15:14:27 +08:00
imccyu db80535277 feat(ui-renderer)!: expose HOC children outlets
Mark the exact position where each hoc layer renders its children without wrapping the layer itself. Preserve the sidebar rail animation through forwarded outlets.

BREAKING CHANGE: selectors and DOM traversal across a forwarding hoc layer must account for its named display: contents children outlet.
2026-11-23 15:14:24 +08:00
LegGasai 722f073cda docs(forge): add the upgrade guide for the review lists' repository host and sign-in command
`forgePanel.reviewLists` takes a repository with its host, and `ForgeReviewHost` gains the required `signIn`.
2026-11-23 15:13:39 +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
sjw1231 b682d28762 docs(fs): record apply_patch following edit in its own Agent Note
The shipped filesystem mutation defaults and apply patch file editing
notes keep their original decisions and alternatives and link the new
Apply patch follows edit note, which records the derived default, the
PTC and cordis presets offering the tool, the alternatives, and that the
PTC enablement rests on preset consistency rather than a benchmark run.

The upgrade guide no longer claims every shipped tool-fs row stated
applyPatch: false and no longer asks readers to find the derived value in
--dump-config, which renders only stated keys. Two subagent scenarios drop
an applyPatch: true pin that the derived default now supplies.
2026-11-23 14:38:44 +08:00
imccyu 49607d7838 docs(module-graph): regenerate for the cordis-host-runner app-boot edge 2026-11-23 14:38:15 +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
Shigma 21b0b03af3 Merge pull request #8964 from deepseek-harness/fix/stat-panel-scroll-anchor
fix(client): keep composer stat panels anchored while the transcript streams
2026-11-23 14:19:51 +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
Jiawei Song 32f0362ebd Merge pull request #8991 from deepseek-harness/fix/sdk-cordis-inspect
feat(sdk): SDK profile 提供 cordis_inspect 运行时检查工具
2026-11-23 14:10:22 +08:00
LegGasai 57add5ffc4 docs(forge): move the viewer list rows upgrade guide to v0.2.3-alpha.2
Master released 0.2.3-alpha.2, so a guide this branch adds belongs in that version's directory.
2026-11-23 14:10:22 +08:00
Ruilin Geng 3684679873 Merge pull request #8862 from deepseek-harness/feat/feishu-cli-download
feat(cli-account): prepare step for CLI and skills downloads
2026-11-23 14:05:55 +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
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