Commit Graph
21004 Commits
Author SHA1 Message Date
Xu Hanxiang 7355ddbb7d Merge pull request #8966 from deepseek-harness/feat/liveshare-share-reconnect
feat(liveshare): 限制断线重试并支持原链接立即重连
2026-11-25 07:07:23 +00:00
Turtle 81b1839aaa chore(sidechat): regenerate the client slot catalog 2026-11-25 14:44:50 +08:00
15a10f911c fix(sidechat): show the side tab's display title like the Session panel
The tab fell back to the title stored at creation, which kept its creation
locale and differed from the Session panel's display title for an untitled
child. It now reads the Session list's display title and falls back to the
localized type title.

Co-authored-by: Kexin Liu <69756503+liukx0205@users.noreply.github.com>
Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>
2026-11-25 14:44:50 +08:00
Turtle 59e3f8fd3a fix(sidechat): mark the side tab as a sidebar chat and address review findings
Mark the tab root with data-sidebar-chat so main-composer selectors exclude it,
drop the tab type's ineffective multiple and builtin priority, guard the fork
refusal check against a missing RPC error, log a /side with no conversation on
screen, align the no-completed-turn notice with the fork shortcut wording, list
the package in the experimental table, and add a browser test.
2026-11-25 14:44:50 +08:00
Turtle df9dd87c0e refactor(sidechat): drop an unreachable disposal guard and reuse the bound translator
The /side command is removed before the control is disposed, so fork never
runs on a disposed control. The tab title reuses the bound translator.
2026-11-25 14:44:50 +08:00
liukx0205 1d916f72f6 feat(sidechat): fork /side at the latest completed Turn like the ordinary fork
/side omits the cut, so the Host selects the latest completed Turn as it
does for the ordinary fork; the Client no longer reads the event window. A
source without a completed Turn is refused by the Host and reported as
nothing to branch.
2026-11-25 14:44:50 +08:00
liukx0205 24c86d459f fix(sidechat): decline /side from a subagent conversation
A side forked from a subagent would inherit the delegated approval policy
and preset through the copied log without the delegation itself, and its
tab would open beside the parent conversation. The control reports that a
subagent conversation cannot start a side conversation instead of forking.

(cherry picked from commit 59a7c5fcc585b37c5c61123153d9bcf814064fee)

# Conflicts:
#	packages/experimental/client-ui-sidechat/README.i18n.yaml
#	packages/experimental/client-ui-sidechat/README.md
#	packages/experimental/client-ui-sidechat/README.zh.md
#	packages/experimental/client-ui-sidechat/src/client/control.ts
#	packages/experimental/client-ui-sidechat/tests/apply.client.spec.ts
#	packages/experimental/client-ui-sidechat/tests/control.client.spec.ts
2026-11-25 14:44:50 +08:00
liukx0205 33a1f7838e fix(sidechat): fork on every /side and accept a window with older pages
Drop the per-source in-flight guard: a second /side creates its own side
conversation instead of being swallowed. A window whose current page shows
no turn/start but has older pages lies inside a Turn, so it forks at its
newest durable event instead of reporting that there is nothing to branch.
Align the package version with the release after the master rebase.
2026-11-25 14:44:50 +08:00
liukx0205 f843b0ce85 fix(sidechat): require a started Turn before /side forks
A source whose loaded window holds no turn/start, including a blank Session
that only holds configuration events, reports that there is nothing to
branch instead of forking those events into an empty child. The cut stays
the newest durable event once the first Turn has started, as #8871 does
for the Sidebar fork.
2026-11-25 14:44:50 +08:00
liukx0205 e340e40c5b test(sidechat): cover the package and document it
Restore the unit tests for the control, resource provider, views and
plugin lifecycle, adapted to the /side command, so the per-file coverage
gate passes. Add the package README pair and its model-experience audit
entry for the README gates.
2026-11-25 14:44:50 +08:00
liukx0205 f47eedc58c fix(sidechat): retain the child with its conversation facet
The side tab retains its child with facets: { conversation: true }, so the
Chat folds the event window instead of publishing an empty snapshot that
hides both the inherited history and every later message.
2026-11-25 14:44:50 +08:00
liukx0205 656036e2c9 fix(sidechat): keep /side consumable and align with the release version
The command stays available so a typed /side never reaches the model as a
message; the control already declines a source with a fork in flight. The
/client entry re-exports its slot, resource and locale augmentations. The
side tab derives its phase from the retained Session's open state instead of
copying the subagent Sidebar's hero derivation. Drop the unconsumed task set
from the control. Match the root release version and list the package in the
release family.
2026-11-25 14:44:50 +08:00
liukx0205 e11fd0c567 feat(sidechat): fork /side at the newest event on screen
The omitted-atSeq fork defaults to the latest completed Turn, so /side
failed with session/fork-unavailable while the first Turn was still
streaming. Pass the newest durable event seq from the retained Client
window; the Host balances a cut inside an open Turn with synthetic
closers. Without a retained window the Host default still applies.
2026-11-25 14:44:50 +08:00
liukx0205 09a85dbac5 feat(web): optional side conversations in the right Sidebar
Add @deepseek-ai/dsh-client-ui-sidechat, an experimental Client plugin that
default profiles do not install. The /side command forks the conversation at
its latest completed Turn through the ordinary Session fork and opens the
child in the right Sidebar of the Session on screen, rendered through
conversation.content with a fixed embedded Chat view. The child is an
ordinary Session listed under Ungrouped; tabs are window-local and restore
from the saved Sidebar layout.
2026-11-25 14:44:50 +08:00
CreatixChu 70eff03284 Merge pull request #9173 from deepseek-harness/turtle/fix-git-add-slow-77485ec18f43
fix(workspace-changes): give up a git command after 3 s instead of 30 s
2026-11-25 14:08:34 +08:00
winewill aec47cad4f Merge pull request #9001 from deepseek-harness/turtle/fix-title-menu-dismiss-eb463486e617
fix(web): highlight a sidebar row only for a menu that row opened
2026-11-25 13:38:07 +08:00
Shigma 1e278067cc Merge pull request #9120 from deepseek-harness/fix/chat-block-spacing
fix(web): give message bubbles below process rows the block gap
2026-11-25 13:34:18 +08:00
Turtle 65ac3cfaf5 Merge pull request #9175 from deepseek-harness/turtle/revert-8674-29e8b8c91c40
revert: merge short SQLite frames inside the append transaction (#8674)
2026-11-25 13:24:36 +08:00
Ruilin Geng 1973f61547 Merge pull request #8938 from deepseek-harness/fix/mcp-session-expiry-recovery
fix(mcp-client): reconnect after the server forgets the Streamable HTTP session
2026-11-25 13:13:42 +08:00
TurtleandCreatixChu d6bb7edd5d docs(workspace-changes): re-record README translation pairing
Co-authored-by: CreatixChu <142372241+CreatixChu@users.noreply.github.com>
2026-11-25 13:02:28 +08:00
6fd18391a2 revert: merge short SQLite frames inside the append transaction (#8674)
This reverts merge commit 0a25695c87697f04af906a01e4c259048937d421.

Co-authored-by: Kexin Liu <69756503+liukx0205@users.noreply.github.com>
Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>
2026-11-25 12:58:09 +08:00
imccyu e46259e5cb Revert "fix(web): space consecutive Markdown images like paragraphs" 2026-11-25 12:57:38 +08:00
Turtle e029911eba Merge pull request #8520 from deepseek-harness/turtle/fix-image-margin-7d168ef652f5
fix(web): space consecutive Markdown images like paragraphs
2026-11-25 12:47:01 +08:00
TurtleandCreatixChu 2b1d214907 docs(workspace-changes): drop inaccurate tool wait bound
Co-authored-by: CreatixChu <142372241+CreatixChu@users.noreply.github.com>
2026-11-25 12:42:09 +08:00
TurtleandCreatixChu 07cc469c10 fix(workspace-changes): give up a git command after 3 s instead of 30 s
Co-authored-by: CreatixChu <142372241+CreatixChu@users.noreply.github.com>
2026-11-25 12:39:56 +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 0583056ecf Merge pull request #9164 from deepseek-harness/fix/source-qr-login
fix(remote-connection): restore QR sign-in on source launches
2026-11-25 11:59:24 +08:00
Turtle 4d9935b5bc Merge pull request #7960 from deepseek-harness/turtle/plugin-refresh-progress-12b7cea43c60
feat(plugin-manager): show refresh progress beside the Refresh button
2026-11-25 11:43:51 +08:00
EricMoin 7ab433338c fix(remote-connection): redeem QR logins on source launches 2026-11-25 11:43:32 +08:00
Turtle 8641460aa3 Merge pull request #8639 from deepseek-harness/turtle/plugin-update-builds-86f822edb704
fix(plugin-manager): allow blocked build scripts when updating a plugin
2026-11-25 11:33:33 +08:00
Turtle 3f69e246c1 feat(plugin-manager): count refresh checks on the Refresh button 2026-11-25 11:26:12 +08:00
Turtle 29d2f63066 fix(plugin-manager): wait for a running check and announce refresh progress
A refresh now waits for a version check another action started, reuses
the existing list-reading text, and marks the toolbar note as a status.
2026-11-25 11:26:09 +08:00
Turtle 882f93a09a feat(plugin-manager): show refresh progress beside the Refresh button
A manual refresh now names its step in the toolbar note: loading the
plugin list, then checking for updates with the current and total count.
2026-11-25 11:26:07 +08:00
imccyu a937361bb8 refactor(ui-renderer): keep whole-viewport selection local 2026-11-25 02:55:58 +08:00
imccyu 1f1590430e refactor(ui-renderer): bind document hooks to the application mount 2026-11-25 02:55:56 +08:00
imccyu b6fb171069 feat(ui-responsive): add document portal and viewport hooks 2026-11-25 02:54:28 +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 2fc9df3000 Merge pull request #8803 from deepseek-harness/client-isolation-switch
feat(client): run opt-in package scripts in dedicated iframe Realms
2026-11-25 00:29:12 +08:00
TurtleandYifffan 8d867d8020 fix(web): keep hard breaks and narrow columns in Markdown image rows
Co-authored-by: Yifffan <133629972+Yifffan@users.noreply.github.com>
2026-11-25 00:16:47 +08:00
TurtleandYifffan cd1cc61042 fix(web): space consecutive Markdown images like paragraphs
Co-authored-by: Yifffan <133629972+Yifffan@users.noreply.github.com>
2026-11-25 00:16:38 +08:00
imccyu 18bc130853 revert(web): restore full URLs for pull and merge request links (#8423)
This reverts commit af6d659de2858d7760acdd680d942166724ffaed, the merge of
#8423.

A bare github.com pull request or gitlab.com merge request URL streamed in
as its full URL and shrank to its owner/name#N reference only when the
reply settled, so the reply reflowed after it finished. The URL arrives
character by character, so the reference cannot be drawn before the URL is
complete. Links keep their written text again, and the Open in code review
URL menu entry, the forgePanel.recognize Remote, and the generic URL menu
adjustments that shipped with it leave with the revert.
2026-11-24 23:06:16 +08:00
Ruilin Geng 857aad48ea Merge pull request #9118 from deepseek-harness/fix/connector-titles-linear-icon
fix(connector): 连接器名称去掉“插件”二字,Linear 图标改用白色圆底上的官方标志
2026-11-24 23:03:28 +08:00
imccyu e020f1e180 refactor(client-modules): install the Realm registry from its plugin
Let the optional script-realm service install itself on the active page loader. Keep Main independent of Cordis and detach the registry without disturbing resident package windows.
2026-11-24 21:35:27 +08:00
imccyu 3bb1b55790 refactor(client-modules): keep one iframe per resident package
Keep script placement independent of artifact revisions. Rebuilds and lazy chunks execute in the same package window; evict it only when the module graph releases the package or the page closes.
2026-11-24 21:35:26 +08:00
imccyu b9d469efc2 refactor(client-modules): choose script placement when a package loads
Stop observing the isolation option on the Host and on every incoming graph. Record the execution environment with a registered generation so its lazy chunks use the same carrier. Keep the existing Realm provider boot sequence.
2026-11-24 21:35:25 +08:00
imccyu c813f27703 refactor(client-modules): pin script Realm placement until page reload
Let ordinary revision-based replacements retain every materialized generation until its runtime releases it. Drop unused iframe candidates and stop fetching a removed package instead of creating a new orphaned Realm.
2026-11-24 21:34:47 +08:00
imccyu 86fa13e2d8 docs(client): clarify when startup waits for Realm providers 2026-11-24 21:34:46 +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
imccyu 1c3c02b9b6 fix(app-boot)!: load bundle plugin rows from the packages their bundles select (#9038)
* fix(app-boot)!: load bundle plugin rows from the packages their bundles select

The root config tree imports every row from the profile directory. A copy of
a built-in plugin package that a third-party plugin pins is hoisted into
<profile>/node_modules, where it replaced the package of the row that
@deepseek-ai/dsh-base inserts under the same name. The compatibility
admission then disabled that row and DSH started without its services.

createRuntimeResolution now reads the bundle layers in order and records, for
each plugin package name they insert as rows, the package in the nearest
node_modules above the inserting bundle; a bundle installed in the profile
looks no higher than the profile directory. A request whose importer is the
active profile directory itself uses that package before any copy in the
profile; every other importer keeps its lookup. A later bundle that finds
another copy adds a warning and does not change the selection. publish()
compares the selections, so a successor that differs only there is published.

A package installed into a profile no longer replaces the package of a row
that a bundle inserts; the upgrade guide describes the patch that does.

Refs #8476

* test(app-boot): expect the bundle plugin warning to name native real paths

The warning reports directories as the native real path spells them. On
Windows that expands 8.3 short names, which the JavaScript realpath keeps, so
the expected text differed under a short-named temporary directory.

Refs #8476

* fix(app-boot): select shipped peers and preset rows for bundle plugins

A bundle that declares a row's package under peerDependencies selects the
package the running installation ships, so a development bundle linked into
a profile keeps running its row from the host's package, as its own imports
do. Any other row still selects the nearest package above its bundle.

The rows an inserted row lists under config.plugins, as an agent preset
does, count as rows of the bundle that inserts it. A pinned copy in the
profile therefore no longer disables a row of a built-in preset.

Each package name is looked up once per bundle.

* fix(app-boot): bind bundle plugin rows to the bundle that declares them

A plugin row now resolves from the first bundle that inserts it and
declares the package under dependencies or optionalDependencies. The
resolution stores the package name and the bundle directory only: binding
reads one manifest per bundle and looks no package up. A request for a
bound name from the profile directory resolves again as an import of that
bundle does, from the real path of the bundle's manifest, so a source
launch keeps mapping workspace packages to their sources.

A row whose bundle declares the package as a peer, as a development
dependency, or not at all is not bound and keeps the lookup of the profile
directory. A bound row does not fall back to that lookup.

Two bundles that bind one name and reach different copies add a warning;
only such names are resolved while binding.

* fix(app-boot): read the rows of a group named without the group marker

The group plugin mounts its array configuration as rows whether or not the
row carries the `group` marker, and the compatibility admission already
visits those rows. Binding now reads them too, for `cordis:group` and
`@deepseek-ai/cordis-plugin-group`, so a bundle's row inside such a group
resolves from that bundle.

* perf(app-boot): compare bundle plugin copies only for differing ranges

Two bundles that bind one plugin package name and declare the same range
for it are taken to reach the same copy, so binding no longer resolves the
package from both. Only bundles whose declared ranges differ are compared
on disk and can record a warning. The shipped `web` profile, whose two
bundles insert 22 rows of the same names, now reads two manifests while
binding instead of making 90 file-system calls.

* feat(app-boot): print bundle plugin warnings when dsh starts a profile

`reportBundlePluginWarnings` prints each recorded warning to stderr, as
`reportSkippedBundles` does for skipped bundles, and the `dsh` launcher
calls it once after it computes the runtime resolution. A resolution
recomputed while the application runs still only records its warnings.
2026-11-24 21:14:36 +08:00