Commit Graph
29545 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 8909bf19fc refactor(office-kit): check PDF page limits after rendering
Drop the pdfinfo size precheck so a render starts one pdfinfo and one pdftoppm per run of consecutive pages, register the Office toolviews as literal keys so the client slot catalog lists every name, and align the Office notes with the document tool names.
2026-11-24 13:17:06 +08:00
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 2873dceba6 test(snapshot): refresh recorded sessions for the document tool names
Regenerate the office, sdk, and web snapshots on Linux for the renamed tools, including the recorded scripts and loader fixtures.
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 6af477e788 Merge pull request #8775 from deepseek-harness/revert-8771-fix/files-api-multipart-bytes
Revert "fix(llm): keep a cancelled Files upload from ending the runtime"
2026-11-24 11:16:19 +08: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
LegGasai 508e0029d8 test(llm): keep the Files upload cancel regression spec
The spec passes with the FormData upload on the supported Node.js range and
is the check that fails when a bundled undici reintroduces the unhandled
rejection.
2026-11-24 11:00:06 +08: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
LegGasai c6b24fee94 Merge remote-tracking branch 'origin/master' into revert-8771-fix/files-api-multipart-bytes 2026-11-24 10:57:30 +08: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
Shigma f3d9d454b5 test(im): cover reaction, drop, thread, and recovery branches and keep entry exports to types 2026-11-24 00:38:24 +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 0dbb76ef49 fix(ui-primitives): preserve menu groups across list registrations
Determine leading separators from registrations that render menu rows, not the position of an item wrapper. Cover live registration changes in the real More menu and link list item roots from the renderer package docs.
2026-11-24 00:22:22 +08:00
imccyu 59007058be Merge pull request #9032 from deepseek-harness/perf/verify-package-dependencies-skip-typecheck
perf(ci): reduce verify-package-dependencies typecheck
2026-11-24 00:04:55 +08:00
Shigma 7677a2161a chore(im): align experimental IM package versions with the 0.2.3-alpha.2 release 2026-11-24 00:02:43 +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 b66dcaf59a test(im): mount session projections for tool specs and satisfy lint rules 2026-11-23 23:39:13 +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 3e8f36b888 Merge pull request #9027 from deepseek-harness/feat/fs-write-bytes
feat(fs): write exact bytes through the filesystem seam
2026-11-23 23:19:50 +08:00
gengruilin c64b298196 feat(client-ui-connectors): switch installed connectors on the Connectors tab
An installed connector's row shows the Switch primitive in place of the
"Installed" and "Enabled" texts; the switch is on while the connector is
enabled. The tab's controller calls `pluginManager.setBundleEnabled`,
keeps the switch disabled through the read that follows the write, and
names the connector in one line under the heading when the Host refuses or
fails the change. The rest of the row still opens the connector's page,
and a missing connector keeps its Install button.

The dictionaries drop the two state entries and gain the failure line in
the eight shipped languages; the switch takes the connector's title as its
name. The tab's switch shows no account guidance or restart notice and
sends no `plugin_toggle` event: the README pair lists this as a
limitation, and the Agent Note states the row and the rejected
alternative as they now are.

The bundle preview draws switches in its four installed rows, and the unit
tests, the Web e2e, and its expected output follow the switch.
2026-11-23 23:06:50 +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 5ea2d61901 Merge pull request #9020 from deepseek-harness/feat/factory-content-roots
feat(ui-renderer)!: expose rendered Factory and local replacement roots
2026-11-23 22:14:51 +08:00
imccyu cb9a4a8a6d test(ui-renderer): cover Factory roots and document selector migration 2026-11-23 22:01:40 +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
imccyuanddsh-ci-bot eef35daa69 docs(agent-preset): keep the dsh-doc practices read within the pruner budget (#9013)
The progress-bar rule moved into `practices.md` by #8781 pushed a
whole-reference read past the `thresholdChars: 8192` that
`standard.patch.yml` configures for the tool-result pruner. At the
e2e's 256-character install-path allowance the read is pruned in the
middle, and `web-agent-presets.e2e.ts` fails its whole-reference
assertion.

Compress the rule to one line and drop the blank line the move
introduced. The deployment prune threshold and the e2e path allowance
stay as they are: the document is what exceeded its budget.

Co-authored-by: dsh-ci-bot <dsh-ci-bot@users.noreply.github.com>
2026-11-23 22:01:25 +08:00
涂轶翔 f9652b8b4f Merge pull request #8919 from deepseek-harness/feat/system-update-sections-ui
feat(client): present incremental system messages by section
2026-11-23 21:32:36 +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
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
Xu Hanxiang 3b1c29ece0 Merge pull request #8566 from deepseek-harness/feat/liveshare-browser-login
feat(liveshare): 属主统一通过浏览器授权,由宿主轮询取码
2026-11-23 19:55:17 +08:00
dsh-ci-bot 67cc466476 docs(agent-preset): keep the dsh-doc practices read within the pruner budget
The progress-bar rule moved into `practices.md` by #8781 pushed a
whole-reference read past the `thresholdChars: 8192` that
`standard.patch.yml` configures for the tool-result pruner. At the
e2e's 256-character install-path allowance the read is pruned in the
middle, and `web-agent-presets.e2e.ts` fails its whole-reference
assertion.

Compress the rule to one line and drop the blank line the move
introduced. The deployment prune threshold and the e2e path allowance
stay as they are: the document is what exceeded its budget.
2026-11-23 19:53:28 +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
Turtle b287998e9b Merge pull request #8781 from deepseek-harness/docs/plugin-progress-bars
docs: require progress bars for long-running plugin operations
2026-11-23 19:10:41 +08:00
Turtle e30b0919fd docs: place progress feedback in plugin UI practices 2026-11-23 19:09:14 +08: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
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 b8f78f12ed docs(notes): describe the current SDK/Desktop comparison in the apply_patch note
The comparison now covers the SDK profile and the Desktop standard
preset's first model request; PTC execution is no longer compared.
2026-11-23 18:01:02 +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
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 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