Commit Graph
29515 Commits
Author SHA1 Message Date
Yif 38e5df82ea fix(client): place link opening before shortcuts 2026-11-24 01:46:28 +08:00
Yif 39b877a981 fix(client): show update channel before current version 2026-11-24 01:46:28 +08:00
Yif ae2f8f51f1 fix(client): finalize chat order and sentence-case upload label 2026-11-24 01:46:28 +08:00
Yif c4597118ee refactor(client): align chat preferences and recommendation order 2026-11-24 01:46:28 +08:00
Yif a69c4efd26 feat(client): group general settings and expose group slots 2026-11-24 01:46:28 +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
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
sjw1231 ce2eb02c66 Merge remote-tracking branch 'origin/master' into ci/sdk-desktop-context-parity 2026-11-23 17:27:00 +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
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
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 e995f24c38 Merge pull request #8703 from deepseek-harness/feat/sandbox-policy-git
feat(sandbox-policy-git): grant a linked worktree's Git directory to the Session that works in it
2026-11-23 16:43:47 +08:00
CreatixChu 7255725f49 Merge pull request #8987 from deepseek-harness/feat/cua-default-mode-picker
refactor(cua): 从自动电脑操作详情页移除会话模式设置
2026-11-23 16:40:43 +08:00
LegGasai 3731cd9319 test(workspace-files): cover directory link cycles in listing and search
A link cycle lists again at each level until the platform refuses the
path, a link that leads back into the workspace is named by its resolved
position, and search finishes without entering a link. The READMEs and
the decision record state that link cycles are not detected.

Refs #8895
2026-11-23 16:32:39 +08:00
LegGasai fcc03abc9f Merge remote-tracking branch 'origin/master' into feat/sandbox-policy-git 2026-11-23 16:29:45 +08:00