Commit Graph
6153 Commits
Author SHA1 Message Date
Turtle 373769c622 Merge pull request #9168 from deepseek-harness/turtle/add-preview-fixture-rule-578e68ea890f
docs(agents): require PR preview showcase to show changed rendering
2026-11-25 12:58:00 +08:00
Turtle 2ee08e0abd docs(agents): move preview showcase rule to root AGENTS.md
Refs #9167
2026-11-25 12:35:06 +08:00
LegGasai 3fef3cd8bc Merge pull request #9116 from deepseek-harness/fix/npm-zod-single-install
fix(deps): install one zod copy from npm
2026-11-25 12:29:11 +08:00
LegGasai cc2d601b8b fix(deps): keep the exact zod pin
Review asked to keep zod pinned instead of loosening it to ~4.6.6, so every installation runs the reviewed version.

- The 106 manifests return to exact 4.6.6, as on master.
- dsh-connector-feishu moves from ^4.4.3 to 4.6.6.
- dsh-acp, dsh-subagent-acp, dsh-experimental-subagent-oar and dsh-session-snapshot pin zod 4.6.6, so npm places that version before the ACP SDK's zod peer can hoist a newer one.

The layout gate and its messages name the pin instead of a range.

Refs #7501
2026-11-25 12:16:22 +08:00
imccyu 1f1590430e refactor(ui-renderer): bind document hooks to the application mount 2026-11-25 02:55:56 +08:00
imccyu 897ab671f6 feat(ui-renderer): scope opted-in package styles on existing slot roots (#9033)
* feat(ui-renderer): scope opted-in package styles on existing slot roots

Share the package style policy between slot dispatch and stylesheet installation. Preserve global themes, root identity and component state through style-only toggles, including nested Factory, HOC and list output.

* fix(dev-web): keep launcher validation independent of package sources

* refactor(ui-renderer): identify generated scope CSS as stylesheet content

* fix(client): keep panel indicators visible under style isolation

Position a shared indicator area on the Session panel toggle. Jobs, Subagents, and Forge paint their own marks without crossing package scopes.

* refactor(ui-renderer): fix each package style scope for the page

Stamp the content supplier on existing slot roots. Read its page-owned mode when registering content and writing stylesheets instead of subscribing the render tree to live policy changes.

* fix(ui-renderer): keep scoped styles with their actual package

Resolve Loader aliases against the page module table and stamp contributions from the renderer’s own module source. Let a valid package stylesheet take over a path rejected during scope preflight or by the destination.

* fix(client-modules): declare the row callback receiver-free

* refactor(ui-renderer): scope styles from their module records

* test(ui-renderer): verify module-record style scoping

* chore(ui-renderer): restore scoped slots to the PR base

* fix(ui-renderer): mark slot roots with their supplying module

* refactor(ui-renderer): bind Factory child slots once per supplier

An outlet belongs to whoever called renderSlot for it, wherever it later
renders. A Factory's child-slot methods are now kept per Factory and per
supplier: the Factory itself for its own Component and fallback locals,
the occurrence's caller for a local it selected. One caller mounting its
local in several places shares one method, and no per-mount binding or
extra occurrence context field remains.

* refactor(ui-renderer): scan a Factory's chain children once

Whether a Factory declares a chain child is recorded once per Factory
beside its per-supplier child-slot methods, instead of once per
supplier. The Factory kit assigns `renderSlot` and `renderSlotChain`
by name rather than copying whichever keys the methods object holds.

* test(client-runtime): expect data-plugin on the mounted slot root

The slot outlet names its supplier on the existing root; the test runtime registers without a package, so the two DOM snapshots gain data-plugin="".

* test(web): launch the panel indicator scenario per isolation mode

The Host reads an entry's client isolation when its plugin starts, so
updating that field on a running entry never reached the boot graph and
the scenario waited forever. Each mode now starts its own Host: the
shipped composition, and one whose overlay declares style isolation for
the panel and the two packages drawing on its toggle. Both check the
boot graph first, then run the same interaction and indicator
assertions.
2026-11-25 02:52:49 +08:00
imccyu f5d022c58e feat(client): run script-isolated package bundles in iframe Realms
Publish the unstable per-entry script switch in the Host boot graph and keep opted-in bundles out of the Main Realm batches. Activate the Realm providers before isolated code, reuse a frame across its package-local chunks, and release it on replacement or teardown. Dev Web can opt entries in through a transient final overlay.

Refs #8131
2026-11-24 21:33:52 +08:00
Turtle cdbfa8bb1c Merge pull request #6542 from deepseek-harness/plugin-filter-all-locales
feat(web): add plugin references and cross-language plugin filtering
2026-11-24 20:11:33 +08:00
LegGasai dfe4bfa821 fix(deps): declare zod wherever a dependency requires it as a peer
dsh-subagent-acp, dsh-experimental-subagent-oar and dsh-session-snapshot depend on @agentclientprotocol/sdk, which requires zod as a peer, without declaring zod. Installed alone they resolve one zod today, but where npm places an unprovided peer depends on the order it processes the tree.

- The three packages declare zod with the range other DSH packages use.
- verify-npm-install-layout reads every DSH manifest and rejects a package whose dependency requires zod as a peer while the package declares none, so the rule also holds outside the @deepseek-ai/dsh graph.

Refs #7501
2026-11-24 18:45:47 +08:00
LegGasai 7230977ac0 fix(deps): install one zod copy from npm
npm installs of @deepseek-ai/dsh nested one zod 4.6.6 copy in about 80 DSH packages (548-629 MB). @agentclientprotocol/sdk requires zod as a peer and dsh-acp did not declare zod, so npm hoisted the newest release for that peer before it reached any package that pins 4.6.6.

- dsh-acp declares zod, so npm places the DSH range before the peer.
- Workspace zod declarations move from exact 4.6.6 to ~4.6.6, the range Issue #7501 names. The Stagehand adapter keeps exact 4.6.6 because Stagehand 4.4.0 pins that version and receives the adapter's schemas. The lockfile still resolves one zod@4.6.6.
- verify-npm-install-layout resolves one release against an index that also holds a zod release one minor above the installed one and rejects any zod installation other than node_modules/zod.

Refs #7501
2026-11-24 18:26:44 +08:00
LegGasai f75c2333c3 Merge remote-tracking branch 'origin/master' into feat/llm-pi-ai-deployment-provider-rows
# Conflicts:
#	docs/capability-seams.i18n.yaml
2026-11-24 17:43:42 +08:00
LegGasai 68f4a5a911 Merge pull request #9052 from deepseek-harness/worktree/wizardly-shirley-53d903
feat(read-aloud): read replies aloud with segment-paced synthesis
2026-11-24 17:29:33 +08:00
Turtle 689c8619fe Merge pull request #9102 from deepseek-harness/turtle/web-prompt-snapshot-c3d1a7662d3a
ci(preview): show the Web blank-Session catalog on the snapshot diff page
2026-11-24 17:10:35 +08:00
imccyu 8eb8ed7678 Merge pull request #9074 from deepseek-harness/page-input-hooks
feat(client): add ui-responsive standard props for media queries and mobile devices
2026-11-24 16:56:31 +08:00
Turtle 52ae8dc6cd ci(preview): show the Web blank-Session catalog on the snapshot diff page
Refs #9101
2026-11-24 16:43:25 +08:00
Shigma 17ed03bbfb Merge pull request #9089 from deepseek-harness/refactor/vendor-im-layout
refactor(vendor): move the IM packages under vendor/im and classify local modifications
2026-11-24 16:09:19 +08:00
Shigma e6e9b5dc87 fix(vendor): drop the redundant nested tree list and document both vendor trees 2026-11-24 15:54:40 +08:00
Shigma f34ba82f3f fix(vendor): cover vendor/im in the remaining package discovery and docs 2026-11-24 15:34:08 +08:00
Dudu-0223 43aa93ed54 Merge pull request #9006 from deepseek-harness/feat/subagent-model-activation
feat(subagent): select local child models through maintenance restoration
2026-11-24 15:15:35 +08:00
Shigma 56a26edd29 refactor(vendor): move the IM packages under vendor/im and classify local modifications 2026-11-24 15:15:17 +08:00
Shigma e7a4e5eece Merge pull request #9078 from deepseek-harness/chore/vendor-http-1.6.0
chore(cordis): sync vendored http to @cordisjs/http 1.6.0
2026-11-24 15:12:11 +08:00
Shigma e3e6d7dcd3 test(cordis): drop the upstream http name from the spec summary 2026-11-24 14:58:08 +08:00
Dudu-0223 04a735f556 feat(subagent): persist model choices outside descriptors 2026-11-24 14:49:02 +08:00
LegGasai 72ad2d1d63 feat(llm-pi-ai): leave the Models page and settings as they are for provider rows
The previous commit marked a provider row that a later layer decides as
managed: the configuration editor reported which rows a home patch or
overlay decides, settings and its Remote controller carried that to the
page, and the Models page showed such a row with a tag and a read-only
card.

The page already handles a provider row without any of that. It lists the
row's route, offers no deletion for it, and opens it with its card for a
form it has no layout for, which names the row's section of the patch file
and takes no input; the configuration editor already refuses a write to a
row that a home patch or overlay adds. So the configuration editor,
settings, its Remote controller, and the Models page go back to what they
were, and the change is confined to the adapter package.

The Web test now describes the unchanged page beside a deployment's rows,
and the adapter's test helper stores the profile patch itself instead of
through a parameter added to the settings test helper.
2026-11-24 14:41:37 +08:00
LegGasai 56a4108722 feat(llm-pi-ai): add provider rows for routes that another layer supplies
A patch that sets the config of the llm-pi-ai row replaces the `providers`
dict of the layers before it. A deployment's home patch and the profile
patch that the Models page writes therefore cannot both configure
providers: the home patch's dict replaces the person's, and the
configuration editor refuses every later save of that row.

A layer that adds a provider now writes a row of
`@deepseek-ai/dsh-llm-pi-ai/provider`, whose config is the route key and
the profile fields of a dict entry. The adapter row serves those rows
together with its dict. Of the declarations that name one route, the one
that comes last in the composed entry list is in effect, and the dict
takes the position of the adapter's row. The dict, stored profile patches
and the Models page's writes are unchanged.

The configuration editor reports whether a home patch or an overlay
decides the config a row runs with (`managed`), settings forwards it with
the row's plugin name on each descriptor and namespace view, and the
Models page shows a managed provider row with a tag and a card whose
controls are disabled.
2026-11-24 14:41:37 +08:00
Shigma 3cb1933c85 chore(cordis): sync vendored http to @cordisjs/http 1.6.0 2026-11-24 14:25:19 +08:00
LegGasai 8430c2d939 feat(read-aloud): choose the voice and hear a sample in the bundle details
Providers list their voices and the synthesis registry saves one voice
preference in its profile entry, as voice input saves its language. The
read-aloud Remote reports the voices, saves a choice, fixes the voice of a
reading when its plan is made, and speaks a Host-owned sample sentence.

The bundle details gain a voice field and a speaker that plays the sample
with the three states of the read control. The DeepSeek provider's own
voice key moves to the registry. The details text lists the supported
languages; the API detects the language itself and accepts no choice.
2026-11-24 14:24:12 +08:00
LegGasai 0826753829 feat(read-aloud): read replies aloud with segment-paced synthesis
Add five experimental packages: the text-to-speech registry, the DeepSeek
cloud synthesizer, the read-aloud Remote that plans segments and streams
their audio, the Client action and notice, and the optional bundle, titled
语音朗读 in Chinese.

A reply is cut into segments of about thirty seconds. Each segment is one
request to /v1/tools/tts, sent only when at most fifteen seconds of the
received audio is unplayed, so stopping a reading leaves the later
segments unsent and unbilled.

The Host reduces the reply's Markdown to speech text itself and finds
formulas by their dollar delimiters; the math syntax packages are left out
because they install KaTeX into the runtime. The build embeds the Markdown
parser, whose installed browser build reads document inside a Web Worker
Host.
2026-11-24 14:24:12 +08:00
yudshj 22ce7e423e test(python): align packaged Office skill snapshots with the shipped description 2026-11-24 13:28:19 +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 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
Ruilin Geng 6423b8d39a Merge pull request #7692 from deepseek-harness/feat/connectors-hub
feat(connectors): 新增实验性“连接器”标签页,在插件页列出并安装官方连接器
2026-11-24 13:05:01 +08:00
Turtle 9cc2df524f Merge remote-tracking branch 'origin/master' into turtle/fix-conflict-6542-b5f7dd515337
# Conflicts:
#	docs/persistence-catalog.i18n.yaml
#	docs/persistence-catalog.md
#	docs/persistence-catalog.zh.md
#	docs/persistence-changes/historical-formats/README.i18n.yaml
#	docs/persistence-changes/historical-formats/README.md
#	docs/persistence-changes/historical-formats/README.zh.md
#	docs/persistence-schema.json
2026-11-24 12:47:27 +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
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